summaryrefslogtreecommitdiff
path: root/audio/guspatches/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'audio/guspatches/Makefile')
-rw-r--r--audio/guspatches/Makefile37
1 files changed, 37 insertions, 0 deletions
diff --git a/audio/guspatches/Makefile b/audio/guspatches/Makefile
new file mode 100644
index 00000000000..4877e740300
--- /dev/null
+++ b/audio/guspatches/Makefile
@@ -0,0 +1,37 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/12/17 01:41:42 wiz Exp $
+#
+
+DISTNAME= dgguspat
+PKGNAME= guspatches-1.0
+CATEGORIES= audio
+MASTER_SITES= ${MASTER_SITE_LOCAL}
+EXTRACT_SUFX= .zip
+
+MAINTAINER= packages@netbsd.org
+
+BUILD_DEPENDS+= unzip:../../archivers/unzip
+
+CONFLICTS= eawpatches-*
+
+RESTRICTED= "Uses copyrighted patches"
+NO_BIN_ON_FTP= ${RESTRICTED}
+NO_BIN_ON_CDROM= ${RESTRICTED}
+
+EXTRACT_ONLY= # empty
+NO_PATCH= yes
+NO_CONFIGURE= yes
+
+do-build:
+ ${SED} "s|@PREFIX@|${PREFIX}|" < ${FILESDIR}/gravis.cfg > \
+ ${WRKDIR}/gravis.cfg
+ ${SED} "s|@PREFIX@|${PREFIX}|" < ${FILESDIR}/timidity.cfg > \
+ ${WRKDIR}/timidity.cfg
+
+do-install:
+ ${MKDIR} ${PREFIX}/share/timidity
+ cd ${PREFIX}/share/timidity && unzip -oqL ${DISTDIR}/${DISTFILES}
+ ${INSTALL_DATA} ${FILESDIR}/midia.cfg ${PREFIX}/share/timidity
+ ${INSTALL_DATA} ${WRKDIR}/gravis.cfg ${PREFIX}/share/timidity
+ ${INSTALL_DATA} ${WRKDIR}/timidity.cfg ${PREFIX}/share/timidity
+
+.include "../../mk/bsd.pkg.mk"