mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
3505159e72
Move ports to the licenses framework. RESTRICTED → auto-accept (unless expressly stated otherwise) NO_CDROM → dist-mirror pkg-mirror auto-accept Differential Revision: https://reviews.freebsd.org/D30010
40 lines
1.1 KiB
Makefile
40 lines
1.1 KiB
Makefile
# Created by: nork@FreeBSD.org
|
|
|
|
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
|
|
|
|
# Converted from NO_CDROM
|
|
LICENSE= GUSPAT
|
|
LICENSE_NAME= guspat
|
|
LICENSE_TEXT= Some of the patches are marked no-commercial-use
|
|
LICENSE_PERMS= dist-mirror pkg-mirror auto-accept
|
|
|
|
NO_BUILD= yes
|
|
NO_ARCH= yes
|
|
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>
|