blob: f1c24a6d3c6635ee604a6f3177c360ff557ca9f1 (
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
# New ports collection makefile for: eawpats
# Date created: 3 September 2003
# Whom: Jonathan Lennox <lennox@cs.columbia.edu>
#
# $FreeBSD$
#
PORTNAME= eawpats
PORTVERSION= 12
CATEGORIES= audio
MASTER_SITES= http://www.stardate.bc.ca/eawpatches/
DISTNAME= eawpats12_full
EXTRACT_SUFX= .rar
MAINTAINER= lennox@cs.columbia.edu
COMMENT= Eric A. Welsh's collection of Gravis Ultrasound MIDI patches
EXTRACT_DEPENDS= unrar:${PORTSDIR}/archivers/unrar
# Not useful without timidity.
RUN_DEPENDS= timidity:${PORTSDIR}/audio/timidity++
BROKEN= "Unfetchable"
DEPRECATED= ${BROKEN}
EXPIRATION_DATE=2004-06-18
RESTRICTED= Some of the patches are marked no-commercial-use
NO_BUILD= yes
USE_REINPLACE= yes
PATCH_SUBDIRS= ethnic mazpat/fx gsdrum08 gsdrum25 gsdrum40 gus power sfx wime
DOC_SUBDIRS= ethnic gsdrum08 gsdrum25 gsdrum40 power wime
WRKSRC= ${WRKDIR}
TIMIDITY_DATADIR= ${PREFIX}/share/timidity
EXTRACT_CMD= unrar
EXTRACT_BEFORE_ARGS= x
EXTRACT_AFTER_ARGS=
post-patch:
@${REINPLACE_CMD} -e 's|c:\\timidity|${DATADIR}|;s|c:\\eawpats|${DATADIR}|' ${WRKSRC}/timidity.cfg
do-install:
${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/*.cfg ${WRKSRC}/*.pat ${WRKSRC}/*.ini ${DATADIR}
.for subdir in ${PATCH_SUBDIRS}
${MKDIR} ${DATADIR}/${subdir}
${INSTALL_DATA} ${WRKSRC}/${subdir}/*.pat ${DATADIR}/${subdir}
.endfor
${MKDIR} ${TIMIDITY_DATADIR}
${INSTALL_DATA} ${WRKSRC}/timidity.cfg ${TIMIDITY_DATADIR}
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/*.txt ${WRKSRC}/*.hlp ${DOCSDIR}
.for subdir in ${DOC_SUBDIRS}
${MKDIR} ${DOCSDIR}/${subdir}
${INSTALL_MAN} ${WRKSRC}/${subdir}/*.txt ${DOCSDIR}/${subdir}
.endfor
.endif
.include <bsd.port.mk>
|