aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/gtkam
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2014-11-30 02:22:32 +0800
committertijl <tijl@FreeBSD.org>2014-11-30 02:22:32 +0800
commitb3a361d8eb7b71f0b468fd98e66a366d09af5fcf (patch)
treedd9cb6760a88c6c8e370786a93ecef5ba96f616c /graphics/gtkam
parent237bc033e6203c347316781328565cb5a7f8b2cf (diff)
downloadfreebsd-ports-gnome-b3a361d8eb7b71f0b468fd98e66a366d09af5fcf.tar.gz
freebsd-ports-gnome-b3a361d8eb7b71f0b468fd98e66a366d09af5fcf.tar.zst
freebsd-ports-gnome-b3a361d8eb7b71f0b468fd98e66a366d09af5fcf.zip
Split devel/gettext in devel/gettext-runtime and devel/gettext-tools. The
first contains runtime libraries such as libintl and the latter contains developer tools such as msgfmt. Ports that use gettext will usually need a LIB_DEPENDS on gettext-runtime and a BUILD_DEPENDS on gettext-tools. USES=gettext-runtime can be used to set a LIB/BUILD/RUN_DEPENDS on devel/gettext-runtime and USES=gettext-tools can be used to set a BUILD/RUN_DEPENDS on devel/gettext-tools. USES=gettext is now the same as "USES=gettext-runtime gettext-tools" meaning a LIB_DEPENDS on devel/gettext-runtime and a BUILD_DEPENDS on devel/gettext-tools. Update gettext to 0.19.3. Remove :oldver from converters/libiconv and devel/gettext-runtime. Leave symlinks with the old library versions to avoid the need to bump PORTREVISION on a large number of dependent ports. When most of the dependent ports have had normal version updates, PORTREVISION can be bumped on the remaining ones (low number) and the links can be removed. Fix some ports that installed files in lib/locale instead of share/locale. PR: 194038 Reviewed by: bapt Exp-run: antoine Approved by: portmgr (antoine)
Diffstat (limited to 'graphics/gtkam')
-rw-r--r--graphics/gtkam/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/graphics/gtkam/Makefile b/graphics/gtkam/Makefile
index a3034bcb966e..81a0ff3fca89 100644
--- a/graphics/gtkam/Makefile
+++ b/graphics/gtkam/Makefile
@@ -15,13 +15,12 @@ LICENSE= GPLv2 # (or later)
LIB_DEPENDS= libexif-gtk.so:${PORTSDIR}/graphics/libexif-gtk \
libgphoto2.so:${PORTSDIR}/graphics/libgphoto2
-USES= gmake pathfix pkgconfig
+USES= gettext gmake pathfix pkgconfig
USE_GNOME= gnomehier gtk20
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
-LIBS+= `pkg-config --libs gtk+-x11-2.0`
+LIBS+= -L${LOCALBASE}/lib
OPTIONS_DEFINE= DOCS GIMP GNOME
OPTIONS_SUB= yes
@@ -44,6 +43,8 @@ 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'