pkgsrc/games/fortunes-de/Makefile
rillig 92b539495f Of course, the generated *.dat files should not take part in further
generation, and so forth, ad infinitum. (The search order of find(1)
seems to be different between NetBSD and Solaris.)
2007-01-07 13:24:33 +00:00

25 lines
724 B
Makefile

# $NetBSD: Makefile,v 1.13 2007/01/07 13:24:33 rillig Exp $
#
DISTNAME= fortunes-de-0.20
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_DEBIAN:=pool/main/f/fortunes-de/}
DISTFILES= fortunes-de_0.20.orig.tar.gz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://packages.debian.org/unstable/games/fortunes-de.html
COMMENT= German data files for fortune
BUILD_DEPENDS+= fortune-strfile-[0-9]*:../../games/fortune-strfile
STRFILE= ${LOCALBASE}/bin/strfile
INSTALLATION_DIRS= share/games/fortune/de
CHECK_PORTABILITY_SKIP= install.sh
do-build:
find ${WRKSRC}/data -type f ! -name "*.dat" -exec ${STRFILE} {} \;
do-install:
cd ${WRKSRC}/data && pax -rw . ${PREFIX}/share/games/fortune/de
.include "../../mk/bsd.pkg.mk"