summaryrefslogtreecommitdiff
path: root/games/fortunes-de/Makefile
blob: 59791cab3daf1c1a48ed2273a97c615cd84eaf7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# $NetBSD: Makefile,v 1.9 2005/11/11 20:26:57 wiz Exp $
#

DISTNAME=	fortunes-de_0.19.orig
PKGNAME=	fortunes-de-0.19
CATEGORIES=	games
MASTER_SITES=	${MASTER_SITE_DEBIAN:=pool/main/f/fortunes-de/}

MAINTAINER=	tech-pkg@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

WRKSRC=		${WRKDIR}/fortunes-de-0.19

do-build:
	${FIND} ${WRKSRC}/data -type f -exec ${STRFILE} {} \;

do-install:
	${INSTALL_DATA_DIR} ${PREFIX}/share/games/fortune/de
	cd ${WRKSRC}/data && ${PAX} -rw . ${PREFIX}/share/games/fortune/de

.include "../../mk/bsd.pkg.mk"