From owner-svn-ports-head@FreeBSD.ORG Tue Oct 22 16:03:18 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 07330A38; Tue, 22 Oct 2013 16:03:18 +0000 (UTC) (envelope-from tijl@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E909424AD; Tue, 22 Oct 2013 16:03:17 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r9MG3HY4093801; Tue, 22 Oct 2013 16:03:17 GMT (envelope-from tijl@svn.freebsd.org) Received: (from tijl@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r9MG3Hre093800; Tue, 22 Oct 2013 16:03:17 GMT (envelope-from tijl@svn.freebsd.org) Message-Id: <201310221603.r9MG3Hre093800@svn.freebsd.org> From: Tijl Coosemans Date: Tue, 22 Oct 2013 16:03:17 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r331286 - head/comms/libticalcs2 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Oct 2013 16:03:18 -0000 Author: tijl Date: Tue Oct 22 16:03:17 2013 New Revision: 331286 URL: http://svnweb.freebsd.org/changeset/ports/331286 Log: - Support staging. - New LIB_DEPENDS syntax. - USES=gmake. - Options helpers. - Make the Requires field private in pkgconfig file. Modified: head/comms/libticalcs2/Makefile Modified: head/comms/libticalcs2/Makefile ============================================================================== --- head/comms/libticalcs2/Makefile Tue Oct 22 16:02:19 2013 (r331285) +++ head/comms/libticalcs2/Makefile Tue Oct 22 16:03:17 2013 (r331286) @@ -2,6 +2,7 @@ PORTNAME= libticalcs2 PORTVERSION= 1.1.8 +PORTREVISION= 1 CATEGORIES= comms MASTER_SITES= SF/tilp/tilp2-linux/tilp2-1.17 @@ -10,31 +11,26 @@ COMMENT= TI calculator library LICENSE= GPLv2 -LIB_DEPENDS= ticables2:${PORTSDIR}/comms/libticables2 \ - ticonv:${PORTSDIR}/converters/libticonv \ - tifiles2:${PORTSDIR}/devel/libtifiles2 +LIB_DEPENDS= libticables2.so:${PORTSDIR}/comms/libticables2 \ + libticonv.so:${PORTSDIR}/converters/libticonv \ + libtifiles2.so:${PORTSDIR}/devel/libtifiles2 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 CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -NO_STAGE= yes -.include - -.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}/ticalcs2.pc.in .include