diff options
author | Antoine Brodin <antoine@FreeBSD.org> | 2016-09-14 19:50:46 +0000 |
---|---|---|
committer | Antoine Brodin <antoine@FreeBSD.org> | 2016-09-14 19:50:46 +0000 |
commit | cc9b2efba46f34f81fcc465a84b1fe9dd27eff61 (patch) | |
tree | ec6270397becb70ebcaa5c6615c9cd29a5684b63 /misc/fortune-mod-epictetus | |
parent | 08c3ba3e1a632e1a7d6e70e57d13147a06434bf6 (diff) | |
download | ports-cc9b2efba46f34f81fcc465a84b1fe9dd27eff61.tar.gz ports-cc9b2efba46f34f81fcc465a84b1fe9dd27eff61.zip |
Notes
Diffstat (limited to 'misc/fortune-mod-epictetus')
-rw-r--r-- | misc/fortune-mod-epictetus/Makefile | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/misc/fortune-mod-epictetus/Makefile b/misc/fortune-mod-epictetus/Makefile index 1be7264212b1..34d9371121ef 100644 --- a/misc/fortune-mod-epictetus/Makefile +++ b/misc/fortune-mod-epictetus/Makefile @@ -12,21 +12,25 @@ COMMENT= Quotes from Epictetus LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE -BUILD_DEPENDS= fortune_strfile:misc/fortune_strfile -STRFILE= ${LOCALBASE}/bin/fortune_strfile - USE_GITHUB= yes GH_ACCOUNT= akosela PLIST_FILES= share/games/fortune/epictetus \ share/games/fortune/epictetus.dat +.if exists(/usr/games/strfile) +STRFILE= /usr/games/strfile +.elif exists(/usr/bin/strfile) +STRFILE= /usr/bin/strfile +.else +IGNORE= needs strfile command. Please install games distribution of base system +.endif + do-build: - (cd ${WRKSRC} && ${STRFILE} epictetus) + @(cd ${WRKSRC} && ${STRFILE} epictetus) do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/share/games/fortune - ${INSTALL_DATA} ${WRKSRC}/epictetus* \ - ${STAGEDIR}${PREFIX}/share/games/fortune + ${INSTALL_DATA} ${WRKSRC}/epictetus* ${STAGEDIR}${PREFIX}/share/games/fortune .include <bsd.port.mk> |