aboutsummaryrefslogtreecommitdiffstats
path: root/misc/fortuneit
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1999-04-02 12:39:34 +0800
committersteve <steve@FreeBSD.org>1999-04-02 12:39:34 +0800
commita988df5b6b390a19c2ab39e333a84e1dfa489438 (patch)
treeab4a01b92e4139c5c75e00ed50e45985d01922b1 /misc/fortuneit
parent0a30b5fdebef5449e5c65e6b2c08bfccc96d2ad7 (diff)
downloadfreebsd-ports-gnome-a988df5b6b390a19c2ab39e333a84e1dfa489438.tar.gz
freebsd-ports-gnome-a988df5b6b390a19c2ab39e333a84e1dfa489438.tar.zst
freebsd-ports-gnome-a988df5b6b390a19c2ab39e333a84e1dfa489438.zip
Import of fortuneit version 1.51.
A very funny fortune file in Italian. PR: 9719 Submitted by: Gianmarco Giovannelli <gmarco@giovannelli.it>
Diffstat (limited to 'misc/fortuneit')
-rw-r--r--misc/fortuneit/Makefile58
-rw-r--r--misc/fortuneit/distinfo1
-rw-r--r--misc/fortuneit/pkg-comment1
-rw-r--r--misc/fortuneit/pkg-descr9
-rw-r--r--misc/fortuneit/pkg-plist2
-rw-r--r--misc/fortuneit/pkg-plist.off4
6 files changed, 75 insertions, 0 deletions
diff --git a/misc/fortuneit/Makefile b/misc/fortuneit/Makefile
new file mode 100644
index 000000000000..16cb4c9a36d3
--- /dev/null
+++ b/misc/fortuneit/Makefile
@@ -0,0 +1,58 @@
+# New ports collection makefile for: fortuneit
+# Version required: fortune.it-1.51
+# Date created: 25-01-1999
+# Whom: gmarco@scotty.masternet.it
+#
+# $Id$
+#
+
+DISTNAME= fortune.it-1.51
+PKGNAME= fortuneit-1.51
+CATEGORIES= misc
+MASTER_SITES= http://www.giovannelli.it/~gmarco/files/
+
+MAINTAINER= freebsd@scotty.masternet.it
+
+NO_BUILD= yes
+
+STRCMD= /usr/games/strfile
+
+.if defined(INSTALL_OFFENSIVE)
+PLIST= ${PKGDIR}/PLIST.off
+.endif
+
+pre-fetch:
+.if !defined(INSTALL_OFFENSIVE)
+ @${ECHO_MSG} ""
+ @${ECHO_MSG} "If you want to install potentially offensive italian"
+ @${ECHO_MSG} "fortunes \"make INSTALL_OFFENSIVE=yes\""
+ @${ECHO_MSG} ""
+.else
+ @${ECHO_MSG} ""
+ @${ECHO_MSG} "Potentially offensive fortunes will be installed"
+ @${ECHO_MSG} ""
+.endif
+
+do-install:
+ @${MKDIR} ${PREFIX}/share/games
+ @${MKDIR} ${PREFIX}/share/games/fortune
+ @${INSTALL_DATA} ${WRKSRC}/italia ${PREFIX}/share/games/fortune
+.if defined(INSTALL_OFFENSIVE)
+ @${INSTALL_DATA} ${WRKSRC}/zozzital ${PREFIX}/share/games/fortune
+.endif
+
+post-install:
+ @${STRCMD} ${PREFIX}/share/games/fortune/italia
+.if defined(INSTALL_OFFENSIVE)
+ @${STRCMD} ${PREFIX}/share/games/fortune/zozzital
+.endif
+ @${ECHO_MSG} ""
+ @${ECHO_MSG} "Usage:"
+ @${ECHO_MSG} "/usr/games/fortune ${PREFIX}/share/games/fortune/italia"
+.if defined(INSTALL_OFFENSIVE)
+ @${ECHO_MSG} "or"
+ @${ECHO_MSG} "/usr/games/fortune ${PREFIX}/share/games/fortune/zozzital"
+.endif
+ @${ECHO_MSG} ""
+
+.include <bsd.port.mk>
diff --git a/misc/fortuneit/distinfo b/misc/fortuneit/distinfo
new file mode 100644
index 000000000000..a18d92a33ef0
--- /dev/null
+++ b/misc/fortuneit/distinfo
@@ -0,0 +1 @@
+MD5 (fortune.it-1.51.tar.gz) = ddf609be4b7599719e25dfdaf0132619
diff --git a/misc/fortuneit/pkg-comment b/misc/fortuneit/pkg-comment
new file mode 100644
index 000000000000..3bf543d86c33
--- /dev/null
+++ b/misc/fortuneit/pkg-comment
@@ -0,0 +1 @@
+A very funny fortune file in Italian.
diff --git a/misc/fortuneit/pkg-descr b/misc/fortuneit/pkg-descr
new file mode 100644
index 000000000000..9226dbdaa28c
--- /dev/null
+++ b/misc/fortuneit/pkg-descr
@@ -0,0 +1,9 @@
+This package contains a very funny fortune file in Italian.
+
+For further informations please read the README file
+in the working directory (not installed).
+
+Original Homepage : http://www.pluto.linux.it/~zuse/fortune.it
+Distfile Size : ~400kb
+
+- ported to FreeBSD by Gianmarco (gmarco@giovannelli.it)
diff --git a/misc/fortuneit/pkg-plist b/misc/fortuneit/pkg-plist
new file mode 100644
index 000000000000..e6598ac626d2
--- /dev/null
+++ b/misc/fortuneit/pkg-plist
@@ -0,0 +1,2 @@
+share/games/fortune/italia
+share/games/fortune/italia.dat
diff --git a/misc/fortuneit/pkg-plist.off b/misc/fortuneit/pkg-plist.off
new file mode 100644
index 000000000000..4da2448fba2b
--- /dev/null
+++ b/misc/fortuneit/pkg-plist.off
@@ -0,0 +1,4 @@
+share/games/fortune/italia
+share/games/fortune/zozzital
+share/games/fortune/italia.dat
+share/games/fortune/zozzital.dat