31 lines
698 B
Makefile
31 lines
698 B
Makefile
# $NetBSD: Makefile,v 1.18 2012/09/12 00:24:42 asau Exp $
|
|
#
|
|
|
|
DISTNAME= libmad-0.15.1b
|
|
PKGREVISION= 1
|
|
CATEGORIES= audio
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mad/}
|
|
|
|
MAINTAINER= simonb@NetBSD.org
|
|
HOMEPAGE= http://sourceforge.net/projects/mad/
|
|
COMMENT= High-quality MPEG audio decoder
|
|
|
|
CONFLICTS= mad<0.15
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
GNU_CONFIGURE= YES
|
|
USE_LIBTOOL= YES
|
|
USE_TOOLS+= pkg-config
|
|
|
|
INSTALLATION_DIRS= lib/pkgconfig
|
|
|
|
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 ${DESTDIR}${PREFIX}/lib/pkgconfig
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|