pkgsrc/misc/libcdio/Makefile
jlam 3e474a90d8 Get rid of USE_PERL5. The new way to express needing the Perl executable
around at either build-time or at run-time is:

	USE_TOOLS+=	perl		# build-time
	USE_TOOLS+=	perl:run	# run-time

Also remove some places where perl5/buildlink3.mk was being included
by a package Makefile, but all that the package wanted was the Perl
executable.
2005-07-16 01:19:06 +00:00

37 lines
982 B
Makefile

# $NetBSD: Makefile,v 1.21 2005/07/16 01:19:14 jlam Exp $
#
DISTNAME= libcdio-0.74
CATEGORIES= misc
MASTER_SITES= ${MASTER_SITE_GNU:=libcdio/}
MAINTAINER= drochner@NetBSD.org
HOMEPAGE= http://www.gnu.org/software/libcdio/
COMMENT= CD-ROM access library
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_PKGLOCALEDIR= yes
USE_LIBTOOL= yes
PKGCONFIG_OVERRIDE+= libcdio.pc.in
PKGCONFIG_OVERRIDE+= libcdio_cdda.pc.in
PKGCONFIG_OVERRIDE+= libcdio_paranoia.pc.in
PKGCONFIG_OVERRIDE+= libiso9660.pc.in
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --without-versioned-libs
USE_TOOLS+= perl:run
INFO_FILES= libcdio.info
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "NetBSD"
# XXX we just replace the freebsd module so save patches
pre-patch:
${CP} ${FILESDIR}/_cdio_netbsd.c ${WRKSRC}/lib/driver/FreeBSD/freebsd.c
.endif
.include "../../devel/pkgconfig/buildlink3.mk"
.include "../../devel/popt/buildlink3.mk"
.include "../../audio/libcddb/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"