summaryrefslogtreecommitdiff
path: root/audio/libmad/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'audio/libmad/Makefile')
-rw-r--r--audio/libmad/Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/audio/libmad/Makefile b/audio/libmad/Makefile
index ff41215ff84..ca02856d4b1 100644
--- a/audio/libmad/Makefile
+++ b/audio/libmad/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.4 2003/07/17 21:22:41 grant Exp $
+# $NetBSD: Makefile,v 1.5 2003/12/17 03:23:45 simonb Exp $
#
DISTNAME= libmad-0.15.0b
+PKGREVISION= 1
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mad/} \
ftp://ftp.mars.org/pub/mpeg/
@@ -17,4 +18,13 @@ GNU_CONFIGURE= YES
USE_LIBTOOL= YES
LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
+post-build:
+ ${SED} -e 's,@PREFIX@,${PREFIX},g' \
+ -e 's,@VERSION@,${PKGVERSION},g' \
+ < ${FILESDIR}/mad.pc.in > ${WRKDIR}/mad.pc
+
+post-install:
+ ${INSTALL_DATA} ${WRKDIR}/mad.pc ${PREFIX}/lib/pkgconfig
+
+.include "../../devel/pkgconfig/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"