From owner-svn-ports-all@FreeBSD.ORG Sat Feb 15 15:09:31 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 62A7E60C; Sat, 15 Feb 2014 15:09:31 +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)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 341741DEA; Sat, 15 Feb 2014 15:09:31 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s1FF9Vj0063591; Sat, 15 Feb 2014 15:09:31 GMT (envelope-from danilo@svn.freebsd.org) Received: (from danilo@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s1FF9VUc063590; Sat, 15 Feb 2014 15:09:31 GMT (envelope-from danilo@svn.freebsd.org) Message-Id: <201402151509.s1FF9VUc063590@svn.freebsd.org> From: Danilo Egea Gondolfo Date: Sat, 15 Feb 2014 15:09:31 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r344402 - head/math/primegen 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.17 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: Sat, 15 Feb 2014 15:09:31 -0000 Author: danilo Date: Sat Feb 15 15:09:30 2014 New Revision: 344402 URL: http://svnweb.freebsd.org/changeset/ports/344402 QAT: https://qat.redports.org/buildarchive/r344402/ Log: - Add stage support - Improve COMMENT Modified: head/math/primegen/Makefile Modified: head/math/primegen/Makefile ============================================================================== --- head/math/primegen/Makefile Sat Feb 15 15:03:55 2014 (r344401) +++ head/math/primegen/Makefile Sat Feb 15 15:09:30 2014 (r344402) @@ -7,13 +7,10 @@ CATEGORIES= math MASTER_SITES= http://cr.yp.to/primegen/ MAINTAINER= ports@FreeBSD.org -COMMENT= A small, fast library to generate prime numbers in order +COMMENT= Small, fast library to generate prime numbers in order ALL_TARGET= -MAN1= primes.1 primegaps.1 -MAN3= primegen.3 - PROGRAM_FILES= primes primegaps HEADER_FILES= primegen.h LIB_FILES= libprimegen.a @@ -27,7 +24,10 @@ PLIST_FILES+= ${HEADER_FILES:S,^,include # libraries PLIST_FILES+= ${LIB_FILES:S,^,lib/,} -NO_STAGE= yes +# man pages +PLIST_FILES+= man/man1/primes.1.gz man/man1/primegaps.1.gz \ + man/man3/primegen.3.gz + post-patch: @${FIND} ${WRKSRC} -type f -exec \ ${REINPLACE_CMD} -E -e 's!(primegen.a)!lib\1!' {} \; @@ -39,19 +39,16 @@ do-configure: do-install: .for file in ${PROGRAM_FILES} - @${INSTALL_PROGRAM} ${WRKSRC}/${file} ${PREFIX}/bin + @${INSTALL_PROGRAM} ${WRKSRC}/${file} ${STAGEDIR}${PREFIX}/bin .endfor .for file in ${HEADER_FILES} - @${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/include + @${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${PREFIX}/include .endfor .for file in ${LIB_FILES} - @${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/lib -.endfor -.for file in ${MAN1} - @${INSTALL_MAN} ${WRKSRC}/${file} ${MAN1PREFIX}/man/man1 -.endfor -.for file in ${MAN3} - @${INSTALL_MAN} ${WRKSRC}/${file} ${MAN3PREFIX}/man/man3 + @${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${PREFIX}/lib .endfor + @${INSTALL_MAN} ${WRKSRC}/primes.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 + @${INSTALL_MAN} ${WRKSRC}/primegaps.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 + @${INSTALL_MAN} ${WRKSRC}/primegen.3 ${STAGEDIR}${MAN3PREFIX}/man/man3 .include