aboutsummaryrefslogtreecommitdiff
path: root/misc/fortune-mod-culmea-culmilor
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2005-11-25 02:47:48 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2005-11-25 02:47:48 +0000
commitb11a2509208567c6daeadc733e1d7f330cfc7226 (patch)
tree868e8d3bf7d501d87ffdd6e937b9c0ad8af966ec /misc/fortune-mod-culmea-culmilor
parent62a5590d5712b71ac3744cc421b39af06a295d19 (diff)
downloadports-b11a2509208567c6daeadc733e1d7f330cfc7226.tar.gz
ports-b11a2509208567c6daeadc733e1d7f330cfc7226.zip
[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>
Notes
Notes: svn path=/head/; revision=149359
Diffstat (limited to 'misc/fortune-mod-culmea-culmilor')
-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
5 files changed, 65 insertions, 0 deletions
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