blob: 35e25695cfd8cce109df19058ff64f761e392236 (
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
36
37
38
39
|
# $NetBSD: Makefile,v 1.23 2009/05/19 08:59:01 wiz Exp $
#
DISTNAME= eawpats12_full
PKGNAME= eawpatches-12
PKGREVISION= 3
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_GENTOO:=distfiles/}
MAINTAINER= adam@NetBSD.org
COMMENT= Eric A. Welsh' patches (audio samples) for TiMidity
LICENSE= generic-nonlicense
RESTRICTED= Some patches are copyrighted, some marked no-commercial-use
NO_BIN_ON_FTP= ${RESTRICTED}
NO_BIN_ON_CDROM= ${RESTRICTED}
PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}
NO_BUILD= yes
USE_LANGUAGES= # empty
USE_TOOLS+= pax
MESSAGE_SUBST+= PKG_SYSCONFDIR=${PKG_SYSCONFDIR}
post-extract:
chmod go-w ${WRKSRC}/eawpats/gravis.cfg
pre-configure:
sed -e "s@/home/user/eawpats@${PREFIX}/share/eawpats@" \
< ${WRKSRC}/eawpats/linuxconfig/timidity.cfg \
> ${WRKSRC}/eawpats/timidity.cfg
rm -r ${WRKSRC}/eawpats/linuxconfig \
${WRKSRC}/eawpats/winconfig
do-install:
cd ${WRKSRC} && pax -wr eawpats ${DESTDIR}${PREFIX}/share
.include "../../mk/bsd.pkg.mk"
|