1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-08 12:01:56 +00:00

- Disable gimp support if WITHOUT_GIMP is defined

Requested by:	J.R. Oldroyd <jr at opal.com>
This commit is contained in:
Andrew Pantyukhin 2007-07-17 11:35:32 +00:00
parent d2f7fc1cc9
commit c03fdb2367
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=195801
2 changed files with 11 additions and 6 deletions

View File

@ -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

View File

@ -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