summaryrefslogtreecommitdiff
path: root/games/crack-attack-sounds/Makefile
blob: a18aeffcd01790070e07c64d551fff5dcbbf260a (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
26
27
28
29
30
31
32
# $NetBSD: Makefile,v 1.2 2008/06/12 02:14:30 joerg Exp $
#

DISTNAME=	crack-attack-sounds-1.1.14-58.noarch
PKGNAME=	crack-attack-sounds-1.1.14
CATEGORIES=	games
MASTER_SITES=	http://download.opensuse.org/distribution/10.3/repo/oss/suse/noarch/ \
		http://lisa.gov.pt/ftp/suse/10.3/repo/oss/suse/noarch/
EXTRACT_SUFX=	.rpm

MAINTAINER=	dsainty@NetBSD.org
HOMEPAGE=	http://www.miguev.net/background-music-for-crack-attack-119-v05/
COMMENT=	Music and sounds for crack-attack

PKG_DESTDIR_SUPPORT=	user-destdir

WRKSRC=		${WRKDIR}/usr/share/games/crack-attack
USE_LANGUAGES=	# none
NO_BUILD=	yes
NO_CONFIGURE=	yes

DESTDATADIR=	${DESTDIR}${PREFIX}/share/crack-attack

do-install:
	${INSTALL_DATA_DIR} ${DESTDATADIR}
	set -e; cd ${WRKSRC}; \
	for dir in music sounds; do \
		${INSTALL_DATA_DIR} "${DESTDATADIR}/$$dir"; \
		${INSTALL_DATA} "$$dir"/* "${DESTDATADIR}/$$dir"; \
	done

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