summaryrefslogtreecommitdiff
path: root/games/fortunes-de/Makefile
blob: e62c977e33378bc0bb2790a8312b0554de6197f3 (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
# $NetBSD: Makefile,v 1.3 2003/04/10 01:28:16 grant Exp $
#

DISTNAME=	fortunes-de_0.6.orig
PKGNAME=	fortunes-de-0.6
WRKSRC=		${WRKDIR}/fortunes-de-0.6
CATEGORIES=	games
MASTER_SITES=	http://ftp.debian.org/debian/pool/main/f/fortunes-de/

MAINTAINER=	packages@netbsd.org
HOMEPAGE=	http://packages.debian.org/unstable/games/fortunes-de.html
COMMENT=	German data files for fortune

BUILD_DEPENDS+=	fortune-strfile-*:../../games/fortune-strfile
STRFILE=	${LOCALBASE}/bin/strfile

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"