Add libisocodes.

A interaction library for iso-codes 3.x and 4.x (when released).
This commit is contained in:
Koop Mast 2014-02-24 22:15:01 +00:00
parent 18d0289d45
commit 44a098df42
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=345902
5 changed files with 62 additions and 0 deletions

View file

@ -249,6 +249,7 @@
SUBDIR += lesspipe
SUBDIR += libeatmydata
SUBDIR += libhome
SUBDIR += libisocodes
SUBDIR += libkdeedu
SUBDIR += libmetalink
SUBDIR += libpri

32
misc/libisocodes/Makefile Normal file
View file

@ -0,0 +1,32 @@
# Created by: Koop Mast <kwm@FreeBSD.org>
# $FreeBSD$
PORTNAME= libisocodes
PORTVERSION= 1.0
CATEGORIES= misc
MASTER_SITES= http://pkg-isocodes.alioth.debian.org/downloads/
MAINTAINER= kwm@FreeBSD.org
COMMENT= Interaction library for iso-codes
LICENSE= GPLv3
BUILD_DEPENDS= valac:${PORTSDIR}/lang/vala
LIB_DEPENDS= libgee.so:${PORTSDIR}/devel/libgee06
RUN_DEPENDS= iso-codes>=0:${PORTSDIR}/misc/iso-codes
USE_XZ= yes
USES= gettext gmake libtool pathfix pkgconfig
USE_GNOME= glib20 gnomehier introspection:build libxml2
GNU_CONFIGURE= yes
post-patch:
@${REINPLACE_CMD} -e 's|/usr/share/xml/|${LOCALBASE}/share/xml/|g' \
${WRKSRC}/src/iso_15924.* ${WRKSRC}/src/iso_3166* \
${WRKSRC}/src/iso_4217.* ${WRKSRC}/src/iso_639* \
${WRKSRC}/src/isocodes.* ${WRKSRC}/tests/test_iso_*.vala
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libisocodes.so.0.0.0
.include <bsd.port.mk>

View file

@ -0,0 +1,2 @@
SHA256 (libisocodes-1.0.tar.xz) = 215fa3c4dc87490ff96bf76c61e1bda86c042b1626fad5311542791bd7aa570f
SIZE (libisocodes-1.0.tar.xz) = 284856

View file

@ -0,0 +1,10 @@
This library can be used to easily access XML data of the iso-codes
package. It will provide an abstraction layer to handle both the
version 3 and the upcoming version 4 of iso-codes. Moreover, all
available translations can be used as well.
This library makes use of the GObject introspection features, so that
it is accessible from a variety of programming languages, for example
C, Vala, Ruby, Python, Perl, Lua, JavaScript, PHP and many more.
WWW: http://pkg-isocodes.alioth.debian.org/

View file

@ -0,0 +1,17 @@
include/libisocodes.h
lib/girepository-1.0/libisocodes-1.0.typelib
lib/libisocodes.a
lib/libisocodes.la
lib/libisocodes.so
lib/libisocodes.so.0
lib/libisocodes.so.0.0.0
libdata/pkgconfig/libisocodes.pc
share/gir-1.0/libisocodes-1.0.gir
share/locale/de/LC_MESSAGES/libisocodes.mo
share/locale/en@boldquot/LC_MESSAGES/libisocodes.mo
share/locale/en@quot/LC_MESSAGES/libisocodes.mo
share/vala/vapi/libisocodes.vapi
@dirrmtry share/locale/en@quot/LC_MESSAGES
@dirrmtry share/locale/en@quot
@dirrmtry share/locale/en@boldquot/LC_MESSAGES
@dirrmtry share/locale/en@boldquot