From 10e47889305974b8076a3298563a83c4acc414de Mon Sep 17 00:00:00 2001 From: Michael Landin Date: Wed, 24 May 2006 08:41:02 +0000 Subject: - update to 0.77 - Add a cd-paranoia OPTION PR: 97291 Submitted by: Alexander Botero-Lowry --- sysutils/libcdio/Makefile | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) (limited to 'sysutils/libcdio/Makefile') diff --git a/sysutils/libcdio/Makefile b/sysutils/libcdio/Makefile index cf35eca53be6..f7829ea5b1d4 100644 --- a/sysutils/libcdio/Makefile +++ b/sysutils/libcdio/Makefile @@ -5,8 +5,7 @@ # $FreeBSD$ PORTNAME= libcdio -PORTVERSION= 0.76 -PORTREVISION= 1 +PORTVERSION= 0.77 CATEGORIES= sysutils MASTER_SITES= ${MASTER_SITE_GNU} MASTER_SITE_SUBDIR= libcdio @@ -24,13 +23,25 @@ USE_ICONV= yes INSTALLS_SHLIB= yes CONFIGURE_ARGS+= --with-libpopt-prefix=${LOCALBASE} \ --with-libiconv-prefix=${LOCALBASE} \ - --without-cd-paranoia USE_PERL5_BUILD=yes CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib -liconv" INFO= libcdio +OPTIONS= PARANOIA "Support for accessing audio via CD Paranoia" off + +.include + +.ifdef(WITH_PARANOIA) +LIB_DEPENDS+= cdda_paranoia.0:${PORTSDIR}/audio/cdparanoia +PLIST_SUB+= PARANOIA="" +MAN1= cd-paranoia.1 +.else +CONFIGURE_ARGS+= --without-cd-paranoia +PLIST_SUB+= PARANOIA="@comment " +.endif + post-patch: ${REINPLACE_CMD} -e "s,freebsd5\.\*,freebsd5\.\*|freebsd6\.\*|freebsd7\.\*," ${WRKSRC}/configure -.include +.include -- cgit v1.2.3