Set MASTER_SITES fetchable and correct reinplace command.

PR:	47650
Submitted by:	Simon 'portlint' Schubert<corecode@corecode.ath.cx>
This commit is contained in:
Kiriyama Kazuhiko 2003-05-08 05:08:06 +00:00
parent 7656cb1993
commit 87dbe4c336
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=80420
4 changed files with 12 additions and 9 deletions

View File

@ -8,13 +8,13 @@
PORTNAME= deepforest
PORTVERSION= 1.0a
CATEGORIES= ${CATEGORY_LIST}
MASTER_SITES= ${MASTER_SITE_LOCAL}
# http://www.aaa-int.or.jp/~jfactory/JDE/dist/
MASTER_SITE_SUBDIR= trevor
MASTER_SITES= http://www.aaa-int.or.jp/~jfactory/JDE/dist/ \
${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= . kiri
DISTNAME= DeepForest-${PORTVERSION}
EXTRACT_ONLY= # extracted directly in install target
MAINTAINER= kiri@pis.toba-cmt.ac.jp
MAINTAINER= kiri@FreeBSD.org
COMMENT= A simple compress utilty using on JDE
RUN_DEPENDS= ${RUN_DEP_LIST}
@ -23,7 +23,9 @@ LIB_DEPENDS= ${LIB_DEP_LIST}
NO_WRKSUBDIR= yes
NO_BUILD= yes
USE_X_PREFIX= yes
SCRIPTS_ENV= LANG=C LN=${LN} PERL=${PERL} LANGUAGE=${LANGUAGE} VERSION=${TKSTEPVERSION}
USE_REINPLACE= yes
SCRIPTS_ENV= LANG=C LN=${LN} REINPLACE_CMD="${REINPLACE_CMD}" \
LANGUAGE=${LANGUAGE} VERSION=${TKSTEPVERSION}
PLIST_SUB= PIXMAP_PATH=${PIXMAPPATH:S@^${PREFIX}/@@}
# This port is for both archivers/deepforest and japanese/deepforest.

View File

@ -4,4 +4,4 @@ Note that both converters/deepforest and japanese/deepforest are mutually
exclusive and SHOULD NOT BE INSTALLED SIMULTANEOUSLY!
-KIRIYAMA Kazuhiko
<kiri@pis.toba-cmt.ac.jp>
<kiri@FreeBSD.org>

View File

@ -14,3 +14,4 @@ bin/DeepForest.app
@dirrm JDE/DeepForest/docs/Japanese
@dirrm JDE/DeepForest/docs
@dirrm JDE/DeepForest
@unexec rmdir %D/JDE 2>/dev/null || true

View File

@ -3,9 +3,9 @@
case ${LANGUAGE} in
Japanese)
for f in DeepForest.app; do
${PERL} -pi -e '
s/^(exec[ \t]+)wishstep[^ \t]*([ \t]+.*)$/$1wishstep$ENV{VERSION}jp$2/
' ${PREFIX}/JDE/DeepForest/${f}
${REINPLACE_CMD} -E -e \
"s/^(exec[[:space:]]+)wishstep[^[:space:]]*([[:space:]]+.*)\$/\1wishstep${VERSION}jp\2/" \
${PREFIX}/JDE/DeepForest/${f}
done
;;
*)