diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2001-09-03 04:12:11 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2001-09-03 04:12:11 +0000 |
commit | 919b14f2836b09d6d725948fab3398328773d788 (patch) | |
tree | 80d755d0fb99d0b7a67a77e74865ab9e5e033a01 /japanese | |
parent | 9f92454877bf2a113c0c245aec02d24e756f02aa (diff) | |
download | ports-919b14f2836b09d6d725948fab3398328773d788.tar.gz ports-919b14f2836b09d6d725948fab3398328773d788.zip |
Notes
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/Makefile | 1 | ||||
-rw-r--r-- | japanese/netypesv/Makefile | 49 | ||||
-rw-r--r-- | japanese/netypesv/distinfo | 1 | ||||
-rw-r--r-- | japanese/netypesv/files/netypesv.in | 6 | ||||
-rw-r--r-- | japanese/netypesv/pkg-comment | 1 | ||||
-rw-r--r-- | japanese/netypesv/pkg-descr | 7 | ||||
-rw-r--r-- | japanese/netypesv/pkg-plist | 6 | ||||
-rw-r--r-- | japanese/netypesv/scripts/configure | 5 |
8 files changed, 76 insertions, 0 deletions
diff --git a/japanese/Makefile b/japanese/Makefile index d23cbcf5350a..5da9a3218fbc 100644 --- a/japanese/Makefile +++ b/japanese/Makefile @@ -241,6 +241,7 @@ SUBDIR += netscape47-communicator SUBDIR += netscape47-navigator SUBDIR += netype + SUBDIR += netypesv SUBDIR += newosaka SUBDIR += ng SUBDIR += ng-canna diff --git a/japanese/netypesv/Makefile b/japanese/netypesv/Makefile new file mode 100644 index 000000000000..cfd6093475b5 --- /dev/null +++ b/japanese/netypesv/Makefile @@ -0,0 +1,49 @@ +# New ports collection makefile for: netypesv +# Date created: 03 Aug 2001 +# Whom: Takeshi MUTOH <mutoh@info.nara-k.ac.jp> +# +# $FreeBSD$ +# + +PORTNAME= netypesv +PORTVERSION= 0.1.0 +CATEGORIES= japanese misc +MASTER_SITES= http://bishop.fuis.fukui-u.ac.jp/~funakami/software/netype/src/ +DISTNAME= netypesv-${PORTVERSION} +EXTRACT_SUFX= .jar + +MAINTAINER= mutoh@info.nara-k.ac.jp + +RUN_DEPENDS= ${JDKDIR}/bin/java:${PORTSDIR}/java/jdk12-beta + +SCRIPTS_ENV= JDKDIR=${JDKDIR} JAVADIR=${JAVADIR} PORTVERSION=${PORTVERSION} +PLIST_SUB= PORTVERSION=${PORTVERSION} + +NO_BUILD= YES +USE_ZIP= YES + +JAVADIR= ${PREFIX}/share/java +JDKVERSION?= 1.2.2 +JDKDIR= ${LOCALBASE}/jdk${JDKVERSION} + +NETYPESVDIR= ${JAVADIR}/netypesv-${PORTVERSION} + +post-extract: + ${MKDIR} ${WRKSRC} + ${CP} ${FILESDIR}/netypesv.in ${WRKSRC}/netypesv + +pre-install: + ${MKDIR} ${NETYPESVDIR}/bin ${JAVADIR}/classes + cd ${WRKDIR}/jp/ac/fukui_u/netypesv; \ + ${MV} netypesv.conf netypesv.conf.org; \ + ${SED} -e 's#^qfile.*$$#qfile ${NETYPESVDIR}/qlist#g' < netypesv.conf.org > netypesv.conf + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/netypesv ${NETYPESVDIR}/bin + ${INSTALL_DATA} ${DISTDIR}/${DISTFILES} ${JAVADIR}/classes + cd ${WRKDIR}/jp/ac/fukui_u/netypesv; \ + ${INSTALL_DATA} qlist ${NETYPESVDIR}; \ + ${INSTALL_DATA} netypesv.conf ${NETYPESVDIR} + ${LN} -sf ${NETYPESVDIR}/bin/netypesv ${PREFIX}/bin/netypesv + +.include <bsd.port.mk> diff --git a/japanese/netypesv/distinfo b/japanese/netypesv/distinfo new file mode 100644 index 000000000000..2a1b7279901a --- /dev/null +++ b/japanese/netypesv/distinfo @@ -0,0 +1 @@ +MD5 (netypesv-0.1.0.jar) = fc3566ef6d3acaf987dfa96fe9278b20 diff --git a/japanese/netypesv/files/netypesv.in b/japanese/netypesv/files/netypesv.in new file mode 100644 index 000000000000..7be23e234678 --- /dev/null +++ b/japanese/netypesv/files/netypesv.in @@ -0,0 +1,6 @@ +#! /bin/sh + +INSTALLDIR=%%JAVADIR%%/classes +NETYPESV_CONF=%%JAVADIR%%/netypesv-%%PORTVERSION%%/netypesv.conf + +%%JDKDIR%%/bin/java -classpath ${INSTALLDIR}/netypesv-%%PORTVERSION%%.jar jp.ac.fukui_u.netypesv.netypesv ${NETYPESV_CONF} diff --git a/japanese/netypesv/pkg-comment b/japanese/netypesv/pkg-comment new file mode 100644 index 000000000000..991db6a2d6c0 --- /dev/null +++ b/japanese/netypesv/pkg-comment @@ -0,0 +1 @@ +Network Type Trainer server program diff --git a/japanese/netypesv/pkg-descr b/japanese/netypesv/pkg-descr new file mode 100644 index 000000000000..a7d8208c4daf --- /dev/null +++ b/japanese/netypesv/pkg-descr @@ -0,0 +1,7 @@ +NETYPE, The Network Type Trainer server program. + +This is a multi-player Japanese type trainer game, and if you prepare +${PREFIX}/share/java/netypesv-0.1.0/qlist for another language than +Japanese you can play this game in the language. + +WWW: http://bishop.fuis.fukui-u.ac.jp/~funakami/software/index.html diff --git a/japanese/netypesv/pkg-plist b/japanese/netypesv/pkg-plist new file mode 100644 index 000000000000..1855c29ac538 --- /dev/null +++ b/japanese/netypesv/pkg-plist @@ -0,0 +1,6 @@ +bin/netypesv +share/java/netypesv-%%PORTVERSION%%/qlist +share/java/netypesv-%%PORTVERSION%%/netypesv.conf +share/java/netypesv-%%PORTVERSION%%/bin/netypesv +@dirrm share/java/netypesv-%%PORTVERSION%%/bin +@dirrm share/java/netypesv-%%PORTVERSION%% diff --git a/japanese/netypesv/scripts/configure b/japanese/netypesv/scripts/configure new file mode 100644 index 000000000000..308b9744b993 --- /dev/null +++ b/japanese/netypesv/scripts/configure @@ -0,0 +1,5 @@ +#!/bin/sh + +export JAVADIR JDKDIR + +perl -pi -e 's|%%JAVADIR%%|$ENV{JAVADIR}|g;s|%%JDKDIR%%|$ENV{JDKDIR}|g;s|%%PORTVERSION%%|$ENV{PORTVERSION}|g;' ${WRKSRC}/netypesv |