diff options
author | knu <knu@FreeBSD.org> | 2000-07-06 00:24:22 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2000-07-06 00:24:22 +0800 |
commit | 23b60d60e5848444f3c972d1b9ddd3848b223b4a (patch) | |
tree | b6887a0c30a65cbb6005fc856e88fca107f7c8fe /japanese | |
parent | 784f11d1ad95fb4bb27b4a8853f98b3c6ae1aa75 (diff) | |
download | freebsd-ports-gnome-23b60d60e5848444f3c972d1b9ddd3848b223b4a.tar.gz freebsd-ports-gnome-23b60d60e5848444f3c972d1b9ddd3848b223b4a.tar.zst freebsd-ports-gnome-23b60d60e5848444f3c972d1b9ddd3848b223b4a.zip |
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')
-rw-r--r-- | japanese/vje30/Makefile | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/japanese/vje30/Makefile b/japanese/vje30/Makefile index a46a590a91a3..002d68832512 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 |