1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-15 07:56:36 +00:00

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
This commit is contained in:
Jan Beich 2016-02-07 16:26:01 +00:00
parent b969f7964b
commit b5970b0154
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=408422
2 changed files with 19 additions and 12 deletions

View File

@ -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' \

View File

@ -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