Date: Tue, 22 Oct 2013 16:02:20 +0000 (UTC) From: Tijl Coosemans <tijl@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r331285 - head/comms/libticables2 Message-ID: <201310221602.r9MG2Kft093409@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tijl Date: Tue Oct 22 16:02:19 2013 New Revision: 331285 URL: http://svnweb.freebsd.org/changeset/ports/331285 Log: - Support staging. - USES=gmake. - Options helpers. - Make the Requires field private in pkgconfig file. Modified: head/comms/libticables2/Makefile Modified: head/comms/libticables2/Makefile ============================================================================== --- head/comms/libticables2/Makefile Tue Oct 22 16:01:23 2013 (r331284) +++ head/comms/libticables2/Makefile Tue Oct 22 16:02:19 2013 (r331285) @@ -2,6 +2,7 @@ PORTNAME= libticables2 PORTVERSION= 1.3.4 +PORTREVISION= 1 CATEGORIES= comms MASTER_SITES= SF/tilp/tilp2-linux/tilp2-1.17 @@ -11,27 +12,22 @@ COMMENT= TI calculator link cables libra LICENSE= GPLv2 USE_BZIP2= yes -USE_GMAKE= yes USE_GNOME= glib20 USE_LDCONFIG= yes -USES= pathfix pkgconfig +USES= gmake pathfix pkgconfig OPTIONS_DEFINE= NLS +OPTIONS_SUB= yes + +NLS_USES= gettext +NLS_CONFIGURE_ENABLE= nls GNU_CONFIGURE= yes CONFIGURE_ENV= LIBUSB_CFLAGS=" " LIBUSB_LIBS="-lusb" CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -NO_STAGE= yes -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MNLS} -USES+= gettext -PLIST_SUB+= NLS="" -.else -CONFIGURE_ARGS+=--disable-nls -PLIST_SUB+= NLS="@comment " -.endif +post-patch: + @${REINPLACE_CMD} -e 's/Requires/&.private/' ${WRKSRC}/ticables2.pc.in .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310221602.r9MG2Kft093409>