aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2016-02-07 16:26:01 +0000
committerJan Beich <jbeich@FreeBSD.org>2016-02-07 16:26:01 +0000
commitb5970b0154ba5266986c821b0011450e696cf17a (patch)
tree8eed40bda234dbdb49ad9e2411a2e74a2a89593e
parentb969f7964bcb86a34a8eda48999a764b3c7aacc1 (diff)
Notes
-rw-r--r--devel/libzvbi/Makefile15
-rw-r--r--devel/libzvbi/pkg-plist16
2 files changed, 19 insertions, 12 deletions
diff --git a/devel/libzvbi/Makefile b/devel/libzvbi/Makefile
index a28def7e2943..9cffbf1495df 100644
--- a/devel/libzvbi/Makefile
+++ b/devel/libzvbi/Makefile
@@ -3,7 +3,7 @@
PORTNAME= libzvbi
PORTVERSION= 0.2.35
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= devel
MASTER_SITES= SF/zapping/zvbi/${PORTVERSION}
DISTNAME= ${PORTNAME:S/lib//}-${PORTVERSION}
@@ -11,15 +11,22 @@ DISTNAME= ${PORTNAME:S/lib//}-${PORTVERSION}
MAINTAINER= oliver@FreeBSD.org
COMMENT= Routines to access raw VBI capture devices
+LICENSE= GPLv2+
+
LIB_DEPENDS+= libpng.so:${PORTSDIR}/graphics/png \
libunicode.so:${PORTSDIR}/devel/libunicode
-USES= gettext libtool pathfix pkgconfig tar:bzip2
+USES= iconv libtool localbase pathfix tar:bzip2
GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --without-doxygen
+INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
-CPPFLAGS+= -I${LOCALBASE}/include
-LIBS+= -L${LOCALBASE}/lib
+OPTIONS_DEFINE= NLS
+OPTIONS_SUB= yes
+
+NLS_CONFIGURE_ENABLE=nls
+NLS_USES= gettext-runtime
post-patch:
@${REINPLACE_CMD} -e 's|#cpu (\([^)]*\))|defined(__\1__)|g' \
diff --git a/devel/libzvbi/pkg-plist b/devel/libzvbi/pkg-plist
index e5065b7661d4..e0b65c51313f 100644
--- a/devel/libzvbi/pkg-plist
+++ b/devel/libzvbi/pkg-plist
@@ -6,11 +6,11 @@ lib/libzvbi.so.0
lib/libzvbi.so.0.13.2
libdata/pkgconfig/zvbi-0.2.pc
man/man1/zvbi-ntsc-cc.1.gz
-share/locale/de/LC_MESSAGES/zvbi.mo
-share/locale/en@boldquot/LC_MESSAGES/zvbi.mo
-share/locale/en@quot/LC_MESSAGES/zvbi.mo
-share/locale/es/LC_MESSAGES/zvbi.mo
-share/locale/fr/LC_MESSAGES/zvbi.mo
-share/locale/it/LC_MESSAGES/zvbi.mo
-share/locale/nl/LC_MESSAGES/zvbi.mo
-share/locale/pl/LC_MESSAGES/zvbi.mo
+%%NLS%%share/locale/de/LC_MESSAGES/zvbi.mo
+%%NLS%%share/locale/en@boldquot/LC_MESSAGES/zvbi.mo
+%%NLS%%share/locale/en@quot/LC_MESSAGES/zvbi.mo
+%%NLS%%share/locale/es/LC_MESSAGES/zvbi.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/zvbi.mo
+%%NLS%%share/locale/it/LC_MESSAGES/zvbi.mo
+%%NLS%%share/locale/nl/LC_MESSAGES/zvbi.mo
+%%NLS%%share/locale/pl/LC_MESSAGES/zvbi.mo