Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Feb 2016 09:59:10 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r409393 - branches/2016Q1/devel/libzvbi
Message-ID:  <201602230959.u1N9xAs5031533@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Tue Feb 23 09:59:10 2016
New Revision: 409393
URL: https://svnweb.freebsd.org/changeset/ports/409393

Log:
  MFH: r408422
  
  devel/libzvbi: modernize
  
  - Pass -DLIBICONV_PLUG [1]
  - Make NLS optional [2]
  - Convert to USES=localbase
  - Don't try to detect Doxygen
  - Strip binaries
  - Drop unused USES=pkgconfig
  - Define LICENSE
  
  PR:		206966
  Reported by:	vvd@unislabs.com (via koobs) [1]
  Approved by:	oliver (maintainer) [1][2], portmgr blanket
  Approved by:	ports-secteam (feld)

Modified:
  branches/2016Q1/devel/libzvbi/Makefile
  branches/2016Q1/devel/libzvbi/pkg-plist
Directory Properties:
  branches/2016Q1/   (props changed)

Modified: branches/2016Q1/devel/libzvbi/Makefile
==============================================================================
--- branches/2016Q1/devel/libzvbi/Makefile	Tue Feb 23 09:38:38 2016	(r409392)
+++ branches/2016Q1/devel/libzvbi/Makefile	Tue Feb 23 09:59:10 2016	(r409393)
@@ -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//}-${PORTVERS
 MAINTAINER=	oliver@FreeBSD.org
 COMMENT=	Routines to access raw VBI capture devices
 
+LICENSE=	GPLv2 # or any later version
+
 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' \

Modified: branches/2016Q1/devel/libzvbi/pkg-plist
==============================================================================
--- branches/2016Q1/devel/libzvbi/pkg-plist	Tue Feb 23 09:38:38 2016	(r409392)
+++ branches/2016Q1/devel/libzvbi/pkg-plist	Tue Feb 23 09:59:10 2016	(r409393)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602230959.u1N9xAs5031533>