2018-11-20 11:19:29 +01:00
|
|
|
# $NetBSD: Makefile,v 1.42 2018/11/20 10:19:29 adam Exp $
|
2011-05-17 13:17:24 +02:00
|
|
|
|
|
|
|
.include "../../graphics/GraphicsMagick/Makefile.common"
|
|
|
|
|
|
|
|
PKGNAME= p5-GraphicsMagick-${DISTVERSION}
|
|
|
|
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
|
|
HOMEPAGE= http://www.graphicsmagick.org/perl.html
|
|
|
|
COMMENT= Object-oriented Perl interface to GraphicMagick
|
2012-11-03 21:45:46 +01:00
|
|
|
LICENSE= mit
|
2011-05-17 13:17:24 +02:00
|
|
|
|
|
|
|
USE_LIBTOOL= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS+= --with-perl=${PERL5:Q}
|
|
|
|
|
|
|
|
PERL5_CONFIGURE= no
|
|
|
|
PERL5_CONFIGURE_DIRS= ${WRKSRC}/PerlMagick
|
|
|
|
PERL5_PACKLIST= auto/Graphics/Magick/.packlist
|
|
|
|
BUILD_DIRS= ${PERL5_CONFIGURE_DIRS}
|
|
|
|
|
|
|
|
post-configure: perl5-configure
|
|
|
|
|
2011-05-18 16:26:26 +02:00
|
|
|
SUBST_CLASSES+= libdir
|
|
|
|
SUBST_STAGE.libdir= pre-configure
|
2011-05-21 00:06:31 +02:00
|
|
|
SUBST_SED.libdir= -e 's|@MAGICKLIBDIR@|${BUILDLINK_PREFIX.GraphicsMagick}/lib ${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.GraphicsMagick}/lib|g'
|
2011-05-18 16:26:26 +02:00
|
|
|
SUBST_FILES.libdir= PerlMagick/Makefile.PL.in
|
|
|
|
|
2011-05-17 13:17:24 +02:00
|
|
|
BUILDLINK_API_DEPENDS.GraphicsMagick+= GraphicsMagick>=${DISTVERSION}
|
|
|
|
.include "../../graphics/GraphicsMagick/buildlink3.mk"
|
|
|
|
.include "../../lang/perl5/module.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|