aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/ufraw
diff options
context:
space:
mode:
authorsat <sat@FreeBSD.org>2007-08-01 16:49:15 +0800
committersat <sat@FreeBSD.org>2007-08-01 16:49:15 +0800
commit496bd412fa2df97e7f09e01e9ef7f0d2450084ed (patch)
tree44b34e6e3178fbbb723ca59c9cc85b9ea49e5165 /graphics/ufraw
parent2ebb72562d57156ed55bebf4dc5773ec35609e9a (diff)
downloadfreebsd-ports-gnome-496bd412fa2df97e7f09e01e9ef7f0d2450084ed.tar.gz
freebsd-ports-gnome-496bd412fa2df97e7f09e01e9ef7f0d2450084ed.tar.zst
freebsd-ports-gnome-496bd412fa2df97e7f09e01e9ef7f0d2450084ed.zip
- Update to 0.12
Diffstat (limited to 'graphics/ufraw')
-rw-r--r--graphics/ufraw/Makefile19
-rw-r--r--graphics/ufraw/distinfo6
-rw-r--r--graphics/ufraw/pkg-plist3
3 files changed, 13 insertions, 15 deletions
diff --git a/graphics/ufraw/Makefile b/graphics/ufraw/Makefile
index e9faa9ca2fa8..e39c0a31210c 100644
--- a/graphics/ufraw/Makefile
+++ b/graphics/ufraw/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= ufraw
-PORTVERSION= 0.11
-PORTREVISION= 5
+PORTVERSION= 0.12
CATEGORIES= graphics gnome
MASTER_SITES= SF
@@ -17,6 +16,7 @@ COMMENT= Read and manipulate raw images from digital cameras
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
tiff.4:${PORTSDIR}/graphics/tiff \
png.5:${PORTSDIR}/graphics/png \
+ gtkimageview.0:${PORTSDIR}/x11-toolkits/gtkimageview \
lcms.1:${PORTSDIR}/graphics/lcms
GCONF_SCHEMAS= ${PORTNAME}.schemas
@@ -25,26 +25,23 @@ USE_XLIB= yes
USE_GETTEXT= yes
USE_GMAKE= yes
USE_GNOME= gtk20 glib20 gnomehack intltool intlhack libartlgpl2 pkgconfig
-WANT_GNOME= yes
LDFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
CPPFLAGS= -I${LOCALBASE}/include
CONFIGURE_ENV= LDFLAGS="${LDFLAGS}" CPPFLAGS="${CPPFLAGS}"
CONFIGURE_ARGS= --enable-mime
-.ifndef WITHOUT_EXIF
-LIB_DEPENDS+= exif:${PORTSDIR}/graphics/libexif
-CONFIGURE_ARGS+=--with-libexif
+PC_FALSE+= cinepaint
.ifndef WITHOUT_EXIV2
LIB_DEPENDS+= exiv2:${PORTSDIR}/graphics/exiv2
-CONFIGURE_ARGS+=--with-exiv2
-.endif
+.else
+PC_FALSE+= exiv2
.endif
.ifndef WITHOUT_GIMP
LIB_DEPENDS+= gimp-2.0.200:${PORTSDIR}/graphics/gimp-app
PLIST_SUB+= GIMP=""
.else
-CONFIGURE_ARGS+=--disable-gimp
+PC_FALSE+= gimp
PLIST_SUB+= GIMP="@comment "
.endif
@@ -57,6 +54,10 @@ BROKEN= Needs memmem(3)
.endif
post-patch:
+ @${REINPLACE_CMD} -e '18s|^$$|#include <sys/types.h>|' ${WRKSRC}/dcraw.h
@${REINPLACE_CMD} -e '/@schemasdir/s|datadir|sysconfdir|' ${WRKSRC}/Makefile.in
+.for i in ${PC_FALSE}
+ @${REINPLACE_CMD} -e '/PKG_CONFIG.*$i/s|$$PKG_CONFIG|${FALSE}|' ${WRKSRC}/configure
+.endfor
.include <bsd.port.post.mk>
diff --git a/graphics/ufraw/distinfo b/graphics/ufraw/distinfo
index 17bf8efc7b27..31bb6b0dc178 100644
--- a/graphics/ufraw/distinfo
+++ b/graphics/ufraw/distinfo
@@ -1,3 +1,3 @@
-MD5 (ufraw-0.11.tar.gz) = e7e5930a872657830a77dc9ddbfce93b
-SHA256 (ufraw-0.11.tar.gz) = 0a66f8e290b634133de52745dc8ff326aad59a4424b4abf41eef12e5da0cb35c
-SIZE (ufraw-0.11.tar.gz) = 483124
+MD5 (ufraw-0.12.tar.gz) = b2c104938c1c3eb47e7605432bbd3157
+SHA256 (ufraw-0.12.tar.gz) = c750c8180057385eaa0844f1148d6f0223b986da322773195eab44b33b97c19f
+SIZE (ufraw-0.12.tar.gz) = 582952
diff --git a/graphics/ufraw/pkg-plist b/graphics/ufraw/pkg-plist
index e3047a8297d4..539b8451e74d 100644
--- a/graphics/ufraw/pkg-plist
+++ b/graphics/ufraw/pkg-plist
@@ -7,11 +7,8 @@ share/locale/fr/LC_MESSAGES/ufraw.mo
share/locale/ja/LC_MESSAGES/ufraw.mo
share/locale/pt/LC_MESSAGES/ufraw.mo
share/locale/ru/LC_MESSAGES/ufraw.mo
-share/mime/packages/ufraw-mime.xml
share/pixmaps/ufraw.png
%%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