2013-03-14 09:17:39 +01:00
|
|
|
# Created by: ports@FreeBSD.org
|
2002-11-18 04:00:04 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= gtkam
|
2014-01-17 17:56:53 +01:00
|
|
|
PORTVERSION= 0.2.0
|
2015-01-23 13:28:17 +01:00
|
|
|
PORTREVISION= 3
|
2002-11-18 04:00:04 +01:00
|
|
|
CATEGORIES= graphics
|
2009-08-22 02:23:13 +02:00
|
|
|
MASTER_SITES= SF/gphoto/${PORTNAME}/${PORTVERSION}
|
2002-11-18 04:00:04 +01:00
|
|
|
|
2013-07-09 23:26:48 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 19:08:19 +01:00
|
|
|
COMMENT= Download and view files from various digital cameras
|
2002-11-18 04:00:04 +01:00
|
|
|
|
2014-01-17 17:56:53 +01:00
|
|
|
LICENSE= GPLv2 # (or later)
|
2002-11-18 04:00:04 +01:00
|
|
|
|
2014-01-17 17:56:53 +01:00
|
|
|
LIB_DEPENDS= libexif-gtk.so:${PORTSDIR}/graphics/libexif-gtk \
|
|
|
|
libgphoto2.so:${PORTSDIR}/graphics/libgphoto2
|
|
|
|
|
2014-11-29 19:22:32 +01:00
|
|
|
USES= gettext gmake pathfix pkgconfig
|
2015-08-02 22:23:55 +02:00
|
|
|
USE_GNOME= gtk20 intltool
|
2002-11-18 04:00:04 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2014-01-17 17:56:53 +01:00
|
|
|
|
2011-09-24 00:26:39 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
2014-11-29 19:22:32 +01:00
|
|
|
LIBS+= -L${LOCALBASE}/lib
|
2003-01-03 21:14:22 +01:00
|
|
|
|
2014-01-17 17:56:53 +01:00
|
|
|
OPTIONS_DEFINE= DOCS GIMP GNOME
|
|
|
|
OPTIONS_SUB= yes
|
2002-11-18 04:00:04 +01:00
|
|
|
|
2014-01-17 17:56:53 +01:00
|
|
|
GIMP_DESC= GIMP plugin support
|
|
|
|
GIMP_LIB_DEPENDS= libgimp-2.0.so:${PORTSDIR}/graphics/gimp
|
|
|
|
GIMP_CONFIGURE_WITH= gimp
|
2004-03-20 18:28:33 +01:00
|
|
|
|
2014-01-17 17:56:53 +01:00
|
|
|
GNOME_USE= GNOME=gnomeprefix,libgnomeui
|
|
|
|
GNOME_CONFIGURE_OFF= --without-bonobo --without-gnome
|
|
|
|
GNOME_MAKE_ENV= GNOME_SUBDIRS="help omf-install"
|
2003-09-03 02:29:14 +02:00
|
|
|
|
2014-01-17 17:56:53 +01:00
|
|
|
.include <bsd.port.options.mk>
|
2002-11-18 04:00:04 +01:00
|
|
|
|
2014-01-17 17:56:53 +01:00
|
|
|
.if ${PORT_OPTIONS:MGNOME}
|
2004-11-23 03:23:08 +01:00
|
|
|
INSTALLS_OMF= yes
|
2002-11-18 04:00:04 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
post-patch:
|
2006-01-07 20:04:37 +01:00
|
|
|
@${REINPLACE_CMD} -e 's|GIMP_VERSION="2.0"|GIMP_VERSION="2.2"|g ; \
|
2014-01-17 17:56:53 +01:00
|
|
|
s|images/gtkam|gtkam/images|g ; \
|
|
|
|
s|FLAGS -g|FLAGS|g' ${WRKSRC}/configure
|
2014-11-29 19:22:32 +01:00
|
|
|
@${REINPLACE_CMD} 's/$$(GNOME_LIBS)/& $$(GTK_LIBS)/' \
|
|
|
|
${WRKSRC}/src/Makefile.in
|
2002-11-18 04:00:04 +01:00
|
|
|
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
|
2004-07-03 17:40:48 +02:00
|
|
|
's|images/gtkam|gtkam/images|g ; \
|
2006-01-07 20:04:37 +01:00
|
|
|
s|$$(libdir)/gimp/|$$(libexecdir)/gimp/|g'
|
2002-11-18 04:00:04 +01:00
|
|
|
|
2014-01-17 17:56:53 +01:00
|
|
|
.include <bsd.port.mk>
|