diff --git a/devel/libconfuse/Makefile b/devel/libconfuse/Makefile index 23f35bf3efe9..db3eff80597a 100644 --- a/devel/libconfuse/Makefile +++ b/devel/libconfuse/Makefile @@ -1,25 +1,30 @@ # Created by: Juraj Lutter # $FreeBSD$ PORTNAME= libconfuse -DISTVERSIONPREFIX= v -DISTVERSION= 3.3 -PORTREVISION= 1 +PORTVERSION= 3.3 +PORTREVISION= 2 CATEGORIES= devel +MASTER_SITES= https://github.com/libconfuse/libconfuse/releases/download/v${PORTVERSION}/ +DISTNAME= confuse-${PORTVERSION} MAINTAINER= juraj@lutter.sk COMMENT= Configuration file parsing library LICENSE= ISCL -USES= autoreconf gettext-tools iconv pathfix pkgconfig libtool +USES= iconv libtool pathfix pkgconfig tar:xz USE_LDCONFIG= yes -USE_GITHUB= yes -GH_ACCOUNT= libconfuse GNU_CONFIGURE= yes -CONFIGURE_ARGS= --disable-nls --enable-shared +CONFIGURE_ARGS= --enable-shared --disable-examples INSTALL_TARGET= install-strip TEST_TARGET= check +OPTIONS_DEFINE= NLS +OPTIONS_SUB= yes + +NLS_USES= gettext +NLS_CONFIGURE_ENABLE= nls + .include diff --git a/devel/libconfuse/distinfo b/devel/libconfuse/distinfo index 8779a2f2f991..91739e440ba8 100644 --- a/devel/libconfuse/distinfo +++ b/devel/libconfuse/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1597585961 -SHA256 (libconfuse-libconfuse-v3.3_GH0.tar.gz) = cb90c06f2dbec971792af576d5b9a382fb3c4ca2b1deea55ea262b403f4e641e -SIZE (libconfuse-libconfuse-v3.3_GH0.tar.gz) = 123482 +TIMESTAMP = 1600680024 +SHA256 (confuse-3.3.tar.xz) = 1dd50a0320e135a55025b23fcdbb3f0a81913b6d0b0a9df8cc2fdf3b3dc67010 +SIZE (confuse-3.3.tar.xz) = 485140 diff --git a/devel/libconfuse/pkg-plist b/devel/libconfuse/pkg-plist index 32fde5efa950..ecb0a5831a20 100644 --- a/devel/libconfuse/pkg-plist +++ b/devel/libconfuse/pkg-plist @@ -1,10 +1,13 @@ include/confuse.h lib/libconfuse.a lib/libconfuse.so lib/libconfuse.so.2 lib/libconfuse.so.2.1.0 libdata/pkgconfig/libconfuse.pc share/doc/confuse/AUTHORS share/doc/confuse/ChangeLog.md share/doc/confuse/LICENSE share/doc/confuse/README.md +%%NLS%%share/locale/de/LC_MESSAGES/confuse.mo +%%NLS%%share/locale/fr/LC_MESSAGES/confuse.mo +%%NLS%%share/locale/sv/LC_MESSAGES/confuse.mo