freebsd-ports/sysutils/libcdio/Makefile
Ade Lovett 54a0b86543 Mass-conversion to the USE_AUTOTOOLS New World Order. The code present
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.

Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.

Preliminary documentation can be found at:
	http://people.FreeBSD.org/~ade/autotools.txt

which is in the process of being SGMLized before introduction into the
Porters Handbook.

Light blue touch-paper.  Run.
2005-11-15 06:52:12 +00:00

36 lines
912 B
Makefile

# New ports collection makefile for: libcdio
# Date created: 2004-04-04
# Whom: arved
#
# $FreeBSD$
PORTNAME= libcdio
PORTVERSION= 0.76
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
USE_AUTOTOOLS= libtool:15
USE_GNOME= gnometarget pkgconfig gnomehack
USE_GMAKE= yes
USE_ICONV= yes
INSTALLS_SHLIB= yes
CONFIGURE_ARGS+= --with-libpopt-prefix=${LOCALBASE} \
--with-libiconv-prefix=${LOCALBASE} \
--without-cd-paranoia
USE_REINPLACE= yes
USE_PERL5_BUILD=yes
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib -liconv"
INFO= libcdio
post-patch:
${REINPLACE_CMD} -e "s,freebsd5\.\*,freebsd5\.\*|freebsd6\.\*," ${WRKSRC}/configure
.include <bsd.port.mk>