summaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2005-11-25 02:47:48 +0000
committeredwin <edwin@FreeBSD.org>2005-11-25 02:47:48 +0000
commit4ce1863cb3450eab2b25617a28fbbe912f4c6177 (patch)
tree871e0ceef8f67ee317bd76d1a204aecfd5b72d86 /misc
parent874c4655ef431b225cfff6d268ab5e0b39fb5c22 (diff)
downloadFreeBSD-ports-4ce1863cb3450eab2b25617a28fbbe912f4c6177.zip
FreeBSD-ports-4ce1863cb3450eab2b25617a28fbbe912f4c6177.tar.gz
[NEW PORT] misc/fortune-mod-culmea-culmilor: Romanian "Culmea culmilor" jokes (in Romanian)
Romanian "Culmea culmilor" jokes (in Romaninan) Romanian description: Maxime de genul "Culmea aglomeratiei: Sa ...." - instaleaza portul ca sa afli ;) PR: ports/89295 Submitted by: "Ion-Mihai "IOnut" Tetcu" <itetcu@people.tecnik93.com>
Diffstat (limited to 'misc')
-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 94df219..d238380 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 0000000..e3df43f
--- /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 0000000..b0d7e7c
--- /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 0000000..1d891f4
--- /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 0000000..d24f8f5
--- /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 0000000..ae41d08
--- /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
OpenPOWER on IntegriCloud