2013-02-28 17:41:43 +01:00
|
|
|
# Created by: Martin Tournoij <carpetsmoker@rwxrwxrwx.net>
|
2008-06-26 13:01:21 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= geeqie
|
2012-09-28 14:59:46 +02:00
|
|
|
PORTVERSION= 1.1
|
2014-12-25 21:54:41 +01:00
|
|
|
PORTREVISION= 3
|
2008-06-26 13:01:21 +02:00
|
|
|
CATEGORIES= graphics
|
2010-05-17 23:54:46 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
2008-06-26 13:01:21 +02:00
|
|
|
|
2009-08-03 16:27:55 +02:00
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
2008-06-26 13:01:21 +02:00
|
|
|
COMMENT= Lightweight image viewer forked from GQview
|
|
|
|
|
2014-12-25 20:04:25 +01:00
|
|
|
LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png
|
2008-06-26 13:01:21 +02:00
|
|
|
|
2014-05-08 03:54:28 +02:00
|
|
|
USES= gettext gmake pkgconfig desktop-file-utils
|
|
|
|
USE_GNOME= gtk20
|
2008-06-26 13:01:21 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --docdir="${DOCSDIR}" \
|
|
|
|
--htmldir="${DOCSDIR}/html" \
|
|
|
|
--with-htmldir="${DOCSDIR}/html" \
|
|
|
|
--with-readmedir="${DOCSDIR}"
|
2013-09-25 03:36:57 +02:00
|
|
|
|
2009-02-11 04:05:44 +01:00
|
|
|
CFLAGS+= -I${LOCALBASE}/include
|
2011-09-24 00:26:39 +02:00
|
|
|
CPPFLAGS+= ${CFLAGS}
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2008-06-26 13:01:21 +02:00
|
|
|
MAKE_ARGS+= top_builddir="${WRKSRC}"
|
|
|
|
|
|
|
|
PORTDOCS= *
|
|
|
|
|
2013-02-28 17:41:43 +01:00
|
|
|
OPTIONS_DEFINE= EXIV2 LCMS LIRC GPS DOCS
|
2013-12-16 18:40:13 +01:00
|
|
|
OPTIONS_DEFAULT=EXIV2 LCMS
|
2013-02-28 17:41:43 +01:00
|
|
|
EXIV2_DESC= Metadata editing
|
|
|
|
LCMS_DESC= Color adjusting
|
|
|
|
LIRC_DESC= Remote control
|
2014-04-04 22:36:47 +02:00
|
|
|
GPS_DESC= GPS map support via libchamplain (experimental!)
|
2008-06-26 13:01:21 +02:00
|
|
|
|
2013-09-25 03:36:57 +02:00
|
|
|
EXIV2_LIB_DEPENDS= libexiv2.so:${PORTSDIR}/graphics/exiv2
|
|
|
|
EXIV2_CONFIGURE_ENABLE= exiv2
|
2008-06-26 13:01:21 +02:00
|
|
|
|
2013-09-25 03:36:57 +02:00
|
|
|
LCMS_LIB_DEPENDS= liblcms.so:${PORTSDIR}/graphics/lcms
|
|
|
|
LCMS_CONFIGURE_ENABLE= lcms
|
2008-06-26 13:01:21 +02:00
|
|
|
|
2013-09-25 03:36:57 +02:00
|
|
|
LIRC_LIB_DEPENDS= liblirc_client.so:${PORTSDIR}/comms/lirc
|
|
|
|
LIRC_CONFIGURE_ENABLE= lirc
|
2009-02-11 04:05:44 +01:00
|
|
|
|
2013-09-25 03:36:57 +02:00
|
|
|
GPS_LIB_DEPENDS= libchamplain-0.8.so:${PORTSDIR}/graphics/libchamplain
|
|
|
|
GPS_CONFIGURE_ENABLE= gps
|
2010-05-17 23:54:46 +02:00
|
|
|
|
2008-06-26 13:01:21 +02:00
|
|
|
post-patch:
|
2013-09-25 03:36:57 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|champlain-0\.4|champlain-0.8|g; \
|
|
|
|
s|champlain-gtk-0\.4|champlain-gtk-0.8|g' \
|
|
|
|
${WRKSRC}/configure
|
2009-08-04 01:45:06 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|MAP_ANONYMOUS|MAP_ANON|' ${WRKSRC}/src/main.c
|
|
|
|
@${REINPLACE_CMD} -e 's| -r %F||' ${WRKSRC}/geeqie.desktop
|
2010-05-17 23:54:46 +02:00
|
|
|
# I cannot get gnome-doc-tool working properly: Outputs gibberish
|
|
|
|
@${REINPLACE_CMD} -Ee '/^(SUBDIRS|DIST_SUBDIRS)/ s|doc||' \
|
|
|
|
${WRKSRC}/Makefile.in
|
2008-06-26 13:01:21 +02:00
|
|
|
|
2013-02-28 17:41:43 +01:00
|
|
|
.include <bsd.port.mk>
|