Date: Wed, 14 Sep 2016 05:01:26 +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: r422106 - head/misc/fortune-mod-futurama Message-ID: <201609140501.u8E51QhD039284@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: marino Date: Wed Sep 14 05:01:26 2016 New Revision: 422106 URL: https://svnweb.freebsd.org/changeset/ports/422106 Log: misc/fortune-mod-futurama: Use fortune_strfile instead of strfile(8) This removes the dependency on the games distribution. Approved by: general blanket Modified: head/misc/fortune-mod-futurama/Makefile Modified: head/misc/fortune-mod-futurama/Makefile ============================================================================== --- head/misc/fortune-mod-futurama/Makefile Wed Sep 14 04:55:59 2016 (r422105) +++ head/misc/fortune-mod-futurama/Makefile Wed Sep 14 05:01:26 2016 (r422106) @@ -11,24 +11,20 @@ MASTER_SITES= http://www.netmeister.org/ MAINTAINER= freebsd@skysmurf.nl COMMENT= Compilation of quotes from the TV series "Futurama" +BUILD_DEPENDS= fortune_strfile:misc/fortune_strfile + USES= tar:bzip2 SUB_FILES= pkg-message +STRFILE= ${LOCALBASE}/bin/fortune_strfile PLIST_FILES= share/games/fortune/futurama share/games/fortune/futurama.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: - @${STRFILE} ${WRKSRC}/futurama + ${STRFILE} ${WRKSRC}/futurama do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/share/games/fortune - ${INSTALL_DATA} ${WRKSRC}/futurama* ${STAGEDIR}${PREFIX}/share/games/fortune + ${INSTALL_DATA} ${WRKSRC}/futurama* \ + ${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?201609140501.u8E51QhD039284>