openbsd-ports/audio/timidity/Makefile
espie 39c49b2f64 Various minor clean-ups:
- use new CONFIGURE_STYLE
- use PLIST/DESCR substitution to add HOMEPAGE and various fragments
- add systematic @comment $OpenBSD$ to PLIST
- remove FAKE=Yes
2000-06-10 17:39:11 +00:00

36 lines
936 B
Makefile

# $OpenBSD: Makefile,v 1.14 2000/06/10 17:39:23 espie Exp $
DISTNAME= timidity-0.2i
CATEGORIES= audio
NEED_VERSION= 1.91
MASTER_SITES= http://www.goice.co.jp/member/mo/timidity/dist/
MASTER_SITES0= ftp://ftp.kiarchive.ru/pub/misc/hardware/soundcard/gus/
NO_CDROM= "Uses copyrighted patches"
TIINS= goemon.tgz
DISTFILES= ${TIINS}:0 ${DISTNAME}.tar.gz
EXTRACT_ONLY= ${DISTNAME}.tar.gz
MAINTAINER= ports@openbsd.org
LICENSE_TYPE= "GPL NONE"
PERMIT_PACKAGE_CDROM= No
PERMIT_PACKAGE_FTP= No
PERMIT_DISTFILES_CDROM= No
PERMIT_DISTFILES_FTP= No
USE_MOTIF= Yes
INSTALL_TARGET= install.all
FAKE_FLAGS=PREFIX=${PREFIX} DESTDIR=${WRKINST}
post-install:
@cd ${PREFIX}/lib/timidity && \
tar zxf ${DISTDIR}/${TIINS} && \
cp goemon.cfg goemon.cfg.bak && \
sed 's=dir goemon=dir ${TRUEPREFIX}/lib/timidity/goemon=' \
< goemon.cfg.bak > goemon.cfg && \
rm -f goemon.cfg.bak
.include <bsd.port.mk>