summaryrefslogtreecommitdiffstats
path: root/japanese/vje30
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2000-07-05 16:24:22 +0000
committerknu <knu@FreeBSD.org>2000-07-05 16:24:22 +0000
commit23b60d60e5848444f3c972d1b9ddd3848b223b4a (patch)
treeb6887a0c30a65cbb6005fc856e88fca107f7c8fe /japanese/vje30
parent784f11d1ad95fb4bb27b4a8853f98b3c6ae1aa75 (diff)
downloadFreeBSD-ports-23b60d60e5848444f3c972d1b9ddd3848b223b4a.zip
FreeBSD-ports-23b60d60e5848444f3c972d1b9ddd3848b223b4a.tar.gz
Make applying the vendor's minor update optional, as the updated
version was found to be quite buggy and die too often. We'd rather take small memory leaks rather than frequent deaths. Sigh.
Diffstat (limited to 'japanese/vje30')
-rw-r--r--japanese/vje30/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/japanese/vje30/Makefile b/japanese/vje30/Makefile
index a46a590..002d688 100644
--- a/japanese/vje30/Makefile
+++ b/japanese/vje30/Makefile
@@ -42,7 +42,9 @@ DISTOBJFORMAT= ELF
.endif
MAINDIST= ${DISTNAME}${EXTRACT_SUFX}
-UPDATEDIST= update${EXTRACT_SUFX}
+.if defined(WITH_MINORUPDATE)
+ UPDATEDIST= update${EXTRACT_SUFX}
+.endif
BINSTUFF= vje \
vjed \
@@ -70,6 +72,9 @@ pre-fetch:
${ECHO} "*****************************************************************"; \
${FALSE} \
)
+.if !defined(WITH_MINORUPDATE)
+ @${ECHO} "If you dare apply the buggy minor update from the vendor, define \"WITH_MINORUPDATE\"."
+.endif
post-extract:
@${RM} ${_DISTDIR}/${MAINDIST}
@@ -77,7 +82,9 @@ post-extract:
post-patch:
@cd ${WRKSRC}/vje30/bin && ${RM} swingall.jar
@find ${WRKSRC} -name '*.orig' -delete
+.if defined(WITH_MINORUPDATE)
@${MV} ${WRKDIR}/vje ${WRKSRC}/vje30/bin/
+.endif
do-install:
@cd ${WRKSRC} && tar cf - . | tar xf - -C ${PREFIX}
@@ -87,9 +94,11 @@ do-install:
@${CHMOD} a+x ${PREFIX}/etc/rc.d/vje.sh
@${CHMOD} a+w ${PREFIX}/vje30/dic/vjed95m.dic
@[ X${PREFIX} = X"/usr/local" ] || (${LN} -s ${PREFIX}/vje30 /usr/local/; ${LN} -s ${PREFIX}/etc/vje30 /usr/local/etc/)
+.if defined(WITH_MINORUPDATE)
@${CP} ${WRKDIR}/vjed.bin /tmp/
@${ECHO} '' | ${WRKDIR}/vjesetup
@${RM} /tmp/vjed.bin
+.endif
@${CP} -Pp /etc/services /etc/services.bak
@${GREP} -qw '^vjed' /etc/services || ${ECHO} "vjed 11493/tcp # VJE-Delta Server" >> /etc/services
OpenPOWER on IntegriCloud