30 lines
798 B
Makefile
30 lines
798 B
Makefile
# $NetBSD: Makefile,v 1.18 2020/06/05 03:46:29 ryoon Exp $
|
|
#
|
|
|
|
DISTNAME= fortunes-de_0.20.orig
|
|
PKGNAME= ${DISTNAME:S/.orig$//:S/_/-/}
|
|
CATEGORIES= games
|
|
MASTER_SITES= ${MASTER_SITE_DEBIAN:=pool/main/f/fortunes-de/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://packages.debian.org/unstable/games/fortunes-de.html
|
|
COMMENT= German data files for fortune
|
|
|
|
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
|
|
|
|
BUILD_DEPENDS+= fortune-strfile-[0-9]*:../../games/fortune-strfile
|
|
|
|
STRFILE= ${LOCALBASE}/bin/strfile
|
|
INSTALLATION_DIRS= share/games/fortune/de
|
|
CHECK_PORTABILITY_SKIP= install.sh
|
|
|
|
USE_TOOLS+= pax
|
|
|
|
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"
|