mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-25 09:34:11 +00:00
95d52e52fb
Reset maintainership of my ports to ports@FreeBSD.org so others can step in to help where I haven't been able to find the time.
43 lines
1.1 KiB
Makefile
43 lines
1.1 KiB
Makefile
# Created by: ports@FreeBSD.org
|
|
|
|
PORTNAME= gtkam
|
|
PORTVERSION= 1.0
|
|
PORTREVISION= 6
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= SF/gphoto/${PORTNAME}/${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Download and view files from various digital cameras
|
|
|
|
LICENSE= GPLv2+
|
|
|
|
LIB_DEPENDS= libexif-gtk.so:graphics/libexif-gtk \
|
|
libgphoto2.so:graphics/libgphoto2
|
|
|
|
USES= gettext gmake gnome pathfix pkgconfig
|
|
USE_GNOME= gtk20 intltool
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --without-bonobo --without-gnome
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LIBS+= -L${LOCALBASE}/lib
|
|
|
|
OPTIONS_DEFINE= DOCS GIMP
|
|
OPTIONS_SUB= yes
|
|
|
|
GIMP_DESC= GIMP plugin support
|
|
GIMP_LIB_DEPENDS= libgimp-2.0.so:graphics/gimp-app
|
|
GIMP_CONFIGURE_WITH= gimp
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|GIMP_VERSION="2.0"|GIMP_VERSION="2.2"|g ; \
|
|
s|images/gtkam|gtkam/images|g ; \
|
|
s|FLAGS -g|FLAGS|g' ${WRKSRC}/configure
|
|
@${REINPLACE_CMD} 's/$$(GNOME_LIBS)/& $$(GTK_LIBS)/' \
|
|
${WRKSRC}/src/Makefile.in
|
|
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
|
|
's|images/gtkam|gtkam/images|g ; \
|
|
s|$$(libdir)/gimp/|$$(libexecdir)/gimp/|g'
|
|
|
|
.include <bsd.port.mk>
|