diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-04-07 23:44:16 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-04-07 23:44:16 +0000 |
commit | 18edf7ecef740bb255a0486acef97473530a8f46 (patch) | |
tree | e184660e85bcb2e8f6d1a1b4ecc9f9f5e5b56dda /graphics | |
parent | 438e700dd4d3c36278aefe1d706ee11c53d59d0a (diff) |
* 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]
Notes
Notes:
svn path=/head/; revision=78558
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/gthumb2/Makefile | 14 |
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> |