0c6a3253fe
their files via a custom do-install target.
28 lines
772 B
Makefile
28 lines
772 B
Makefile
# $NetBSD: Makefile,v 1.14 2008/03/04 06:59:04 jlam 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
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
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 . \
|
|
${DESTDIR}${PREFIX}/share/games/fortune/de
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|