diff options
Diffstat (limited to 'graphics/p5-PerlMagick/Makefile')
-rw-r--r-- | graphics/p5-PerlMagick/Makefile | 29 |
1 files changed, 18 insertions, 11 deletions
diff --git a/graphics/p5-PerlMagick/Makefile b/graphics/p5-PerlMagick/Makefile index d24386fef77..769c122fb43 100644 --- a/graphics/p5-PerlMagick/Makefile +++ b/graphics/p5-PerlMagick/Makefile @@ -1,29 +1,26 @@ -# $NetBSD: Makefile,v 1.17 2002/07/07 06:23:49 simonb Exp $ +# $NetBSD: Makefile,v 1.18 2002/08/22 08:06:15 tron Exp $ -DISTNAME= ImageMagick-5.3.9 -PKGNAME= p5-PerlMagick-5.3.9 -PKGREVISION= 1 +DISTNAME= ImageMagick-5.4.8-2 +PKGNAME= p5-PerlMagick-5.4.8.2 SVR4_PKGNAME= p5pma CATEGORIES= graphics -MASTER_SITES= ${MASTER_SITE_LOCAL} +MASTER_SITES= ftp://ftp.nluug.nl/pub/ImageMagick/ \ + ftp://ftp.yggdrasil.com/mirrors/site/ftp.simplesystems.org/pub/ImageMagick/ \ + ftp://ftp.fu-berlin.de/unix/X11/graphics/ImageMagick/ EXTRACT_SUFX= .tar.bz2 MAINTAINER= tron@netbsd.org HOMEPAGE= http://www.simplesystems.org/ImageMagick/ COMMENT= Object-oriented Perl interface to ImageMagick -# restore following line on next update -#DEPENDS+= ${DISTNAME}:../../graphics/ImageMagick -DEPENDS+= ImageMagick-5.3.9nb1:../../graphics/ImageMagick - -NO_SRC_ON_FTP= Already in MASTER_SITE_LOCAL +DEPENDS+= ${DISTNAME:S/-2/.2/}:../../graphics/ImageMagick DISTINFO_FILE= ${.CURDIR}/../../graphics/ImageMagick/distinfo FILESDIR= ${.CURDIR}/../../graphics/ImageMagick/files PATCHDIR= ${.CURDIR}/../../graphics/ImageMagick/patches USE_LIBTOOL= YES -LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig +LIBTOOL_OVERRIDE= ${WRKSRC}/libtool USE_PERL5= YES PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Image/Magick/.packlist @@ -31,6 +28,8 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Image/Magick/.packlist GNU_CONFIGURE= YES USE_X11= YES +WRKSRC= ${WRKDIR}/${DISTNAME:S/-2//} + # These need to coordinate with the ImageMagick package. # Just leave out "--without-perl". @@ -39,6 +38,14 @@ CONFIGURE_ARGS+= --with-perl=${PERL5} \ --without-hdf --without-jbig --without-threads \ --without-ttf --without-xml +.include "../../mk/bsd.prefs.mk" + +.if (${OPSYS} == NetBSD) +BUILD_DEPENDS+= bash>=2.0:../../shells/bash2 + +CONFIGURE_SCRIPT= ${LOCALBASE}/bin/bash ./configure +.endif + post-configure: cd ${WRKSRC}/PerlMagick && ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL |