summaryrefslogtreecommitdiff
path: root/audio/timidity/Makefile
blob: 182330622a4cb2c73a43fc73aca0598de988f998 (plain)
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
# $NetBSD: Makefile,v 1.14 1998/06/18 16:15:11 agc Exp $
#

DISTNAME=       timidity-0.2i
CATEGORIES=     audio
MASTER_SITES=   ftp://ftp.cdrom.com/pub/demos/music/samples/ \
		http://www.cgs.fi/~tt/timidity/
TIINS=          dgguspat.zip
DISTFILES=      ${TIINS} ${DISTNAME}.tar.gz

MAINTAINER=     mycroft@NetBSD.ORG

BUILD_DEPENDS=  unzip:../../archivers/unzip
RUN_DEPENDS=	wish8.0:../../x11/tk80
DEPENDS+=	ncurses-1.9.9g:../../devel/ncurses
DEPENDS+=	tk-8.0p2:../../x11/tk80

NO_CDROM=       "Uses copyrighted patches"

# this pkg opens some X connectin
.ifndef DISPLAY
IS_INTERACTIVE= yes
.endif
EXTRACT_ONLY=   ${DISTNAME}.tar.gz
INSTALL_TARGET= install.all

do-configure:
	@cd ${WRKSRC} && \
	${SED} "s=%PREFIX%=${PREFIX}=" < gravis.cfg > gravis.cfg.new && \
	${MV} gravis.cfg.new gravis.cfg

post-install:
	cd ${PREFIX}/lib/timidity/patch && \
	unzip -o -q -L ${DISTDIR}/${TIINS}

.include "../../mk/bsd.pkg.mk"