diff options
author | jylefort <jylefort@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-06-28 02:50:47 +0800 |
---|---|---|
committer | jylefort <jylefort@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-06-28 02:50:47 +0800 |
commit | 6d2dc3e1e2f6fd74c2af9c48d0968e91a0ac0b61 (patch) | |
tree | b517d92d6fcfc97836173a81f79f7f2ed52b18a0 /graphics | |
parent | 145057f531ffdd6cd43dbc70bdc4749223b61d9b (diff) | |
download | marcuscom-ports-6d2dc3e1e2f6fd74c2af9c48d0968e91a0ac0b61.tar marcuscom-ports-6d2dc3e1e2f6fd74c2af9c48d0968e91a0ac0b61.tar.gz marcuscom-ports-6d2dc3e1e2f6fd74c2af9c48d0968e91a0ac0b61.tar.bz2 marcuscom-ports-6d2dc3e1e2f6fd74c2af9c48d0968e91a0ac0b61.tar.lz marcuscom-ports-6d2dc3e1e2f6fd74c2af9c48d0968e91a0ac0b61.tar.xz marcuscom-ports-6d2dc3e1e2f6fd74c2af9c48d0968e91a0ac0b61.tar.zst marcuscom-ports-6d2dc3e1e2f6fd74c2af9c48d0968e91a0ac0b61.zip |
- Unconditionally enable image handlers
- Convert other tunables to OPTIONS
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@4128 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/gimp-devel/Makefile | 98 | ||||
-rw-r--r-- | graphics/gimp-devel/pkg-plist | 16 |
2 files changed, 30 insertions, 84 deletions
diff --git a/graphics/gimp-devel/Makefile b/graphics/gimp-devel/Makefile index aab5a6b46..a46af6c85 100644 --- a/graphics/gimp-devel/Makefile +++ b/graphics/gimp-devel/Makefile @@ -7,6 +7,7 @@ PORTNAME= gimp PORTVERSION= 2.3.1 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= graphics gnome MASTER_SITES= ftp://ftp.gimp.org/pub/%SUBDIR%/ \ @@ -21,16 +22,24 @@ MASTER_SITE_SUBDIR= gimp/v${PORTVERSION:R} MAINTAINER= gnome@FreeBSD.org COMMENT= A GNU Image Manipulation Program development version +LIB_DEPENDS= wmf.2:${PORTSDIR}/graphics/libwmf \ + aa.1:${PORTSDIR}/graphics/aalib \ + mng.1:${PORTSDIR}/graphics/libmng \ + png.5:${PORTSDIR}/graphics/png \ + jpeg.9:${PORTSDIR}/graphics/jpeg \ + tiff.4:${PORTSDIR}/graphics/tiff + CONFLICTS= gimp-1.* gimp-2.2.* SHLIBVER?= 301 +USE_REINPLACE= yes USE_BZIP2= yes USE_X_PREFIX= yes USE_XPM= yes USE_GMAKE= yes USE_LIBTOOL_VER=15 -USE_GNOME= gnomehack intltool intlhack gtk20 libartlgpl2 +USE_GNOME= gnomehack intltool intlhack gtk20 libartlgpl2 librsvg2 WANT_GNOME= yes INSTALLS_SHLIB= yes LIBTOOLFLAGS= --disable-ltlibs --release-ignore @@ -47,27 +56,13 @@ GIMP_DISTFILE= ${DISTDIR}/${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} MAN1= gimp-2.3.1 gimp-remote-2.3.1 gimptool-2.0.1 MAN5= gimprc-2.3.5 -.if defined(WITHOUT_WMF) && !exists(${LOCALBASE}/bin/libwmf-config) -PLIST_SUB+= WMF="@comment " -.else -LIB_DEPENDS+= wmf.2:${PORTSDIR}/graphics/libwmf -PLIST_SUB+= WMF="" -.endif - -.if defined(WITHOUT_RSVG2) && !exists(${X11BASE}/bin/rsvg) -PLIST_SUB+= SVG="@comment " -.else -USE_GNOME+= librsvg2 -PLIST_SUB+= SVG="" -.endif +OPTIONS= DEBUG "debugging" off \ + PYTHON "Python-Fu support" off \ + PRINT "GIMP printing" on \ + HTML_HELP_BROWSER "GIMP help browser" on \ + MP "multiple processor support" off -.if defined(WITHOUT_AA) -CONFIGURE_ARGS+= --without-aa -PLIST_SUB+= AA="@comment " -.else -LIB_DEPENDS+= aa.1:${PORTSDIR}/graphics/aalib -PLIST_SUB+= AA="" -.endif +.include <bsd.port.pre.mk> #.if defined(WITHOUT_EXIF) CONFIGURE_ARGS+= --without-libexif @@ -75,45 +70,15 @@ CONFIGURE_ARGS+= --without-libexif #LIB_DEPENDS+= exif.12:${PORTSDIR}/graphics/libexif #.endif -.if defined(WITHOUT_MNG) -LIB_DEPENDS+= lcms.1:${PORTSDIR}/graphics/lcms -CONFIGURE_ARGS+= --without-libmng -PLIST_SUB+= MNG="@comment " -.else -LIB_DEPENDS+= mng.1:${PORTSDIR}/graphics/libmng -PLIST_SUB+= MNG="" -.endif - -.if defined(WITHOUT_PNG) -CONFIGURE_ARGS+= --without-libpng -PLIST_SUB+= PNG="@comment " -.else -LIB_DEPENDS+= png.5:${PORTSDIR}/graphics/png -PLIST_SUB+= PNG="" -.endif - -.if defined(WITHOUT_JPEG) -CONFIGURE_ARGS+= --without-libjpeg -PLIST_SUB+= JPEG="@comment " -.else -LIB_DEPENDS+= jpeg.9:${PORTSDIR}/graphics/jpeg -PLIST_SUB+= JPEG="" -.endif - -.if defined(WITHOUT_TIFF) -CONFIGURE_ARGS+= --without-libtiff -PLIST_SUB+= TIFF="@comment " -.else -LIB_DEPENDS+= tiff.4:${PORTSDIR}/graphics/tiff -PLIST_SUB+= TIFF="" -.endif - .if defined(WITH_DEBUG) CONFIGURE_ARGS+= --enable-debug .endif .if defined(WITH_PYTHON) USE_PYTHON= yes +# we need to manually include this, because USE_PYTHON is defined +# after including bsd.port.pre.mk +.include "${PORTSDIR}/Mk/bsd.python.mk" USE_GNOME+= pygtk2 CONFIGURE_ARGS+= --enable-python PLIST_SUB+= PYTHON:="" @@ -134,8 +99,6 @@ PLIST_SUB+= PRINT="" CONFIGURE_ARGS+= --enable-mp .endif -.include <bsd.port.pre.mk> - .if ${HAVE_GNOME:Mgnomepanel}!="" USE_GNOME+= gnomepanel desktopfileutils CONFIGURE_ARGS+= --with-desktop-dir=${X11BASE}/share/gnome @@ -148,32 +111,15 @@ PLIST_SUB+= GNOMEPANEL:="@comment " CONFIGURE_ENV+= GIMP_THREAD_LIBS=${PTHREAD_LIBS} .endif -.if ${HAVE_GNOME:Mlibgtkhtml}!="" || defined(WITH_HTML_HELP_BROWSER) +.if defined(WITH_HTML_HELP_BROWSER) USE_GNOME+= libgtkhtml PLIST_SUB+= HELPBROWSER:="" .else PLIST_SUB+= HELPBROWSER:="@comment " +post-patch: + @${REINPLACE_CMD} -e 's|\(have_gtkhtml2=\)yes|\1no|' ${WRKSRC}/configure .endif -pre-everything:: - @${ECHO_MSG} "" - @${ECHO_MSG} "gimp has the following tunable option(s):" - @${ECHO_MSG} "" - @${ECHO_MSG} " WITH_DEBUG=yes Turns on debugging" - @${ECHO_MSG} " WITH_PYTHON=yes Turns on Python-Fu support" - @${ECHO_MSG} " WITHOUT_PRINT=yes Turns off GIMP printing" - @${ECHO_MSG} " WITH_HTML_HELP_BROWSER=yes Turns on the GIMP help browser" - @${ECHO_MSG} " WITH_MP=yes Turns on multiple-processor support" - @${ECHO_MSG} " WITHOUT_WMF=yes Turns off wmf support" - @${ECHO_MSG} " WITHOUT_RSVG2=yes Turns off rsvg2 support" - @${ECHO_MSG} " WITHOUT_AA=yes Turns off aa support" - @${ECHO_MSG} " WITHOUT_EXIF=yes Turns off exif support" - @${ECHO_MSG} " WITHOUT_MNG=yes Turns off mng support" - @${ECHO_MSG} " WITHOUT_PNG=yes Turns off png support" - @${ECHO_MSG} " WITHOUT_JPEG=yes Turns off jpeg support" - @${ECHO_MSG} " WITHOUT_TIFF=yes Turns off tiff support" - @${ECHO_MSG} "" - .if defined(GNOME_ENABLED) post-install: @-update-desktop-database diff --git a/graphics/gimp-devel/pkg-plist b/graphics/gimp-devel/pkg-plist index 49ec7a2b7..720bb8d54 100644 --- a/graphics/gimp-devel/pkg-plist +++ b/graphics/gimp-devel/pkg-plist @@ -207,7 +207,7 @@ libexec/gimp/2.2/plug-ins/CML_explorer libexec/gimp/2.2/plug-ins/FractalExplorer libexec/gimp/2.2/plug-ins/Lighting libexec/gimp/2.2/plug-ins/MapObject -%%AA%%libexec/gimp/2.2/plug-ins/aa +libexec/gimp/2.2/plug-ins/aa libexec/gimp/2.2/plug-ins/align_layers libexec/gimp/2.2/plug-ins/animationplay libexec/gimp/2.2/plug-ins/animoptimize @@ -285,7 +285,7 @@ libexec/gimp/2.2/plug-ins/illusion libexec/gimp/2.2/plug-ins/imagemap libexec/gimp/2.2/plug-ins/iwarp libexec/gimp/2.2/plug-ins/jigsaw -%%JPEG%%libexec/gimp/2.2/plug-ins/jpeg +libexec/gimp/2.2/plug-ins/jpeg libexec/gimp/2.2/plug-ins/laplace libexec/gimp/2.2/plug-ins/lic libexec/gimp/2.2/plug-ins/mail @@ -294,7 +294,7 @@ libexec/gimp/2.2/plug-ins/max_rgb libexec/gimp/2.2/plug-ins/maze libexec/gimp/2.2/plug-ins/mblur libexec/gimp/2.2/plug-ins/metadata -%%MNG%%libexec/gimp/2.2/plug-ins/mng +libexec/gimp/2.2/plug-ins/mng libexec/gimp/2.2/plug-ins/mosaic libexec/gimp/2.2/plug-ins/neon libexec/gimp/2.2/plug-ins/newsprint @@ -313,7 +313,7 @@ libexec/gimp/2.2/plug-ins/pix libexec/gimp/2.2/plug-ins/pixelize libexec/gimp/2.2/plug-ins/plasma libexec/gimp/2.2/plug-ins/plugin-browser -%%PNG%%libexec/gimp/2.2/plug-ins/png +libexec/gimp/2.2/plug-ins/png libexec/gimp/2.2/plug-ins/pnm libexec/gimp/2.2/plug-ins/polar libexec/gimp/2.2/plug-ins/postscript @@ -350,10 +350,10 @@ libexec/gimp/2.2/plug-ins/spheredesigner libexec/gimp/2.2/plug-ins/spread libexec/gimp/2.2/plug-ins/struc libexec/gimp/2.2/plug-ins/sunras -%%SVG%%libexec/gimp/2.2/plug-ins/svg +libexec/gimp/2.2/plug-ins/svg libexec/gimp/2.2/plug-ins/tga libexec/gimp/2.2/plug-ins/threshold_alpha -%%TIFF%%libexec/gimp/2.2/plug-ins/tiff +libexec/gimp/2.2/plug-ins/tiff libexec/gimp/2.2/plug-ins/tile libexec/gimp/2.2/plug-ins/tileit libexec/gimp/2.2/plug-ins/tiler @@ -370,9 +370,9 @@ libexec/gimp/2.2/plug-ins/webbrowser libexec/gimp/2.2/plug-ins/whirlpinch libexec/gimp/2.2/plug-ins/wind libexec/gimp/2.2/plug-ins/winicon -%%WMF%%libexec/gimp/2.2/plug-ins/wmf +libexec/gimp/2.2/plug-ins/wmf libexec/gimp/2.2/plug-ins/xbm -%%JPEG%%libexec/gimp/2.2/plug-ins/xjt +libexec/gimp/2.2/plug-ins/xjt libexec/gimp/2.2/plug-ins/xpm libexec/gimp/2.2/plug-ins/xwd libexec/gimp/2.2/plug-ins/zealouscrop |