blob: da96c66a6fa423d6ab4f2484a40a396b1b9f1000 (
plain) (
blame)
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
40
41
42
43
44
|
# Created by: nork@FreeBSD.org
# $FreeBSD$
PORTNAME= eawplus
PORTVERSION= 12.1
PORTREVISION= 3
CATEGORIES= audio
MASTER_SITES= LOCAL/nork
MAINTAINER= ports@FreeBSD.org
COMMENT= E.A.W.+Izumo+Tamuki collection of Gravis Ultrasound MIDI patches
# Not useful without timidity.
RUN_DEPENDS= ${LOCALBASE}/share/eawpats/acbass.pat:audio/eawpats \
${LOCALBASE}/share/guspat/inst/GUS/acbass.pat:audio/guspat
NO_CDROM= Some of the patches are marked no-commercial-use
NO_WRKSUBDIR= yes
TIMIDITY_DATADIR= share/timidity
PLIST_SUB= TIMIDITY_DATADIR=${TIMIDITY_DATADIR}
OPTIONS_DEFINE= DOCS
post-extract:
@${RM} ${WRKSRC}/timidity/inst/GUS/power/h-hihatp.pat.orig
@${RM} ${WRKSRC}/timidity/inst/GUS/power/h-snare.pat.orig
do-build:
${SED} -e "s|%%PREFIX%%|${PREFIX}|g" \
-e "s|%%TIMIDITY_DATADIR%%|${PREFIX}/${TIMIDITY_DATADIR}|g" \
${FILESDIR}/timidity.cfg > ${WRKDIR}/timidity.cfg
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
${CP} -pr ${WRKSRC}/timidity/* ${STAGEDIR}${DATADIR}
@${MKDIR} ${STAGEDIR}${PREFIX}/${TIMIDITY_DATADIR}
${INSTALL_DATA} ${WRKDIR}/timidity.cfg \
${STAGEDIR}${PREFIX}/${TIMIDITY_DATADIR}/timidity.cfg-eawplus
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/*/*.txt.gz ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|