From owner-svn-ports-all@FreeBSD.ORG Fri Jul 18 09:41:43 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 00D6BE86; Fri, 18 Jul 2014 09:41:42 +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 C8D0D2F54; Fri, 18 Jul 2014 09:41:42 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s6I9fgNI062162; Fri, 18 Jul 2014 09:41:42 GMT (envelope-from tijl@svn.freebsd.org) Received: (from tijl@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s6I9fgIg062158; Fri, 18 Jul 2014 09:41:42 GMT (envelope-from tijl@svn.freebsd.org) Message-Id: <201407180941.s6I9fgIg062158@svn.freebsd.org> From: Tijl Coosemans Date: Fri, 18 Jul 2014 09:41:42 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r362199 - head/misc/sword 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: Fri, 18 Jul 2014 09:41:43 -0000 Author: tijl Date: Fri Jul 18 09:41:42 2014 New Revision: 362199 URL: http://svnweb.freebsd.org/changeset/ports/362199 QAT: https://qat.redports.org/buildarchive/r362199/ Log: - USES=libtool pathfix - Add INSTALL_TARGET=install-strip - Avoid USE_AUTOTOOLS - Use @sample Modified: head/misc/sword/Makefile head/misc/sword/pkg-plist Modified: head/misc/sword/Makefile ============================================================================== --- head/misc/sword/Makefile Fri Jul 18 09:38:01 2014 (r362198) +++ head/misc/sword/Makefile Fri Jul 18 09:41:42 2014 (r362199) @@ -3,7 +3,7 @@ PORTNAME= sword PORTVERSION= 1.7.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= misc MASTER_SITES= ftp://ftp.crosswire.org/pub/sword/source/v${PORTVERSION:R}/ \ http://crosswire.org/ftpmirror/pub/sword/source/v${PORTVERSION:R}/ @@ -15,9 +15,10 @@ LICENSE= GPLv2 BUILD_DEPENDS= cppunit-config:${PORTSDIR}/devel/cppunit -USES= gmake pkgconfig -USE_AUTOTOOLS= automake autoconf +GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-conf --with-zlib +INSTALL_TARGET= install-strip +USES= gmake libtool pathfix pkgconfig USE_LDCONFIG= yes SUB_FILES= pkg-message @@ -44,26 +45,12 @@ CONFIGURE_ARGS+= --with-clucene=${LOCALB CONFIGURE_ARGS+= --without-clucene --without-icu .endif -run-autotools:: run-autotools-aclocal - - @${REINPLACE_CMD} -e 's|-O3||' ${WRKSRC}/configure - post-patch: - @${REINPLACE_CMD} -e 's|$$(libdir)/pkgconfig|${PREFIX}/libdata/pkgconfig|g' \ - -e's|-O3||g' \ - -e 's|%%DESTDIR%%|${STAGEDIR}|g' \ - ${WRKSRC}/Makefile.am ${WRKSRC}/Makefile.in + @${REINPLACE_CMD} 's|-O3||' ${WRKSRC}/configure post-install: - @${MKDIR} ${PREFIX}/share/sword/mods.d -.if !exists(${PREFIX}/etc/sword.conf) @(cd ${WRKSRC} && ${MAKE_CMD} install_config) -.else - @${ECHO_CMD} "Config file not installed since ${PREFIX}/etc/sword.conf already exists." - @${ECHO_CMD} "Please check that DataPath points to your modules (default ${DATADIR})."; -.endif - @${ECHO_CMD} - @${CAT} ${PKGMESSAGE} - @${ECHO_CMD} + ${MV} ${STAGEDIR}${PREFIX}/etc/sword.conf \ + ${STAGEDIR}${PREFIX}/etc/sword.conf.sample .include Modified: head/misc/sword/pkg-plist ============================================================================== --- head/misc/sword/pkg-plist Fri Jul 18 09:38:01 2014 (r362198) +++ head/misc/sword/pkg-plist Fri Jul 18 09:41:42 2014 (r362199) @@ -14,7 +14,7 @@ bin/xml2gbs bin/imp2gbs bin/imp2ld bin/mod2zmod -%%ETCDIR%%.conf +@sample etc/sword.conf include/sword/canon.h include/sword/canon_abbrevs.h include/sword/cipherfil.h @@ -186,7 +186,6 @@ include/sword/canon_null.h include/sword/canon_orthodox.h lib/libsword-%%PORTVERSION%%.so lib/libsword.a -lib/libsword.la lib/libsword.so libdata/pkgconfig/sword.pc %%DATADIR%%/locales.d/abbr.conf