From owner-svn-ports-all@FreeBSD.ORG Thu Jun 19 02:04:02 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2F1D39B9; Thu, 19 Jun 2014 02:04:02 +0000 (UTC) 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)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0188528A3; Thu, 19 Jun 2014 02:04:02 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s5J2415v008194; Thu, 19 Jun 2014 02:04:01 GMT (envelope-from jhale@svn.freebsd.org) Received: (from jhale@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s5J241kZ008191; Thu, 19 Jun 2014 02:04:01 GMT (envelope-from jhale@svn.freebsd.org) Message-Id: <201406190204.s5J241kZ008191@svn.freebsd.org> From: "Jason E. Hale" Date: Thu, 19 Jun 2014 02:04:01 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r358337 - head/math/libqalculate X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jun 2014 02:04:02 -0000 Author: jhale Date: Thu Jun 19 02:04:01 2014 New Revision: 358337 URL: http://svnweb.freebsd.org/changeset/ports/358337 QAT: https://qat.redports.org/buildarchive/r358337/ Log: - Use new LIB_DEPENDS syntax - Convert USE_AUTOTOOLS=libtool -> USES=libtool - Use options helpers - Strip binaries - Take maintainership Modified: head/math/libqalculate/Makefile head/math/libqalculate/pkg-plist Modified: head/math/libqalculate/Makefile ============================================================================== --- head/math/libqalculate/Makefile Thu Jun 19 01:31:46 2014 (r358336) +++ head/math/libqalculate/Makefile Thu Jun 19 02:04:01 2014 (r358337) @@ -7,36 +7,34 @@ PORTREVISION= 3 CATEGORIES= math MASTER_SITES= SF/qalculate/${PORTNAME}/${PORTNAME}-${PORTVERSION} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= jhale@FreeBSD.org COMMENT= Multi-purpose desktop calculator (backend library) -LIB_DEPENDS= cln:${PORTSDIR}/math/cln +LIB_DEPENDS= libcln.so:${PORTSDIR}/math/cln -USES= pkgconfig pathfix gmake +USES= pkgconfig pathfix gmake libtool USE_GNOME= glib20 intlhack libxml2 -USE_AUTOTOOLS= libtool USE_LDCONFIG= yes +GNU_CONFIGURE= yes OPTIONS_DEFINE= NLS +OPTIONS_SUB= yes -.include +NLS_USES= gettext +NLS_CONFIGURE_ENV= GMSGFMT="${LOCALBASE}/bin/msgfmt" -.if ${PORT_OPTIONS:MNLS} -USES+= gettext -PLIST_SUB+= NLS="" -.else -CONFIGURE_ARGS+= --disable-nls -PLIST_SUB+= NLS="@comment " -.endif +.include post-patch: -.if ${PORT_OPTIONS:MNLS} - @${REINPLACE_CMD} -e 's/^GMSGFMT = @GMSGFMT@/GMSGFMT = msgfmt/' ${WRKSRC}/po/Makefile.in.in -.else +.if !${PORT_OPTIONS:MNLS} @${REINPLACE_CMD} -e '/^SUBDIRS =/s|po ||g' ${WRKSRC}/Makefile.in .endif @${REINPLACE_CMD} -e '/^SUBDIRS =/s|docs||g' ${WRKSRC}/Makefile.in - @${REINPLACE_CMD} -e 's/-pthread/${PTHREAD_LIBS}/g' ${WRKSRC}/configure - @${REINPLACE_CMD} -e 's/-lpthread/${PTHREAD_LIBS}/g' ${WRKSRC}/libqalculate.pc.in + @${REINPLACE_CMD} -e 's/-lpthread/${PTHREAD_LIBS}/g' \ + ${WRKSRC}/${CONFIGURE_SCRIPT} \ + ${WRKSRC}/libqalculate.pc.in + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libqalculate.so* .include Modified: head/math/libqalculate/pkg-plist ============================================================================== --- head/math/libqalculate/pkg-plist Thu Jun 19 01:31:46 2014 (r358336) +++ head/math/libqalculate/pkg-plist Thu Jun 19 02:04:01 2014 (r358337) @@ -13,9 +13,9 @@ include/libqalculate/includes.h include/libqalculate/qalculate.h include/libqalculate/util.h lib/libqalculate.a -lib/libqalculate.la lib/libqalculate.so lib/libqalculate.so.5 +lib/libqalculate.so.5.0.0 libdata/pkgconfig/libqalculate.pc %%NLS%%share/locale/fr/LC_MESSAGES/libqalculate.mo %%NLS%%share/locale/nl/LC_MESSAGES/libqalculate.mo