diff options
author | sf <sf@FreeBSD.org> | 2001-03-13 22:36:26 +0000 |
---|---|---|
committer | sf <sf@FreeBSD.org> | 2001-03-13 22:36:26 +0000 |
commit | 22e0c54eb35809bca4ccb7ae3195d8108446749f (patch) | |
tree | 7807849c233d3bc5d194fb12b80a32b45553f509 /graphics | |
parent | 350b02a331227431bca3777a421dd8dffda0ef34 (diff) | |
download | FreeBSD-ports-22e0c54eb35809bca4ccb7ae3195d8108446749f.zip FreeBSD-ports-22e0c54eb35809bca4ccb7ae3195d8108446749f.tar.gz |
o cleanup MASTER_SITES.
o add dependency on devel/libfpx.
o get rid of libtool dependency unless WITH_MODULES.
o trim unnecessary BUILD_DEPENDS'.
PR: 25745
Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/ImageMagick/Makefile | 74 | ||||
-rw-r--r-- | graphics/ImageMagick/pkg-descr | 2 | ||||
-rw-r--r-- | graphics/ImageMagick/pkg-plist | 4 |
3 files changed, 35 insertions, 45 deletions
diff --git a/graphics/ImageMagick/Makefile b/graphics/ImageMagick/Makefile index fbd9c7e..08381e6 100644 --- a/graphics/ImageMagick/Makefile +++ b/graphics/ImageMagick/Makefile @@ -7,21 +7,21 @@ PORTNAME= ImageMagick PORTVERSION= 5.2.9 +PORTREVISION= 1 CATEGORIES= graphics perl5 MASTER_SITES= ftp://ftp.yggdrasil.com/mirrors/site/ftp.simplesystems.org/pub/ImageMagick/ \ - ftp://ftp.cdrom.com/pub/ImageMagick/ \ + ftp://gd.tuwien.ac.at/pub/graphics/ImageMagick/ \ + ftp://ftp.sunet.se/pub/multimedia/graphics/ImageMagick/ \ ftp://ftp.u-aizu.ac.jp/pub/graphics/image/ImageMagick/ \ ftp://ftp.fifi.org/pub/ImageMagick/ \ - ftp://gd.tuwien.ac.at/pub/graphics/ImageMagick/ \ ftp://ftp.simplesystems.org/pub/ImageMagick/ \ ${MASTER_SITE_RINGSERVER} MASTER_SITE_SUBDIR= graphics/ImageMagick MAINTAINER= ports@FreeBSD.org -RUN_DEPENDS= ${BUILD_DEPENDS} LIB_DEPENDS= bz2.1:${PORTSDIR}/archivers/bzip2 \ - ltdl.1:${PORTSDIR}/devel/libtool \ + fpx.1:${PORTSDIR}/graphics/libfpx \ df.1:${PORTSDIR}/graphics/hdf \ jbig.1:${PORTSDIR}/graphics/jbigkit \ jpeg.9:${PORTSDIR}/graphics/jpeg \ @@ -30,44 +30,22 @@ LIB_DEPENDS= bz2.1:${PORTSDIR}/archivers/bzip2 \ tiff.4:${PORTSDIR}/graphics/tiff \ freetype.6:${PORTSDIR}/print/freetype2 \ xml2.5:${PORTSDIR}/textproc/libxml2 -BUILD_DEPENDS= picttoppm:${PORTSDIR}/graphics/netpbm - -.ifndef NO_X -BUILD_DEPENDS+= mpeg2decode:${PORTSDIR}/graphics/mpeg2codec \ - gs:${PORTSDIR}/print/ghostscript6 \ - fig2dev:${PORTSDIR}/print/transfig -LIB_DEPENDS+= wmf.1:${PORTSDIR}/graphics/libwmf -USE_XLIB= yes -.else -BUILD_DEPENDS+= gs:${PORTSDIR}/print/ghostscript6-nox11 -PKGNAMESUFFIX= -nox11 -.endif USE_PERL5= yes USE_LIBTOOL= yes -LIBTOOLFLAGS= # empty USE_AUTOCONF= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LIBS="-L${LOCALBASE}/lib" -CONFIGURE_ARGS= --enable-shared \ - --with-perl=${PERL5} - -.ifdef WITH_MODULES -CONFIGURE_ARGS+=--with-modules -PLIST_SUB+= MODULES='' -.else -PLIST_SUB+= MODULES='@comment ' -.endif - -.ifdef NO_X -CONFIGURE_ARGS+=--without-x -PLIST_SUB+= X11='@comment ' -.else -PLIST_SUB+= X11='' -.endif - +CONFIGURE_ARGS= --enable-shared --with-perl=${PERL5} INSTALLS_SHLIB= yes +MAN1= ImageMagick.1 Magick++-config.1 Magick-config.1 \ + combine.1 convert.1 identify.1 mogrify.1 montage.1 +MAN3= Image::Magick.3 +MAN4= miff.4 +MAN5= quantize.5 +MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} + .if defined(PERL_THREADED) && ${PERL_THREADED} == "true" CONFIGURE_ARGS+= --with-threads .else @@ -84,18 +62,30 @@ CONFIGURE_ARGS+= --disable-16bit-pixel CONFIGURE_ARGS+= --enable-lzw .endif -MAN1= ImageMagick.1 Magick++-config.1 Magick-config.1 \ - combine.1 convert.1 identify.1 mogrify.1 montage.1 -MAN3= Image::Magick.3 -MAN4= miff.4 -MAN5= quantize.5 +.if defined(WITH_MODULES) +LIB_DEPENDS+= ltdl.1:${PORTSDIR}/devel/libtool +LIBTOOLFLAGS= # none +CONFIGURE_ARGS+= --with-modules +PLIST_SUB+= MODULES='' +.else +PLIST_SUB+= MODULES='@comment ' +.endif -.ifndef NO_X +.if defined(NO_X) +PKGNAMESUFFIX= -nox11 +BUILD_DEPENDS+= gs:${PORTSDIR}/print/ghostscript6-nox11 +RUN_DEPENDS+= gs:${PORTSDIR}/print/ghostscript6-nox11 +CONFIGURE_ARGS+= --without-x --without-wmf +PLIST_SUB+= X11='@comment ' +.else +LIB_DEPENDS+= wmf.1:${PORTSDIR}/graphics/libwmf +BUILD_DEPENDS+= gs:${PORTSDIR}/print/ghostscript6 +RUN_DEPENDS+= gs:${PORTSDIR}/print/ghostscript6 +USE_XLIB= yes MAN1+= animate.1 display.1 import.1 +PLIST_SUB+= X11='' .endif -MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} - pre-patch: @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \ 's|\$$\(top_builddir\)/ltdl/libltdlc.la|\$$\(LIBLTDL\)|g' diff --git a/graphics/ImageMagick/pkg-descr b/graphics/ImageMagick/pkg-descr index 56b70c7..d96b68d 100644 --- a/graphics/ImageMagick/pkg-descr +++ b/graphics/ImageMagick/pkg-descr @@ -4,7 +4,7 @@ compositing, animation, and creating montages. ImageMagick can read and write many of the more popular image formats (e.g. JPEG, TIFF, PNM, XPM, Photo CD, etc.). -The package can be built _without_ the GUI (X11) support at all -- it +The package can be built _without_ the GUI (X11) support at all -- it will not have the display, import, and animate functionality, but remain extremely useful for image manipulation. diff --git a/graphics/ImageMagick/pkg-plist b/graphics/ImageMagick/pkg-plist index e2cfa26..2dfb051 100644 --- a/graphics/ImageMagick/pkg-plist +++ b/graphics/ImageMagick/pkg-plist @@ -211,11 +211,11 @@ lib/ImageMagick/delegates.mgk %%MODULES%%lib/ImageMagick/modules/coders/yuv.la %%MODULES%%lib/ImageMagick/modules/coders/yuv.so lib/libMagick++.a -lib/libMagick++.la +%%MODULES%%lib/libMagick++.la lib/libMagick++.so lib/libMagick++.so.5 lib/libMagick.a -lib/libMagick.la +%%MODULES%%lib/libMagick.la lib/libMagick.so lib/libMagick.so.5 lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Image/Magick.pm |