1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/audio/guspat/Makefile
Mathieu Arnold 88bfe4bd43 Cleanup DIST* variables.
When appropriate:
- Try to use DISTVERSION{SUF,PRE}FIX
- Replace PORTNAME-PORTVERSION by DISTNAME
- Convert MASTER_SITES to use macros
- Other light cleanup

With hat:	portmgr
Sponsored by:	Absolight
2015-05-11 18:34:57 +00:00

35 lines
973 B
Makefile

# Created by: nork@FreeBSD.org
# $FreeBSD$
PORTNAME= guspat
PORTVERSION= 20000706
PORTREVISION= 2
CATEGORIES= audio
MASTER_SITES= ftp://plamo.linet.gr.jp/pub/Plamo-src/contrib/Sound/timidity/ \
LOCAL/nork
DISTFILES= ${DISTNAME}-required${EXTRACT_SUFX} \
${DISTNAME}-optional${EXTRACT_SUFX}
MAINTAINER= ports@FreeBSD.org
COMMENT= Izumo collection of Gravis Ultrasound MIDI patches
NO_BUILD= yes
NO_CDROM= Some of the patches are marked no-commercial-use
PLIST_SUB= TIMIDITY_DATADIR=${TIMIDITY_DATADIR}
WRKSRC= ${WRKDIR}/timidity
TIMIDITY_DATADIR= share/timidity
post-patch:
@${REINPLACE_CMD} -e 's|/timidity|/guspat|g' ${WRKSRC}/timidity.cfg
@${RM} ${WRKSRC}/timidity.cfg.bak
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}
@${MKDIR} ${STAGEDIR}${PREFIX}/${TIMIDITY_DATADIR}
${INSTALL_DATA} ${WRKSRC}/timidity.cfg \
${STAGEDIR}${PREFIX}/${TIMIDITY_DATADIR}/timidity.cfg-guspat
.include <bsd.port.mk>