1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/sysutils/libcdio/Makefile
Michael Landin 10e4788930 - update to 0.77
- Add a cd-paranoia OPTION

PR:		97291
Submitted by:	Alexander Botero-Lowry <alex@foxybanana.com>
2006-05-24 08:41:02 +00:00

48 lines
1.2 KiB
Makefile

# New ports collection makefile for: libcdio
# Date created: 2004-04-04
# Whom: arved
#
# $FreeBSD$
PORTNAME= libcdio
PORTVERSION= 0.77
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= libcdio
MAINTAINER= mich@FreeBSD.org
COMMENT= Compact Disc Input and Control Library
LIB_DEPENDS= cddb.3:${PORTSDIR}/audio/libcddb \
popt.0:${PORTSDIR}/devel/popt
GNU_CONFIGURE= yes
USE_GNOME= gnometarget pkgconfig gnomehack
USE_GMAKE= yes
USE_ICONV= yes
INSTALLS_SHLIB= yes
CONFIGURE_ARGS+= --with-libpopt-prefix=${LOCALBASE} \
--with-libiconv-prefix=${LOCALBASE} \
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 <bsd.port.pre.mk>
.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 <bsd.port.post.mk>