aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/gthumb2
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-04-08 07:44:16 +0800
committermarcus <marcus@FreeBSD.org>2003-04-08 07:44:16 +0800
commitb09029f9011619220ce1347a36d6df96471e35a5 (patch)
tree45a705ceef3db1dc2f9e71afa1ec9917ac5230be /graphics/gthumb2
parent9c6447561143b130798076b668473a95da04cfa5 (diff)
downloadfreebsd-ports-gnome-b09029f9011619220ce1347a36d6df96471e35a5.tar.gz
freebsd-ports-gnome-b09029f9011619220ce1347a36d6df96471e35a5.tar.zst
freebsd-ports-gnome-b09029f9011619220ce1347a36d6df96471e35a5.zip
* Add optional libexif support [1]
* Convert to new GNOME infrastructure PR: 49069 [1] Submitted by: Pav Lucistnik <pav@oook.cz> [1] Approved by: maintainer timeout [1]
Diffstat (limited to 'graphics/gthumb2')
-rw-r--r--graphics/gthumb2/Makefile14
1 files changed, 8 insertions, 6 deletions
diff --git a/graphics/gthumb2/Makefile b/graphics/gthumb2/Makefile
index f4032abddf99..0e592e680215 100644
--- a/graphics/gthumb2/Makefile
+++ b/graphics/gthumb2/Makefile
@@ -17,14 +17,10 @@ DIST_SUBDIR= gnome2
MAINTAINER= verbophobe@hotmail.com
COMMENT= An image viewer and browser for the GNOME 2 environment
-LIB_DEPENDS= gnomeui-2.200:${PORTSDIR}/x11-toolkits/libgnomeui \
- gnomeprintui-2-2.0:${PORTSDIR}/x11-toolkits/libgnomeprintui
-
USE_BZIP2= yes
USE_X_PREFIX= yes
USE_GMAKE= yes
-USE_GNOMENG= yes
-USE_GNOME= gnomeprefix gnomehack
+USE_GNOME= gnomeprefix gnomehack libgnomeui libgnomeprintui
USE_LIBTOOL= yes
INSTALLS_SHLIB= yes
USE_REINPLACE= yes
@@ -33,8 +29,14 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
MAN1= gthumb.1
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_EXIF) || exists(${LOCALBASE}/lib/libexif.so.8)
+LIB_DEPENDS+= exif.8:${PORTSDIR}/graphics/libexif
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>