aboutsummaryrefslogtreecommitdiff
path: root/devel/appstream-glib
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2014-11-29 18:22:32 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2014-11-29 18:22:32 +0000
commitedb7229dd444037f6015d4a7d1c93eade4ed41f0 (patch)
treedd9cb6760a88c6c8e370786a93ecef5ba96f616c /devel/appstream-glib
parentb134ca1eb84846189b4cdfa7ab624072ad1aebb6 (diff)
downloadports-edb7229dd444037f6015d4a7d1c93eade4ed41f0.tar.gz
ports-edb7229dd444037f6015d4a7d1c93eade4ed41f0.zip
Notes
Diffstat (limited to 'devel/appstream-glib')
-rw-r--r--devel/appstream-glib/Makefile9
-rw-r--r--devel/appstream-glib/pkg-plist2
2 files changed, 7 insertions, 4 deletions
diff --git a/devel/appstream-glib/Makefile b/devel/appstream-glib/Makefile
index 62500eb64bf5..ecdc228607c3 100644
--- a/devel/appstream-glib/Makefile
+++ b/devel/appstream-glib/Makefile
@@ -4,6 +4,7 @@
PORTNAME= appstream-glib
PORTVERSION= 0.2.6
+PORTREVISION= 1
CATEGORIES= devel
DIST_SUBDIR= gnome3
@@ -20,8 +21,8 @@ GH_PROJECT= appstream-glib
GH_COMMIT= f4f3230
GH_TAGNAME= ${GH_COMMIT}
-USES= autoreconf:build gmake libtool pathfix pkgconfig
-USE_GNOME= gdkpixbuf2 glib20 gtk30 intlhack
+USES= autoreconf:build gettext gmake libtool pathfix pkgconfig
+USE_GNOME= gdkpixbuf2 glib20 gtk30
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
USE_GITHUB= yes
@@ -42,6 +43,8 @@ post-patch:
${WRKSRC}/configure.ac
pre-configure:
- cd ${WRKSRC} && ${SETENV} NOCONFIGURE=yes ${SH} ./autogen.sh
+ (cd ${WRKSRC} && ${SETENV} NOCONFIGURE=yes ${SH} ./autogen.sh)
+ ${REINPLACE_CMD} 's/DATADIRNAME=lib/DATADIRNAME=share/' \
+ ${WRKSRC}/configure
.include <bsd.port.mk>
diff --git a/devel/appstream-glib/pkg-plist b/devel/appstream-glib/pkg-plist
index 9a9ffe90ab82..8bc0d2508ff8 100644
--- a/devel/appstream-glib/pkg-plist
+++ b/devel/appstream-glib/pkg-plist
@@ -59,7 +59,6 @@ lib/libappstream-glib.a
lib/libappstream-glib.so
lib/libappstream-glib.so.1
lib/libappstream-glib.so.1.5.6
-lib/locale/ru/LC_MESSAGES/appstream-glib.mo
libdata/pkgconfig/appstream-builder.pc
libdata/pkgconfig/appstream-glib.pc
share/aclocal/appstream-xml.m4
@@ -69,3 +68,4 @@ share/gir-1.0/AppStreamBuilder-1.0.gir
share/gir-1.0/AppStreamGlib-1.0.gir
share/installed-tests/appstream-glib/appdata-validate.test
share/installed-tests/appstream-glib/destdir-check.test
+share/locale/ru/LC_MESSAGES/appstream-glib.mo