diff options
Diffstat (limited to 'misc')
-rw-r--r-- | misc/fortune-mod-epictetus/Makefile | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/misc/fortune-mod-epictetus/Makefile b/misc/fortune-mod-epictetus/Makefile index 34d9371121ef..1be7264212b1 100644 --- a/misc/fortune-mod-epictetus/Makefile +++ b/misc/fortune-mod-epictetus/Makefile @@ -12,25 +12,21 @@ 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> |