2011-03-18 19:58:55 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.10 2011/03/18 23:58:55 sthen Exp $
|
2008-03-20 14:24:42 -04:00
|
|
|
|
2011-03-18 19:58:55 -04:00
|
|
|
COMMENT= compact disk input and control library
|
2008-03-20 14:24:42 -04:00
|
|
|
|
2011-03-18 19:58:55 -04:00
|
|
|
DISTNAME= libcdio-0.80
|
|
|
|
REVISION= 5
|
|
|
|
CATEGORIES= audio devel
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU:=libcdio/}
|
2008-03-20 14:24:42 -04:00
|
|
|
|
2011-03-18 19:58:55 -04:00
|
|
|
SHARED_LIBS= cdio 0.1 \
|
|
|
|
cdio++ 0.1 \
|
|
|
|
cdio_cdda 0.1 \
|
|
|
|
cdio_paranoia 0.1 \
|
|
|
|
iso9660 0.1 \
|
|
|
|
iso9660++ 0.1 \
|
|
|
|
udf 0.1
|
2008-03-20 14:24:42 -04:00
|
|
|
|
2011-03-18 19:58:55 -04:00
|
|
|
HOMEPAGE= http://www.gnu.org/software/libcdio/
|
2008-03-20 14:24:42 -04:00
|
|
|
|
2011-03-18 19:58:55 -04:00
|
|
|
# GPLv2+
|
2008-03-20 14:24:42 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2011-03-18 19:58:55 -04:00
|
|
|
WANTLIB= c cddb m ncurses stdc++
|
2008-03-20 14:24:42 -04:00
|
|
|
|
|
|
|
MODULES= converters/libiconv
|
2010-11-14 19:22:45 -05:00
|
|
|
LIB_DEPENDS= audio/libcddb
|
2008-03-20 14:24:42 -04:00
|
|
|
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
USE_LIBTOOL= Yes
|
2011-03-18 19:58:55 -04:00
|
|
|
USE_GROFF= Yes
|
|
|
|
CONFIGURE_STYLE= autoconf
|
|
|
|
AUTOCONF_VERSION= 2.61
|
2008-03-20 14:24:42 -04:00
|
|
|
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
|
2011-03-18 19:58:55 -04:00
|
|
|
--disable-vcd-info
|
2008-03-20 14:24:42 -04:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2011-03-18 19:58:55 -04:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2008-03-20 14:24:42 -04:00
|
|
|
|
|
|
|
post-extract:
|
2011-03-18 19:58:55 -04:00
|
|
|
@cp ${FILESDIR}/openbsd.c ${WRKSRC}/lib/driver
|
2008-03-20 14:24:42 -04:00
|
|
|
|
|
|
|
post-install:
|
2008-05-01 05:05:12 -04:00
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} libcdio_cdda.pc libcdio_paranoia.pc \
|
|
|
|
${PREFIX}/lib/pkgconfig
|
2008-03-20 14:24:42 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|