summaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-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 0000000..16cb4c9
--- /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 0000000..a18d92a
--- /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 0000000..3bf543d
--- /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 0000000..9226dbd
--- /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 0000000..e6598ac
--- /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 0000000..4da2448
--- /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
OpenPOWER on IntegriCloud