svn commit: r408422 - head/devel/libzvbi

Jan Beich jbeich at FreeBSD.org
Sun Feb 7 16:26:03 UTC 2016


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 at 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 at 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 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-all mailing list