aboutsummaryrefslogtreecommitdiff
path: root/french
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2016-09-14 05:44:01 +0000
committerJohn Marino <marino@FreeBSD.org>2016-09-14 05:44:01 +0000
commite436738013453b2e1a2a3be436614cfc83099eee (patch)
treed1251fd08236c086e80ed163ef7e9f992d365c66 /french
parent1c5ba91eb49e4940648642e5a1c65c97b7ec4491 (diff)
downloadports-e436738013453b2e1a2a3be436614cfc83099eee.tar.gz
ports-e436738013453b2e1a2a3be436614cfc83099eee.zip
Notes
Diffstat (limited to 'french')
-rw-r--r--french/fortune-mod-zarathoustra/Makefile14
1 files changed, 5 insertions, 9 deletions
diff --git a/french/fortune-mod-zarathoustra/Makefile b/french/fortune-mod-zarathoustra/Makefile
index 2b7b231880d0..2d5d717cd2e8 100644
--- a/french/fortune-mod-zarathoustra/Makefile
+++ b/french/fortune-mod-zarathoustra/Makefile
@@ -11,19 +11,15 @@ COMMENT= Compilation of quotes from Nietzsche's Thus spoke Zarathustra
SUB_FILES= pkg-message
-.if exists(/usr/games/strfile)
-STRCMD= /usr/games/strfile
-.elif exists(/usr/bin/strfile)
-STRCMD= /usr/bin/strfile
-.else
-IGNORE= needs strfile command. Please install games distribution of base system
-.endif
+BUILD_DEPENDS= fortune_strfile:misc/fortune_strfile
+STRCMD= ${LOCALBASE}/bin/fortune_strfile
do-build:
- @cd ${WRKSRC} && ${STRCMD} zarathoustra
+ (cd ${WRKSRC} && ${STRCMD} zarathoustra)
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/share/games/fortune
- ${INSTALL_DATA} ${WRKSRC}/zarathoustra* ${STAGEDIR}${PREFIX}/share/games/fortune
+ ${INSTALL_DATA} ${WRKSRC}/zarathoustra* \
+ ${STAGEDIR}${PREFIX}/share/games/fortune
.include <bsd.port.mk>