Date: Wed, 14 Sep 2016 05:16:28 +0000 (UTC) From: John Marino <marino@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r422108 - head/misc/fortune-mod-bofh Message-ID: <201609140516.u8E5GS6u046987@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: marino Date: Wed Sep 14 05:16:28 2016 New Revision: 422108 URL: https://svnweb.freebsd.org/changeset/ports/422108 Log: misc/fortune-mod-bofh: Use fortune_strfile instead of strfile(8) This removes the dependency on the games distribution. Approved by: general blanket Modified: head/misc/fortune-mod-bofh/Makefile Modified: head/misc/fortune-mod-bofh/Makefile ============================================================================== --- head/misc/fortune-mod-bofh/Makefile Wed Sep 14 05:09:12 2016 (r422107) +++ head/misc/fortune-mod-bofh/Makefile Wed Sep 14 05:16:28 2016 (r422108) @@ -12,24 +12,20 @@ DISTFILES= bofh-fortune-mod${PORTVERSION MAINTAINER= onatan@gmail.com COMMENT= Compilation of excuses from the "Bastard Operator From Hell" +BUILD_DEPENDS= fortune_strfile:misc/fortune_strfile +STRFILE= ${LOCALBASE}/bin/fortune_strfile + WRKSRC= ${WRKDIR}/bofh-fortune-mod2.0 PKGMESSAGE= ${WRKDIR}/pkg-message SUB_FILES= pkg-message -.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: - @${STRFILE} ${WRKSRC}/bofh + ${STRFILE} ${WRKSRC}/bofh do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/share/games/fortune - ${INSTALL_DATA} ${WRKSRC}/bofh* ${STAGEDIR}${PREFIX}/share/games/fortune + ${INSTALL_DATA} ${WRKSRC}/bofh* \ + ${STAGEDIR}${PREFIX}/share/games/fortune .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201609140516.u8E5GS6u046987>