openbsd-ports/audio/libmad/Makefile

35 lines
805 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.9 2007/09/15 21:26:01 simon Exp $
COMMENT= high-quality MPEG audio decoder
2004-02-20 21:32:20 -05:00
DISTNAME= libmad-0.15.1b
2005-10-18 19:24:25 -04:00
PKGNAME= ${DISTNAME}p1
CATEGORIES= audio
HOMEPAGE= http://www.underbit.com/products/mad/
2006-10-28 06:30:41 -04:00
SHARED_LIBS += mad 2.1 # .2.1
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ftp://ftp.mars.org/pub/mpeg/ \
${MASTER_SITE_SOURCEFORGE:=mad/}
2005-10-18 19:24:25 -04:00
USE_LIBTOOL= Yes
SEPARATE_BUILD= simple
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED}
post-patch:
@cp ${FILESDIR}/mad.pc.in ${WRKSRC}
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/lib/pkgconfig
${INSTALL_DATA} ${WRKBUILD}/mad.pc ${PREFIX}/lib/pkgconfig
.include <bsd.port.mk>