pkgsrc/audio/eawpatches/Makefile
hubertf e32afb6fea Change BUILD_DEPENDS semantics:
first component is now a package name+version/pattern, no more
executable/patchname/whatnot.

While there, introduce BUILD_USES_MSGFMT as shorthand to pull in
devel/gettext unless /usr/bin/msgfmt exists (i.e. on post-1.5 -current).

Patch by Alistair Crooks <agc@netbsd.org>
2001-03-27 03:19:43 +00:00

34 lines
914 B
Makefile

# $NetBSD: Makefile,v 1.5 2001/03/27 03:19:45 hubertf Exp $
#
DISTNAME= eawpats-full-10
PKGNAME= eawpatches-10
CATEGORIES= audio
MASTER_SITES= http://www.stardate.bc.ca/eawpatches/
EXTRACT_SUFX= .rar
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.stardate.bc.ca/eawpatches/
COMMENT= Eric A. Welsh' patches (audio samples) for TiMidity
BUILD_DEPENDS= unrar-*:../../archivers/unrar
CONFLICTS= guspatches-*
EXTRACT_ONLY= # empty
NO_PATCH= yes
NO_CONFIGURE= yes
NO_BUILD= yes
do-install:
if [ ! -d ${PREFIX}/share/timidity ]; then \
${INSTALL_DATA_DIR} ${PREFIX}/share/timidity; \
fi
cd ${PREFIX}/share/timidity && \
unrar x -o+ -inul ${DISTDIR}/${DISTNAME}
${SED} -e "s@c:.timidity@${PREFIX}/share/timidity@" \
-e "s@dir c:.eawpats@@" \
< ${PREFIX}/share/timidity/timidity.cfg > /tmp/timidity.tmp
${MV} /tmp/timidity.tmp ${PREFIX}/share/timidity/timidity.cfg
.include "../../mk/bsd.pkg.mk"