summaryrefslogtreecommitdiff
path: root/audio/guspatches/Makefile
blob: 9ad1da82c56dee3f205ec83ea9d2e09e7a2dde18 (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
33
34
35
# $NetBSD: Makefile,v 1.10 2004/12/03 14:20:03 ben Exp $
#

DISTNAME=	dgguspat
PKGNAME=	guspatches-1.0
PKGREVISION=	2
CATEGORIES=	audio
MASTER_SITES=	${MASTER_SITE_LOCAL}
EXTRACT_SUFX=	.zip

MAINTAINER=     tech-pkg@NetBSD.org
COMMENT=	GUS (Gravis Ultrasound) patches (audio samples) for TiMidity

RESTRICTED=		"Uses copyrighted patches"
NO_BIN_ON_FTP=		${RESTRICTED}
NO_BIN_ON_CDROM=	${RESTRICTED}

EXTRACT_ONLY=	# empty
NO_CONFIGURE=	yes
MESSAGE_SUBST+=	PKG_SYSCONFDIR=${PKG_SYSCONFDIR}

do-build:
	${SED} "s|@PREFIX@|${PREFIX}|" < ${FILESDIR}/gravis.cfg > \
		${WRKDIR}/gravis.cfg
	${SED} "s|@PREFIX@|${PREFIX}|" < ${FILESDIR}/timidity.cfg > \
		${WRKDIR}/timidity.cfg

do-install:
	${INSTALL_DATA_DIR} ${PREFIX}/share/guspatches
	cd ${PREFIX}/share/guspatches && unzip -oqL ${DISTDIR}/${DISTFILES}
	${INSTALL_DATA} ${FILESDIR}/midia.cfg ${PREFIX}/share/guspatches
	${INSTALL_DATA} ${WRKDIR}/gravis.cfg ${PREFIX}/share/guspatches
	${INSTALL_DATA} ${WRKDIR}/timidity.cfg ${PREFIX}/share/guspatches

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