aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--misc/Makefile1
-rw-r--r--misc/fortune-mod-culmea-culmilor/Makefile49
-rw-r--r--misc/fortune-mod-culmea-culmilor/distinfo3
-rw-r--r--misc/fortune-mod-culmea-culmilor/files/pkg-message.in8
-rw-r--r--misc/fortune-mod-culmea-culmilor/pkg-descr3
-rw-r--r--misc/fortune-mod-culmea-culmilor/pkg-plist2
6 files changed, 66 insertions, 0 deletions
diff --git a/misc/Makefile b/misc/Makefile
index 94df21930069..d2383802057c 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -89,6 +89,7 @@
SUBDIR += flyway
SUBDIR += fortune-mod-bible
SUBDIR += fortune-mod-bofh
+ SUBDIR += fortune-mod-culmea-culmilor
SUBDIR += fortune-mod-futurama
SUBDIR += fortuneit
SUBDIR += freedialog
diff --git a/misc/fortune-mod-culmea-culmilor/Makefile b/misc/fortune-mod-culmea-culmilor/Makefile
new file mode 100644
index 000000000000..e3df43f30cae
--- /dev/null
+++ b/misc/fortune-mod-culmea-culmilor/Makefile
@@ -0,0 +1,49 @@
+# New ports collection makefile for: fortune-mod-culmea-culmilor
+# Date created: 2005-11-18
+# Whom: Ion-Mihai "IOnut" Tetcu <itetcu@people.tecnik93.com>
+#
+# $FreeBSD$
+# $Id: Makefile,v 1.9 2005/11/19 20:35:11 itetcu Rel $
+#
+
+PORTNAME= fortune-mod-culmea-culmilor
+PORTVERSION= 2005.11.18
+CATEGORIES= misc # should / will (also) be romanian
+MASTER_SITES= http://people.tecnik93.com/~itetcu/FreeBSD/ports/${PORTNAME}/sources/
+
+MAINTAINER= itetcu@people.tecnik93.com
+COMMENT= Romanian "Culmea culmilor" jokes (in romanian)
+
+NO_WRKSUBDIR= yes
+
+_STRFILE= /usr/games/strfile
+_FORTUNE_DIR= share/games/fortune
+FORTUNE_DIR?= ${PREFIX}/${_FORTUNE_DIR}
+FORTUNE_FILE= ${PORTNAME:S/fortune-mod-//}
+FORTUNE_FILE_O= ${FORTUNE_FILE}-o
+
+PLIST_FILES= ${_FORTUNE_DIR}/${FORTUNE_FILE} ${_FORTUNE_DIR}/${FORTUNE_FILE}.dat
+.if exists(${WRKSRC}/${PORTNAME}-o)
+PLIST_FILES+= ${_FORTUNE_DIR}/${FORTUNE_FILE_O} ${_FORTUNE_DIR}/${FORTUNE_FILE_O}.dat
+.endif
+
+SUB_FILES+= pkg-message
+SUB_LIST+= FORTUNE_DIR=${FORTUNE_DIR} FORTUNE_FILE=${FORTUNE_FILE}
+
+do-build:
+ cd ${WRKSRC} && ${_STRFILE} ${PORTNAME}
+. if exists(${WRKSRC}/${PORTNAME}-o)
+ cd ${WRKSRC} && ${_STRFILE} ${PORTNAME}-o
+. endif
+
+do-install:
+ @${MKDIR} ${FORTUNE_DIR}
+ @${INSTALL_DATA} ${WRKSRC}/${PORTNAME} ${FORTUNE_DIR}/${FORTUNE_FILE}
+ @${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.dat ${FORTUNE_DIR}/${FORTUNE_FILE}.dat
+. if exists(${WRKSRC}/${PORTNAME}-o)
+ @${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-o ${FORTUNE_DIR}/${FORTUNE_FILE_O}
+ @${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-o.dat {FORTUNE_DIR}/${FORTUNE_FILE_O}.dat
+. endif
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/misc/fortune-mod-culmea-culmilor/distinfo b/misc/fortune-mod-culmea-culmilor/distinfo
new file mode 100644
index 000000000000..b0d7e7c4c657
--- /dev/null
+++ b/misc/fortune-mod-culmea-culmilor/distinfo
@@ -0,0 +1,3 @@
+MD5 (fortune-mod-culmea-culmilor-2005.11.18.tar.gz) = 131e16dd2e90f10fca8df8657edbd7df
+SHA256 (fortune-mod-culmea-culmilor-2005.11.18.tar.gz) = a6579aee9bad4948ed98c9e99728cca5f769485f1859a9658c707bed4f7221e3
+SIZE (fortune-mod-culmea-culmilor-2005.11.18.tar.gz) = 8192
diff --git a/misc/fortune-mod-culmea-culmilor/files/pkg-message.in b/misc/fortune-mod-culmea-culmilor/files/pkg-message.in
new file mode 100644
index 000000000000..1d891f450749
--- /dev/null
+++ b/misc/fortune-mod-culmea-culmilor/files/pkg-message.in
@@ -0,0 +1,8 @@
+* * *
+
+Usage:
+ fortune %%FORTUNE_DIR%%/%%FORTUNE_FILE%%
+If you want the "offensive" ones also:
+ fortune %%FORTUNE_DIR%%/%%FORTUNE_FILE%%-o
+
+* * *
diff --git a/misc/fortune-mod-culmea-culmilor/pkg-descr b/misc/fortune-mod-culmea-culmilor/pkg-descr
new file mode 100644
index 000000000000..d24f8f540de3
--- /dev/null
+++ b/misc/fortune-mod-culmea-culmilor/pkg-descr
@@ -0,0 +1,3 @@
+Romanian jokes (in Romaninan)
+
+Maxime de genul "Culmea aglomeratiei: Sa ...." - instaleaza portul ca sa afli ;)
diff --git a/misc/fortune-mod-culmea-culmilor/pkg-plist b/misc/fortune-mod-culmea-culmilor/pkg-plist
new file mode 100644
index 000000000000..ae41d085be7a
--- /dev/null
+++ b/misc/fortune-mod-culmea-culmilor/pkg-plist
@@ -0,0 +1,2 @@
+@unexec rmdir %D/share/games/fortune 2>/dev/null || true
+@unexec rmdir %D/share/games 2>/dev/null || true