a fix not to use X11BASE

PR: ports/16660
Submitted by: Maintainer
This commit is contained in:
Seiichirou Hiraoka 2000-02-12 16:31:49 +00:00
parent 7f2c2b559b
commit 525123f58d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=25691
4 changed files with 12 additions and 10 deletions

View File

@ -21,7 +21,7 @@ NO_BUILD= yes
ONLY_FOR_ARCHS= i386
PLIST_SUB= X11BASE="${X11BASE}" BINSTUFF="${BINSTUFF}"
PLIST_SUB= BINSTUFF="${BINSTUFF}"
WRKSRC= ${WRKDIR}/usr/local
@ -47,12 +47,13 @@ BINSTUFF= vje \
vjeacc
post-patch:
@cd ${WRKSRC}/vje30/bin && ${RM} swingall.jar *.orig
@cd ${WRKSRC}/vje30/bin && ${RM} swingall.jar
@find ${WRKSRC} -name '*.orig' -delete
do-install:
@cd ${WRKSRC} && tar cf - . | tar xf - -C ${PREFIX}
.for f in ${BINSTUFF}
@${LN} -fs ${PREFIX}/vje30/bin/$f ${X11BASE}/bin/$f
@${LN} -fs ${PREFIX}/vje30/bin/$f ${PREFIX}/bin/$f
.endfor
@${CHMOD} a+x ${PREFIX}/etc/rc.d/vje.sh
@${CHMOD} a+w ${PREFIX}/vje30/dic/vjed95m.dic

View File

@ -1,4 +1,4 @@
@unexec for f in %%BINSTUFF%%; do rm %%X11BASE%%/bin/$f; done
@unexec for f in %%BINSTUFF%%; do rm %D/bin/$f; done
etc/rc.d/vje.sh
etc/vje30/vje.cfg
vje30/acc/default.kig
@ -229,7 +229,7 @@ vje30/bin/vjeacc.jar
@dirrm vje30/env
@dirrm vje30/lib
@dirrm vje30
@exec for f in %%BINSTUFF%%; do ln -fs %D/vje30/bin/$f %%X11BASE%%/bin/$f; done
@exec for f in %%BINSTUFF%%; do ln -fs %D/vje30/bin/$f %D/bin/$f; done
@exec chmod a+w %D/vje30/dic/vjed95m.dic
@exec chmod a+x %D/etc/rc.d/vje.sh
@unexec cp -Pp /etc/services /etc/services.bak ; grep -vw '^vjed' /etc/services.bak > /etc/services

View File

@ -23,7 +23,7 @@ NO_PACKAGE= "You must purchase a licensed copy from VACS Corporation."
ONLY_FOR_ARCHS= i386
PLIST_SUB= X11BASE="${X11BASE}" BINSTUFF="${BINSTUFF}"
PLIST_SUB= BINSTUFF="${BINSTUFF}"
WRKSRC= ${WRKDIR}/usr/local
@ -68,12 +68,13 @@ post-extract:
@${RM} ${DISTDIR}/${DISTFILES}
post-patch:
@cd ${WRKSRC}/vje30/bin && ${RM} swingall.jar *.orig
@cd ${WRKSRC}/vje30/bin && ${RM} swingall.jar
@find ${WRKSRC} -name '*.orig' -delete
do-install:
@cd ${WRKSRC} && tar cf - . | tar xf - -C ${PREFIX}
.for f in ${BINSTUFF}
@${LN} -fs ${PREFIX}/vje30/bin/$f ${X11BASE}/bin/$f
@${LN} -fs ${PREFIX}/vje30/bin/$f ${PREFIX}/bin/$f
.endfor
@${CHMOD} a+x ${PREFIX}/etc/rc.d/vje.sh
@${CHMOD} a+w ${PREFIX}/vje30/dic/vjed95m.dic

View File

@ -1,4 +1,4 @@
@unexec for f in %%BINSTUFF%%; do rm %%X11BASE%%/bin/$f; done
@unexec for f in %%BINSTUFF%%; do rm %D/bin/$f; done
etc/rc.d/vje.sh
etc/vje30/vje.cfg
vje30/acc/default.kig
@ -236,7 +236,7 @@ vje30/bin/vjeacc.jar
@dirrm vje30/env
@dirrm vje30/lib
@dirrm vje30
@exec for f in %%BINSTUFF%%; do ln -fs %D/vje30/bin/$f %%X11BASE%%/bin/$f; done
@exec for f in %%BINSTUFF%%; do ln -fs %D/vje30/bin/$f %D/bin/$f; done
@exec chmod a+w %D/vje30/dic/vjed95m.dic
@exec chmod a+x %D/etc/rc.d/vje.sh
@unexec cp -Pp /etc/services /etc/services.bak ; grep -vw '^vjed' /etc/services.bak > /etc/services