aboutsummaryrefslogtreecommitdiff
path: root/japanese/vje30/Makefile
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2000-05-19 20:16:31 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2000-05-19 20:16:31 +0000
commit44d3fa4c901c318b5c4272ee4e76d16795528990 (patch)
treea6e7a6b0b530f5dbd7fe872b7b1b6d01f1fd9246 /japanese/vje30/Makefile
parentf249ed9f30e3c9073bd0fd8c2f404eebf449df64 (diff)
downloadports-44d3fa4c901c318b5c4272ee4e76d16795528990.tar.gz
ports-44d3fa4c901c318b5c4272ee4e76d16795528990.zip
Notes
Diffstat (limited to 'japanese/vje30/Makefile')
-rw-r--r--japanese/vje30/Makefile19
1 files changed, 15 insertions, 4 deletions
diff --git a/japanese/vje30/Makefile b/japanese/vje30/Makefile
index 862be4e094b6..a46a590a91a3 100644
--- a/japanese/vje30/Makefile
+++ b/japanese/vje30/Makefile
@@ -1,4 +1,4 @@
-# New ports collection makefile for: VJE-Delta 3.0
+# New ports collection makefile for: VJE-Delta 3.0 + update
# Date created: 29 January 2000
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
@@ -8,9 +8,13 @@
PORTNAME= vje
PORTVERSION= 3.0
CATEGORIES= japanese
-MASTER_SITES= file:${MOUNT_PT}/freebsd/
-EXTRACT_SUFX= .tgz
+MASTER_SITES= file:${MOUNT_PT}/freebsd/ \
+ ftp://ftp.vacs.co.jp/pub/unix/vje30/Update/FreeBSD-${DISTOBJFORMAT}/bin/
DISTNAME= ${PORTNAME}-delta-${PORTVERSION}-${DISTOBJFORMAT}
+EXTRACT_SUFX= .tgz
+DISTFILES= ${MAINDIST} \
+ ${UPDATEDIST}
+DIST_SUBDIR= vje30-${DISTOBJFORMAT}
MAINTAINER= knu@FreeBSD.org
@@ -37,6 +41,9 @@ DISTOBJFORMAT= AOUT
DISTOBJFORMAT= ELF
.endif
+MAINDIST= ${DISTNAME}${EXTRACT_SUFX}
+UPDATEDIST= update${EXTRACT_SUFX}
+
BINSTUFF= vje \
vjed \
vadd \
@@ -65,11 +72,12 @@ pre-fetch:
)
post-extract:
- @${RM} ${DISTDIR}/${DISTFILES}
+ @${RM} ${_DISTDIR}/${MAINDIST}
post-patch:
@cd ${WRKSRC}/vje30/bin && ${RM} swingall.jar
@find ${WRKSRC} -name '*.orig' -delete
+ @${MV} ${WRKDIR}/vje ${WRKSRC}/vje30/bin/
do-install:
@cd ${WRKSRC} && tar cf - . | tar xf - -C ${PREFIX}
@@ -79,6 +87,9 @@ 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/)
+ @${CP} ${WRKDIR}/vjed.bin /tmp/
+ @${ECHO} '' | ${WRKDIR}/vjesetup
+ @${RM} /tmp/vjed.bin
@${CP} -Pp /etc/services /etc/services.bak
@${GREP} -qw '^vjed' /etc/services || ${ECHO} "vjed 11493/tcp # VJE-Delta Server" >> /etc/services