aboutsummaryrefslogtreecommitdiff
path: root/french/fortune-mod-zarathoustra
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2015-02-15 13:33:25 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2015-02-15 13:33:25 +0000
commitaea62ac573548ea40795902c0b0d00891f16d950 (patch)
tree564efd14d553a1a2b020275d456e35f8605bd0de /french/fortune-mod-zarathoustra
parent62b0e06bbad2d51be5f4205c55c6e932f3e5bad2 (diff)
downloadports-aea62ac573548ea40795902c0b0d00891f16d950.tar.gz
ports-aea62ac573548ea40795902c0b0d00891f16d950.zip
Notes
Diffstat (limited to 'french/fortune-mod-zarathoustra')
-rw-r--r--french/fortune-mod-zarathoustra/Makefile18
1 files changed, 7 insertions, 11 deletions
diff --git a/french/fortune-mod-zarathoustra/Makefile b/french/fortune-mod-zarathoustra/Makefile
index 94ff9a0c9406..2b7b231880d0 100644
--- a/french/fortune-mod-zarathoustra/Makefile
+++ b/french/fortune-mod-zarathoustra/Makefile
@@ -4,20 +4,19 @@
PORTNAME= fortune-mod-zarathoustra
PORTVERSION= 20100905
CATEGORIES= french
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= culot
+MASTER_SITES= LOCAL/culot
MAINTAINER= culot@FreeBSD.org
COMMENT= Compilation of quotes from Nietzsche's Thus spoke Zarathustra
SUB_FILES= pkg-message
+.if exists(/usr/games/strfile)
STRCMD= /usr/games/strfile
-
-pre-build:
-.if !exists(${STRCMD})
- @${ECHO_MSG} "Please install the games distribution"
- @exit 1
+.elif exists(/usr/bin/strfile)
+STRCMD= /usr/bin/strfile
+.else
+IGNORE= needs strfile command. Please install games distribution of base system
.endif
do-build:
@@ -25,9 +24,6 @@ do-build:
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/share/games/fortune
- @${INSTALL_DATA} ${WRKSRC}/zarathoustra* ${STAGEDIR}${PREFIX}/share/games/fortune
-
-post-install:
- @${CAT} ${PKGMESSAGE}
+ ${INSTALL_DATA} ${WRKSRC}/zarathoustra* ${STAGEDIR}${PREFIX}/share/games/fortune
.include <bsd.port.mk>