diff options
author | marino <marino@FreeBSD.org> | 2016-09-14 13:44:01 +0800 |
---|---|---|
committer | marino <marino@FreeBSD.org> | 2016-09-14 13:44:01 +0800 |
commit | f987409fc2d1b94f75c7109255105508b63f1a75 (patch) | |
tree | d1251fd08236c086e80ed163ef7e9f992d365c66 /french | |
parent | edb5a5c7932f73d540136ed3e4c4a431d1e76ce8 (diff) | |
download | freebsd-ports-gnome-f987409fc2d1b94f75c7109255105508b63f1a75.tar.gz freebsd-ports-gnome-f987409fc2d1b94f75c7109255105508b63f1a75.tar.zst freebsd-ports-gnome-f987409fc2d1b94f75c7109255105508b63f1a75.zip |
french/fortune-mod-zarathoustra: Use fortune_strfile instead of strfile(8)
This removes the dependency on the games distribution.
Approved by: general blanket
Diffstat (limited to 'french')
-rw-r--r-- | french/fortune-mod-zarathoustra/Makefile | 14 |
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> |