pkgsrc/games/fortunes-it/Makefile
leot 926f3b4d50 Do not invoke strfile on any possible `*.dat' files (similarly to fortunes-de
package).

Should fix an issue appeared on Joyent SmartOS bulk build.
2017-08-01 11:20:33 +00:00

27 lines
747 B
Makefile

# $NetBSD: Makefile,v 1.2 2017/08/01 11:20:33 leot Exp $
#
DISTNAME= fortune-it-1.99
PKGNAME= ${DISTNAME:S/fortune/fortunes/}
CATEGORIES= games
MASTER_SITES= http://www.fortune-it.net/download/ \
ftp://sunsite.unc.edu/pub/Linux/games/amusements/fortune/
MAINTAINER= leot@NetBSD.org
HOMEPAGE= http://www.fortune-it.net/
COMMENT= Italian fortunes
LICENSE= public-domain
BUILD_DEPENDS+= fortune-strfile-[0-9]*:../../games/fortune-strfile
STRFILE= ${LOCALBASE}/bin/strfile
do-build:
find ${WRKSRC}/testi/ -type f ! -name "*.dat" -exec ${STRFILE} {} \;
do-install:
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/games/fortune/it
${INSTALL_DATA} ${WRKSRC}/testi/* \
${DESTDIR}${PREFIX}/share/games/fortune/it
.include "../../mk/bsd.pkg.mk"