diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2001-12-08 09:37:35 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2001-12-08 09:37:35 +0000 |
commit | 0683f89dd4765ce96616e75725009cc8b3523575 (patch) | |
tree | 4fe8199646d5c6ea9976d4a30dee03eb336d02f9 /chinese | |
parent | 1ea9982bf0a4a67d5d0c496f549409be0244295c (diff) | |
download | ports-0683f89dd4765ce96616e75725009cc8b3523575.tar.gz ports-0683f89dd4765ce96616e75725009cc8b3523575.zip |
Notes
Diffstat (limited to 'chinese')
-rw-r--r-- | chinese/Makefile | 1 | ||||
-rw-r--r-- | chinese/fortunetw/Makefile | 41 | ||||
-rw-r--r-- | chinese/fortunetw/distinfo | 1 | ||||
-rw-r--r-- | chinese/fortunetw/pkg-comment | 1 | ||||
-rw-r--r-- | chinese/fortunetw/pkg-descr | 8 | ||||
-rw-r--r-- | chinese/fortunetw/pkg-plist | 6 |
6 files changed, 58 insertions, 0 deletions
diff --git a/chinese/Makefile b/chinese/Makefile index dcccad1c5556..0efc4ee706a5 100644 --- a/chinese/Makefile +++ b/chinese/Makefile @@ -32,6 +32,7 @@ SUBDIR += enscript SUBDIR += eterm SUBDIR += firebird + SUBDIR += fortunetw SUBDIR += gb2ps SUBDIR += gbscript SUBDIR += ghostscript6 diff --git a/chinese/fortunetw/Makefile b/chinese/fortunetw/Makefile new file mode 100644 index 000000000000..01e9af1dacfb --- /dev/null +++ b/chinese/fortunetw/Makefile @@ -0,0 +1,41 @@ +# New ports collection makefile for: fortunetw +# Date created: 10 Mar 2001 +# Whom: Shen Chuan-Hsing +# +# $FreeBSD$ +# + +PORTNAME= fortunetw +PORTVERSION= 1.0 +CATEGORIES= chinese +MASTER_SITES= http://freebsd.sinica.edu.tw/~statue/ +DISTNAME= zh-fortunetw-${PORTVERSION} + +MAINTAINER= statue@freebsd.sinica.edu.tw + +NO_BUILD= yes + +STRCMD= /usr/games/strfile + +do-install: + @${MKDIR} ${PREFIX}/share/games/fortune + @${INSTALL_DATA} ${WRKSRC}/tangshi ${PREFIX}/share/games/fortune + @${INSTALL_DATA} ${WRKSRC}/yijing ${PREFIX}/share/games/fortune + +pre-install: +.if !exists(${STRCMD}) + @${ECHO_MSG} "Please install the games distribution" + @exit 1 +.endif + +post-install: + @${STRCMD} ${PREFIX}/share/games/fortune/tangshi + @${STRCMD} ${PREFIX}/share/games/fortune/yijing + @${ECHO_MSG} "" + @${ECHO_MSG} "Usage:" + @${ECHO_MSG} "/usr/games/fortune ${PREFIX}/share/games/fortune/tangshi" + @${ECHO_MSG} "or" + @${ECHO_MSG} "/usr/games/fortune ${PREFIX}/share/games/fortune/yijing" + @${ECHO_MSG} "" + +.include <bsd.port.mk> diff --git a/chinese/fortunetw/distinfo b/chinese/fortunetw/distinfo new file mode 100644 index 000000000000..606e1a1d74f7 --- /dev/null +++ b/chinese/fortunetw/distinfo @@ -0,0 +1 @@ +MD5 (zh-fortunetw-1.0.tar.gz) = 7b400d8994284ecd5b74aeaf0885693c diff --git a/chinese/fortunetw/pkg-comment b/chinese/fortunetw/pkg-comment new file mode 100644 index 000000000000..a11b96a70fc8 --- /dev/null +++ b/chinese/fortunetw/pkg-comment @@ -0,0 +1 @@ +A very classic fortune file in Taiwan diff --git a/chinese/fortunetw/pkg-descr b/chinese/fortunetw/pkg-descr new file mode 100644 index 000000000000..9e11a77f9bfa --- /dev/null +++ b/chinese/fortunetw/pkg-descr @@ -0,0 +1,8 @@ +This package contains a very classic fortune file in Taiwan. + +For further informations please read the README file +in the working directory (not installed). + +Distfile Size: ~60kb + +- statue (statue@freebsd.sinica.edu.tw) diff --git a/chinese/fortunetw/pkg-plist b/chinese/fortunetw/pkg-plist new file mode 100644 index 000000000000..3fc1cb31baa9 --- /dev/null +++ b/chinese/fortunetw/pkg-plist @@ -0,0 +1,6 @@ +share/games/fortune/tangshi +share/games/fortune/tangshi.dat +share/games/fortune/yijing +share/games/fortune/yijing.dat +@dirrm share/games/fortune +@dirrm share/games |