diff options
author | sat <sat@FreeBSD.org> | 2007-07-17 19:35:32 +0800 |
---|---|---|
committer | sat <sat@FreeBSD.org> | 2007-07-17 19:35:32 +0800 |
commit | c06c130d2c20082b72e24f807981c78b2490ff0c (patch) | |
tree | 8e71a471183ff6b3a8df12f66a0d89b9e9b19955 /graphics/ufraw | |
parent | 280874d707ba35587bcecfd939c2b340ff9dde84 (diff) | |
download | freebsd-ports-gnome-c06c130d2c20082b72e24f807981c78b2490ff0c.tar.gz freebsd-ports-gnome-c06c130d2c20082b72e24f807981c78b2490ff0c.tar.zst freebsd-ports-gnome-c06c130d2c20082b72e24f807981c78b2490ff0c.zip |
- Disable gimp support if WITHOUT_GIMP is defined
Requested by: J.R. Oldroyd <jr at opal.com>
Diffstat (limited to 'graphics/ufraw')
-rw-r--r-- | graphics/ufraw/Makefile | 9 | ||||
-rw-r--r-- | graphics/ufraw/pkg-plist | 8 |
2 files changed, 11 insertions, 6 deletions
diff --git a/graphics/ufraw/Makefile b/graphics/ufraw/Makefile index 7c0e18db0fc2..8984147e6878 100644 --- a/graphics/ufraw/Makefile +++ b/graphics/ufraw/Makefile @@ -14,12 +14,10 @@ MASTER_SITES= SF MAINTAINER= infofarmer@FreeBSD.org COMMENT= Read and manipulate raw images from digital cameras -BUILD_DEPENDS= gimp>0:${PORTSDIR}/graphics/gimp LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \ tiff.4:${PORTSDIR}/graphics/tiff \ png.5:${PORTSDIR}/graphics/png \ lcms.1:${PORTSDIR}/graphics/lcms -RUN_DEPENDS= gimp>0:${PORTSDIR}/graphics/gimp GCONF_SCHEMAS= ${PORTNAME}.schemas GNU_CONFIGURE= yes @@ -42,6 +40,13 @@ LIB_DEPENDS+= exiv2:${PORTSDIR}/graphics/exiv2 CONFIGURE_ARGS+=--with-exiv2 .endif .endif +.ifndef WITHOUT_GIMP +LIB_DEPENDS+= gimp-2.0.200:${PORTSDIR}/graphics/gimp-app +PLIST_SUB+= GIMP="" +.else +CONFIGURE_ARGS+=--disable-gimp +PLIST_SUB+= GIMP="@comment " +.endif MAN1= ufraw.1 diff --git a/graphics/ufraw/pkg-plist b/graphics/ufraw/pkg-plist index 670cfcf8223b..e3047a8297d4 100644 --- a/graphics/ufraw/pkg-plist +++ b/graphics/ufraw/pkg-plist @@ -1,6 +1,6 @@ bin/ufraw bin/ufraw-batch -libexec/gimp/2.2/plug-ins/ufraw-gimp +%%GIMP%%libexec/gimp/2.2/plug-ins/ufraw-gimp share/applications/ufraw.desktop share/locale/da/LC_MESSAGES/ufraw.mo share/locale/fr/LC_MESSAGES/ufraw.mo @@ -9,9 +9,9 @@ share/locale/pt/LC_MESSAGES/ufraw.mo share/locale/ru/LC_MESSAGES/ufraw.mo share/mime/packages/ufraw-mime.xml share/pixmaps/ufraw.png -@dirrmtry libexec/gimp/2.2/plug-ins -@dirrmtry libexec/gimp/2.2 -@dirrmtry libexec/gimp +%%GIMP%%@dirrmtry libexec/gimp/2.2/plug-ins +%%GIMP%%@dirrmtry libexec/gimp/2.2 +%%GIMP%%@dirrmtry libexec/gimp @dirrmtry share/applications @dirrmtry share/mime/packages @dirrmtry share/mime |