e5fad4be03
"fine with me" jasper@
70 lines
1.7 KiB
Makefile
70 lines
1.7 KiB
Makefile
# $OpenBSD: Makefile,v 1.3 2008/03/27 13:02:50 ajacoutot Exp $
|
|
|
|
COMMENT= compact disk input and control library
|
|
|
|
DISTNAME= libcdio-0.80
|
|
PKGNAME= ${DISTNAME}p1
|
|
CATEGORIES= audio devel
|
|
|
|
HOMEPAGE= http://www.gnu.org/software/libcdio/
|
|
|
|
SHARED_LIBS += cdio 0.0 # .8.1
|
|
SHARED_LIBS += iso9660 0.0 # .6.0
|
|
SHARED_LIBS += udf 0.0 # .0.0
|
|
SHARED_LIBS += cdio_cdda 0.0 # .0.3
|
|
SHARED_LIBS += cdio_paranoia 0.0 # .0.2
|
|
SHARED_LIBS += iso9660++ 0.0 # .0.0
|
|
SHARED_LIBS += cdio++ 0.0 # .0.0
|
|
SHARED_LIBS += iso9660 0.0 # .6.0
|
|
SHARED_LIBS += udf 0.0 # .0.0
|
|
SHARED_LIBS += cdio_cdda 0.0 # .0.3
|
|
SHARED_LIBS += cdio_paranoia 0.0 # .0.2
|
|
|
|
# GPLv2
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
WANTLIB= c m
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU:=libcdio/}
|
|
|
|
MODULES= converters/libiconv
|
|
|
|
LIB_DEPENDS= cddb::audio/libcddb
|
|
|
|
USE_GMAKE= Yes
|
|
USE_LIBTOOL= Yes
|
|
|
|
CONFIGURE_STYLE=gnu
|
|
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"
|
|
|
|
# XXX
|
|
# disable cdda-player as it is not functional and hangs forever with
|
|
# "action : read toc...SCIOCCOMMAND cmd 0x43 sts 3"
|
|
CONFIGURE_ARGS+=--without-cdda-player
|
|
|
|
# Shamelessly copied NetBSD's hack
|
|
post-extract:
|
|
cp ${FILESDIR}/openbsd.c ${WRKSRC}/lib/driver/FreeBSD/freebsd.c
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/libcdio_paranoia.pc ${PREFIX}/lib/pkgconfig
|
|
|
|
.include <bsd.port.mk>
|