diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2005-11-25 02:47:48 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2005-11-25 02:47:48 +0000 |
commit | b11a2509208567c6daeadc733e1d7f330cfc7226 (patch) | |
tree | 868e8d3bf7d501d87ffdd6e937b9c0ad8af966ec /misc/fortune-mod-culmea-culmilor | |
parent | 62a5590d5712b71ac3744cc421b39af06a295d19 (diff) | |
download | ports-b11a2509208567c6daeadc733e1d7f330cfc7226.tar.gz ports-b11a2509208567c6daeadc733e1d7f330cfc7226.zip |
Notes
Diffstat (limited to 'misc/fortune-mod-culmea-culmilor')
-rw-r--r-- | misc/fortune-mod-culmea-culmilor/Makefile | 49 | ||||
-rw-r--r-- | misc/fortune-mod-culmea-culmilor/distinfo | 3 | ||||
-rw-r--r-- | misc/fortune-mod-culmea-culmilor/files/pkg-message.in | 8 | ||||
-rw-r--r-- | misc/fortune-mod-culmea-culmilor/pkg-descr | 3 | ||||
-rw-r--r-- | misc/fortune-mod-culmea-culmilor/pkg-plist | 2 |
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 |