View | Details | Raw Unified | Return to bug 47650
Collapse All | Expand All

(-)deepforest/Makefile (-1 / +3 lines)
Lines 22-28 Link Here
22
NO_WRKSUBDIR=	yes
22
NO_WRKSUBDIR=	yes
23
NO_BUILD=	yes
23
NO_BUILD=	yes
24
USE_X_PREFIX=	yes
24
USE_X_PREFIX=	yes
25
SCRIPTS_ENV=	LANG=C LN=${LN} PERL=${PERL} LANGUAGE=${LANGUAGE} VERSION=${TKSTEPVERSION}
25
USE_REINPLACE=	yes
26
SCRIPTS_ENV=	LANG=C LN=${LN} REINPLACE_CMD="${REINPLACE_CMD}" \
27
	     	LANGUAGE=${LANGUAGE} VERSION=${TKSTEPVERSION}
26
PLIST_SUB=	PIXMAP_PATH=${PIXMAPPATH:S@^${PREFIX}/@@}
28
PLIST_SUB=	PIXMAP_PATH=${PIXMAPPATH:S@^${PREFIX}/@@}
27
29
28
# This port is for both archivers/deepforest and japanese/deepforest.
30
# This port is for both archivers/deepforest and japanese/deepforest.
(-)deepforest/scripts/post-install (-3 / +3 lines)
Lines 3-11 Link Here
3
case ${LANGUAGE} in
3
case ${LANGUAGE} in
4
    Japanese)
4
    Japanese)
5
	for f in DeepForest.app; do
5
	for f in DeepForest.app; do
6
	    ${PERL} -pi -e '
6
	    ${REINPLACE_CMD} -E -e \
7
		s/^(exec[ \t]+)wishstep[^ \t]*([ \t]+.*)$/$1wishstep$ENV{VERSION}jp$2/
7
	    	"s/^(exec[[:space:]]+)wishstep[^[:space:]]*([[:space:]]+.*)\$/\1wishstep${VERSION}jp\2/" \
8
		' ${PREFIX}/JDE/DeepForest/${f}
8
		${PREFIX}/JDE/DeepForest/${f}
9
	done
9
	done
10
    ;;
10
    ;;
11
    *)
11
    *)

Return to bug 47650