1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

* 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]
This commit is contained in:
Joe Marcus Clarke 2003-04-07 23:44:16 +00:00
parent 438e700dd4
commit 18edf7ecef
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=78558

View File

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