2314c85f45
zap default spec that are not needed convert libspecs as well convert p* to REVISION. No package changes
64 lines
1.3 KiB
Makefile
64 lines
1.3 KiB
Makefile
# $OpenBSD: Makefile,v 1.8 2010/11/15 00:22:47 espie Exp $
|
|
|
|
COMMENT= compact disk input and control library
|
|
|
|
DISTNAME= libcdio-0.80
|
|
REVISION= 3
|
|
CATEGORIES= audio devel
|
|
|
|
HOMEPAGE= http://www.gnu.org/software/libcdio/
|
|
|
|
SHARED_LIBS += cdio 0.1
|
|
SHARED_LIBS += cdio++ 0.1
|
|
SHARED_LIBS += cdio_cdda 0.1
|
|
SHARED_LIBS += cdio_paranoia 0.1
|
|
SHARED_LIBS += iso9660 0.1
|
|
SHARED_LIBS += iso9660++ 0.1
|
|
SHARED_LIBS += udf 0.1
|
|
|
|
# GPLv2
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
WANTLIB= c ncurses m stdc++ cddb
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU:=libcdio/}
|
|
|
|
MODULES= converters/libiconv
|
|
|
|
LIB_DEPENDS= audio/libcddb
|
|
|
|
USE_GMAKE= Yes
|
|
USE_LIBTOOL= Yes
|
|
USE_GROFF = Yes
|
|
|
|
AUTOCONF_VERSION = 2.61
|
|
|
|
CONFIGURE_STYLE = autoconf
|
|
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
|
|
--enable-cxx \
|
|
--enable-joliet \
|
|
--enable-rock \
|
|
--enable-cddb \
|
|
--disable-vcd-info \
|
|
--with-libiconv-prefix="${LOCALBASE}" \
|
|
--with-cd-drive \
|
|
--with-cd-info \
|
|
--with-cd-paranoia \
|
|
--with-cd-read \
|
|
--with-iso-info \
|
|
--with-iso-read
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib -liconv"
|
|
|
|
post-extract:
|
|
cp ${FILESDIR}/openbsd.c ${WRKSRC}/lib/driver
|
|
|
|
post-install:
|
|
cd ${WRKSRC} && ${INSTALL_DATA} libcdio_cdda.pc libcdio_paranoia.pc \
|
|
${PREFIX}/lib/pkgconfig
|
|
|
|
.include <bsd.port.mk>
|