Lines 14-36
Link Here
|
14 |
MAINTAINER= ports@FreeBSD.org |
14 |
MAINTAINER= ports@FreeBSD.org |
15 |
COMMENT= Izumo collection of Gravis Ultrasound MIDI patches |
15 |
COMMENT= Izumo collection of Gravis Ultrasound MIDI patches |
16 |
|
16 |
|
17 |
# Not useful without timidity. |
|
|
18 |
RUN_DEPENDS= timidity:${PORTSDIR}/audio/timidity++ |
19 |
|
20 |
NO_CDROM= Some of the patches are marked no-commercial-use |
21 |
|
22 |
NO_BUILD= yes |
17 |
NO_BUILD= yes |
23 |
|
18 |
NO_CDROM= Some of the patches are marked no-commercial-use |
24 |
WRKSRC= ${WRKDIR}/timidity |
|
|
25 |
PLIST_SUB= TIMIDITY_DATADIR=${TIMIDITY_DATADIR} |
19 |
PLIST_SUB= TIMIDITY_DATADIR=${TIMIDITY_DATADIR} |
|
|
20 |
WRKSRC= ${WRKDIR}/timidity |
26 |
|
21 |
|
27 |
TIMIDITY_DATADIR= share/timidity |
22 |
TIMIDITY_DATADIR= share/timidity |
28 |
|
23 |
|
|
|
24 |
post-patch: |
25 |
@${REINPLACE_CMD} -e 's|/timidity|/guspat|g' ${WRKSRC}/timidity.cfg |
26 |
@${RM} ${WRKSRC}/timidity.cfg.bak |
27 |
|
29 |
do-install: |
28 |
do-install: |
30 |
@${MKDIR} ${DATADIR} |
29 |
@${MKDIR} ${DATADIR} |
31 |
@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${DATADIR} |
30 |
@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${DATADIR} |
32 |
@${MKDIR} ${PREFIX}/${TIMIDITY_DATADIR} |
31 |
@${MKDIR} ${PREFIX}/${TIMIDITY_DATADIR} |
33 |
cd ${WRKSRC} && ${INSTALL_DATA} timidity.cfg \ |
32 |
${INSTALL_DATA} ${WRKSRC}/timidity.cfg \ |
34 |
${PREFIX}/${TIMIDITY_DATADIR}/timidity.cfg-guspat |
33 |
${PREFIX}/${TIMIDITY_DATADIR}/timidity.cfg-guspat |
35 |
|
34 |
|
36 |
.include <bsd.port.mk> |
35 |
.include <bsd.port.mk> |