aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--misc/libisocodes/Makefile6
-rw-r--r--misc/libisocodes/distinfo4
-rw-r--r--misc/libisocodes/pkg-plist4
3 files changed, 8 insertions, 6 deletions
diff --git a/misc/libisocodes/Makefile b/misc/libisocodes/Makefile
index 4016a1fc40d7..c3fced97c50c 100644
--- a/misc/libisocodes/Makefile
+++ b/misc/libisocodes/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= libisocodes
-PORTVERSION= 1.2
+PORTVERSION= 1.2.1
CATEGORIES= misc
MASTER_SITES= http://pkg-isocodes.alioth.debian.org/downloads/
@@ -12,7 +12,7 @@ COMMENT= Interaction library for iso-codes
LICENSE= GPLv3
BUILD_DEPENDS= valac:${PORTSDIR}/lang/vala
-LIB_DEPENDS= libgee.so:${PORTSDIR}/devel/libgee06
+LIB_DEPENDS= libgee-0.8.so:${PORTSDIR}/devel/libgee
RUN_DEPENDS= iso-codes>=0:${PORTSDIR}/misc/iso-codes
GNU_CONFIGURE= yes
@@ -20,6 +20,8 @@ USES= gettext gmake libtool pathfix pkgconfig tar:xz
USE_GNOME= glib20 gnomehier introspection:build libxml2
INSTALL_TARGET= install-strip
+PLIST_SUB+= VERSION=${PORTVERSION}
+
post-patch:
@${REINPLACE_CMD} -e 's|/usr/share/xml/|${LOCALBASE}/share/xml/|g' \
${WRKSRC}/src/iso_15924.* ${WRKSRC}/src/iso_3166* \
diff --git a/misc/libisocodes/distinfo b/misc/libisocodes/distinfo
index 3d87a4a748dc..73611ab50c19 100644
--- a/misc/libisocodes/distinfo
+++ b/misc/libisocodes/distinfo
@@ -1,2 +1,2 @@
-SHA256 (libisocodes-1.2.tar.xz) = 49066752e4a0bcd4a09837ef6c0f35a754aadb82dc5597f539a66ba9cf39829c
-SIZE (libisocodes-1.2.tar.xz) = 291692
+SHA256 (libisocodes-1.2.1.tar.xz) = 593dce4606d863c3ea3a5fada24fda1784bb397ee3c473cdb634b59145a52ef0
+SIZE (libisocodes-1.2.1.tar.xz) = 291528
diff --git a/misc/libisocodes/pkg-plist b/misc/libisocodes/pkg-plist
index 918a7672dc5b..823be5521277 100644
--- a/misc/libisocodes/pkg-plist
+++ b/misc/libisocodes/pkg-plist
@@ -1,11 +1,11 @@
include/libisocodes.h
-lib/girepository-1.0/libisocodes-1.2.typelib
+lib/girepository-1.0/libisocodes-%%VERSION%%.typelib
lib/libisocodes.a
lib/libisocodes.so
lib/libisocodes.so.1
lib/libisocodes.so.1.1.0
libdata/pkgconfig/libisocodes.pc
-share/gir-1.0/libisocodes-1.2.gir
+share/gir-1.0/libisocodes-%%VERSION%%.gir
share/locale/cs/LC_MESSAGES/libisocodes.mo
share/locale/da/LC_MESSAGES/libisocodes.mo
share/locale/de/LC_MESSAGES/libisocodes.mo