pkgsrc/graphics/p5-PerlMagick/Makefile

37 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.68 2010/01/17 12:02:21 wiz Exp $
PKG_DESTDIR_SUPPORT= user-destdir
.include "../../graphics/ImageMagick/Makefile.common"
PKGNAME= p5-PerlMagick-${DISTVERSION}
PKGREVISION= 2
SVR4_PKGNAME= p5pma
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.simplesystems.org/ImageMagick/www/perl-magick.html
COMMENT= Object-oriented Perl interface to ImageMagick
DISTINFO_FILE= ${.CURDIR}/../../graphics/ImageMagick/distinfo
FILESDIR= ${.CURDIR}/../../graphics/ImageMagick/files
PATCHDIR= ${.CURDIR}/../../graphics/ImageMagick/patches
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
# Some configure_args come from Makefile.common
CONFIGURE_ARGS+= --with-perl=${PERL5:Q}
PERL5_CONFIGURE= no
PERL5_CONFIGURE_DIRS= ${WRKSRC}/PerlMagick
PERL5_PACKLIST= auto/Image/Magick/.packlist
BUILD_DIRS= ${PERL5_CONFIGURE_DIRS}
post-configure: perl5-configure
BUILDLINK_API_DEPENDS.ImageMagick+= ImageMagick>=${DISTVERSION}
.include "../../graphics/ImageMagick/buildlink3.mk"
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"