Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Feb 2016 16:26:01 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r408422 - head/devel/libzvbi
Message-ID:  <201602071626.u17GQ11l027880@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Sun Feb  7 16:26:01 2016
New Revision: 408422
URL: https://svnweb.freebsd.org/changeset/ports/408422

Log:
  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

Modified:
  head/devel/libzvbi/Makefile   (contents, props changed)
  head/devel/libzvbi/pkg-plist   (contents, props changed)

Modified: head/devel/libzvbi/Makefile
==============================================================================
--- head/devel/libzvbi/Makefile	Sun Feb  7 16:25:33 2016	(r408421)
+++ head/devel/libzvbi/Makefile	Sun Feb  7 16:26:01 2016	(r408422)
@@ -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+
+
 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: head/devel/libzvbi/pkg-plist
==============================================================================
--- head/devel/libzvbi/pkg-plist	Sun Feb  7 16:25:33 2016	(r408421)
+++ head/devel/libzvbi/pkg-plist	Sun Feb  7 16:26:01 2016	(r408422)
@@ -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?201602071626.u17GQ11l027880>