svn commit: r409393 - branches/2016Q1/devel/libzvbi

Jan Beich jbeich at FreeBSD.org
Tue Feb 23 09:59:11 UTC 2016


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 at 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 at 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 at boldquot/LC_MESSAGES/zvbi.mo
-share/locale/en at 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 at boldquot/LC_MESSAGES/zvbi.mo
+%%NLS%%share/locale/en at 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


More information about the svn-ports-branches mailing list