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 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