aboutsummaryrefslogtreecommitdiffstats
path: root/audio/timidity/Makefile
blob: 963c0ea9e016792bd21e3e373538ce0d434ce059 (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
# New ports collection makefile for:    timidity
# Homepage: http://www.cgs.fi/~tt/timidity/
# Version required:     0.2i
# Date created:         17 Nov 1996
# Whom:                 ache
#
# $FreeBSD$
#

DISTNAME=       timidity-0.2i
CATEGORIES=     audio
MASTER_SITES=   ftp://ftp.kiarchive.ru/pub/misc/hardware/soundcard/gus/ \
        http://www.goice.co.jp/member/mo/timidity/dist/
DISTFILES=      ${TIINS} ${DISTNAME}.tar.gz

MAINTAINER=     ports@FreeBSD.org

NO_CDROM=       "Uses copyrighted patches"

TIINS=          goemon.tgz
EXTRACT_ONLY=   ${DISTNAME}.tar.gz
INSTALL_TARGET= install.all
MAN1=           timidity.1

post-install:
    cd ${PREFIX}/lib/timidity && \
    tar zxf ${DISTDIR}/${TIINS} && \
    ${CP} goemon.cfg goemon.cfg.bak && \
    ${SED} 's=dir goemon=dir ${PREFIX}/lib/timidity/goemon=' \
       < goemon.cfg.bak > goemon.cfg && \
    ${RM} goemon.cfg.bak

.include <bsd.port.mk>