aboutsummaryrefslogtreecommitdiffstats
path: root/chinese
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2001-12-08 17:37:35 +0800
committerijliao <ijliao@FreeBSD.org>2001-12-08 17:37:35 +0800
commitb0b180b30e7684106e5c774a9aa28600a879545c (patch)
tree8b492acba8a2bb74b8c8959d341f9451c52b0a9a /chinese
parent17d3bc1dc5f7b2d9ab76442d71334bf35477f926 (diff)
downloadfreebsd-ports-gnome-b0b180b30e7684106e5c774a9aa28600a879545c.tar.gz
freebsd-ports-gnome-b0b180b30e7684106e5c774a9aa28600a879545c.tar.zst
freebsd-ports-gnome-b0b180b30e7684106e5c774a9aa28600a879545c.zip
add fortunetw
A very classic fortune file in Taiwan PR: 32504 Submitted by: Statue <statue@softwareliberty.org>
Diffstat (limited to 'chinese')
-rw-r--r--chinese/Makefile1
-rw-r--r--chinese/fortunetw/Makefile41
-rw-r--r--chinese/fortunetw/distinfo1
-rw-r--r--chinese/fortunetw/pkg-comment1
-rw-r--r--chinese/fortunetw/pkg-descr8
-rw-r--r--chinese/fortunetw/pkg-plist6
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