Date: Mon, 13 Aug 2001 09:39:52 +0900 (JST) From: Takeshi MUTOH <mutoh@info.nara-k.ac.jp> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/29652: New port: japanese/netypesv Message-ID: <200108130039.f7D0dqJ58084@bovine>
next in thread | raw e-mail | index | archive | help
>Number: 29652 >Category: ports >Synopsis: New port: japanese/netypesv >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Aug 12 17:50:15 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Takeshi MUTOH >Release: FreeBSD 4.3-STABLE i386 >Organization: Nara National College of Technology >Environment: System: FreeBSD bovine 4.3-STABLE FreeBSD 4.3-STABLE #3: Mon Jul 30 09:15:52 JST 2001 root@bovine:/usr/obj/usr/src/sys/HOGE i386 >Description: >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # . # ./pkg-plist # ./pkg-descr # ./pkg-comment # ./Makefile # ./distinfo # ./files # ./files/netypesv.in # ./scripts # ./scripts/configure # echo c - . mkdir -p . > /dev/null 2>&1 echo x - ./pkg-plist sed 's/^X//' >./pkg-plist << 'END-of-./pkg-plist' Xbin/netypesv Xshare/java/netypesv-%%PORTVERSION%%/qlist Xshare/java/netypesv-%%PORTVERSION%%/netypesv.conf Xshare/java/netypesv-%%PORTVERSION%%/bin/netypesv X@dirrm share/java/netypesv-%%PORTVERSION%%/bin X@dirrm share/java/netypesv-%%PORTVERSION%% END-of-./pkg-plist echo x - ./pkg-descr sed 's/^X//' >./pkg-descr << 'END-of-./pkg-descr' XNETYPE, The Network Type Trainer server program. XThe game can play multi-players. XIf you write ${PREFIX}/share/java/netypesv-0.1.0/qlist for other languages, Xyou can play this game. X XWWW: http://bishop.fuis.fukui-u.ac.jp/~funakami/software/index.html END-of-./pkg-descr echo x - ./pkg-comment sed 's/^X//' >./pkg-comment << 'END-of-./pkg-comment' XNETYPE: Network Type Trainer Sever Program END-of-./pkg-comment echo x - ./Makefile sed 's/^X//' >./Makefile << 'END-of-./Makefile' X# New ports collection makefile for: netypesv X# Date created: 03 Aug 2001 X# Whom: Takeshi MUTOH <mutoh@info.nara-k.ac.jp> X# X# $FreeBSD$ X# X XPORTNAME= netypesv XPORTVERSION= 0.1.0 XCATEGORIES= japanese misc XMASTER_SITES= http://bishop.fuis.fukui-u.ac.jp/~funakami/software/netype/src/ XDISTNAME= netypesv-${PORTVERSION} XEXTRACT_SUFX= .jar X XMAINTAINER= mutoh@info.nara-k.ac.jp X XRUN_DEPENDS= ${LOCALBASE}/jdk1.1.8/bin/java:${PORTSDIR}/java/jdk12-beta X XSCRIPTS_ENV= JDKDIR=${JDKDIR} JAVADIR=${JAVADIR} PORTVERSION=${PORTVERSION} XPLIST_SUB= PORTVERSION=${PORTVERSION} X XNO_BUILD= YES XUSE_ZIP= YES X XJAVADIR= ${PREFIX}/share/java XJDKVERSION?= 1.2.2 XJDKDIR= ${LOCALBASE}/jdk${JDKVERSION} X XNETYPESVDIR= ${JAVADIR}/netypesv-${PORTVERSION} X Xpost-extract: X ${MKDIR} ${WRKSRC} X ${CP} ${FILESDIR}/netypesv.in ${WRKSRC}/netypesv X Xpre-install: X ${MKDIR} ${NETYPESVDIR}/bin ${JAVADIR}/classes X cd ${WRKDIR}/jp/ac/fukui_u/netypesv; \ X ${MV} netypesv.conf netypesv.conf.org; \ X ${SED} -e 's#^qfile.*$$#qfile ${NETYPESVDIR}/qlist#g' < netypesv.conf.org > netypesv.conf X Xdo-install: X ${INSTALL_SCRIPT} ${WRKSRC}/netypesv ${NETYPESVDIR}/bin X ${INSTALL_DATA} ${DISTDIR}/${DISTFILES} ${JAVADIR}/classes X cd ${WRKDIR}/jp/ac/fukui_u/netypesv; \ X ${INSTALL_DATA} qlist ${NETYPESVDIR}; \ X ${INSTALL_DATA} netypesv.conf ${NETYPESVDIR} X ${LN} -sf ${NETYPESVDIR}/bin/netypesv ${PREFIX}/bin/netypesv X X.include <bsd.port.mk> END-of-./Makefile echo x - ./distinfo sed 's/^X//' >./distinfo << 'END-of-./distinfo' XMD5 (netypesv-0.1.0.jar) = fc3566ef6d3acaf987dfa96fe9278b20 END-of-./distinfo echo c - ./files mkdir -p ./files > /dev/null 2>&1 echo x - ./files/netypesv.in sed 's/^X//' >./files/netypesv.in << 'END-of-./files/netypesv.in' X#! /bin/sh X XINSTALLDIR=%%JAVADIR%%/classes XNETYPESV_CONF=%%JAVADIR%%/netypesv-%%PORTVERSION%%/netypesv.conf X X%%JDKDIR%%/bin/java -classpath ${INSTALLDIR}/netypesv-%%PORTVERSION%%.jar jp.ac.fukui_u.netypesv.netypesv ${NETYPESV_CONF} END-of-./files/netypesv.in echo c - ./scripts mkdir -p ./scripts > /dev/null 2>&1 echo x - ./scripts/configure sed 's/^X//' >./scripts/configure << 'END-of-./scripts/configure' X#!/bin/sh X Xexport JAVADIR JDKDIR X Xperl -pi -e 's|%%JAVADIR%%|$ENV{JAVADIR}|g;s|%%JDKDIR%%|$ENV{JDKDIR}|g;s|%%PORTVERSION%%|$ENV{PORTVERSION}|g;' ${WRKSRC}/netypesv END-of-./scripts/configure exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200108130039.f7D0dqJ58084>