- conversion of USE_GETTEXT to USES framework

Approved by:	portmgr (bapt@)
This commit is contained in:
Jason Helfman 2013-04-30 16:26:32 +00:00
parent 0cda9daa2b
commit 3ebd84eada
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=316948
4 changed files with 27 additions and 33 deletions

View file

@ -1,9 +1,5 @@
# New ports collection makefile for: linphone
# Date created: 30 December 2002
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
#
# Created by: Maxim Sobolev <sobomax@FreeBSD.org>
# $FreeBSD$
#
PORTNAME= linphone
PORTVERSION= 3.2.1
@ -21,7 +17,8 @@ LIB_DEPENDS= gsm.1:${PORTSDIR}/audio/gsm \
CONFLICTS= ortp-[0-9]*
USE_GNOME= glib20 gnomehack intlhack pkgconfig
USE_GNOME= glib20 intlhack
USES= pathfix pkgconfig
USE_GMAKE= yes
USE_AUTOTOOLS= libtool
LIBTOOLFILES= configure oRTP/configure mediastreamer2/configure
@ -34,18 +31,14 @@ USE_LDCONFIG= yes
CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
.include <bsd.port.pre.mk>
.include <bsd.port.options.mk>
.if ${ARCH} == "powerpc"
BROKEN= Does not compile on powerpc
.endif
.if defined(WITHOUT_NLS)
.if ${PORT_OPTIONS:MNLS}
USES+= gettext
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS="@comment "
.else
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
.endif
.if defined(LINPHONE_GUI)
@ -63,6 +56,12 @@ MAN1= linphonec.1 linphonecsh.1 sipomatic.1
SUBDIRS= po oRTP mediastreamer2 coreapi console
.endif
.include <bsd.port.pre.mk>
.if ${ARCH} == "powerpc"
BROKEN= Does not compile on powerpc
.endif
post-patch:
@${REINPLACE_CMD} -e 's|sounds/linphone|linphone/sounds|g' \
${WRKSRC}/configure

View file

@ -1,9 +1,5 @@
# New ports collection makefile for: ndisc6
# Date created: 12 July 2006
# Whom: rdenis@simphalempin.com
#
# Created by: rdenis@simphalempin.com
# $FreeBSD$
#
PORTNAME= ndisc6
PORTVERSION= 1.0.2
@ -21,14 +17,14 @@ USE_BZIP2= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-suid-install
.include <bsd.port.pre.mk>
.include <bsd.port.options.mk>
.if ${OSVERSION} >= 803000
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-rdnssd-rdnssd.h
.endif
.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
.if ${PORT_OPTIONS:MNLS}
USES+= gettext
.else
CONFIGURE_ARGS+=--disable-nls
.endif
@ -45,11 +41,11 @@ USE_RC_SUBR= rdnssd
PORTDOCS= AUTHORS NEWS README
post-install:
.ifndef(NOPORTDOCS)
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
.for file in ${PORTDOCS}
${INSTALL_MAN} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View file

@ -8,14 +8,14 @@ CATEGORIES= net gnome
MASTER_SITES= SF
MAINTAINER= ports@thepentagon.org
COMMENT= A GNOME 2 frontend for rdesktop and vncviewer
COMMENT= GNOME 2 frontend for rdesktop and vncviewer
RUN_DEPENDS= rdesktop:${PORTSDIR}/net/rdesktop
USE_AUTOTOOLS= libtool
USE_GNOME= gtk20
USE_GMAKE= yes
USE_GETTEXT= yes
USES= gettext
GNU_CONFIGURE= yes
CONFIGURE_ENV= LIBS="`pkg-config --libs libgnomeui-2.0`"
CPPFLAGS+= -I${LOCALBASE}/include `pkg-config --cflags libgnomeui-2.0`
@ -24,7 +24,7 @@ LDFLAGS+= -L${LOCALBASE}/lib
MAN1= tsclient.1
PORTDOCS= COPYING NEWS README
OPTIONS_DEFINE= GNOME TIGHTVNC XNEST DOCS
OPTIONS_DEFINE= GNOME TIGHTVNC XNEST DOCS
OPTIONS_DEFAULT= GNOME
TIGHTVNC_DESC= vncviewer support
XNEST_DESC= X via Xnest support
@ -32,8 +32,8 @@ XNEST_DESC= X via Xnest support
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MGNOME}
USES= pathfix
USE_GNOME+= gnomeprefix gnomepanel libgnomeui
USES+= pathfix
USE_GNOME+= gnomeprefix gnomepanel libgnomeui
.else
CONFIGURE_ARGS+= --disable-gnome
.endif

View file

@ -15,14 +15,13 @@ MASTER_SITES= http://www.wireshark.org/download/src/ \
DISTNAME= ${DATADIR_NAME}-${PORTVERSION}
MAINTAINER= marcus@FreeBSD.org
COMMENT?= A powerful network analyzer/capture tool
COMMENT?= Powerful network analyzer/capture tool
DATADIR_NAME= wireshark
USE_PERL5_BUILD=yes
USE_PYTHON_BUILD=yes
USE_GETTEXT= yes
USES= iconv
USES= iconv gettext
USE_BZIP2= yes
USE_GMAKE= yes
MAKE_JOBS_SAFE= yes