From owner-svn-ports-head@freebsd.org Mon Dec 26 09:01:00 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B908AC91D49; Mon, 26 Dec 2016 09:01:00 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::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 88979168F; Mon, 26 Dec 2016 09:01:00 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id uBQ90xmb003043; Mon, 26 Dec 2016 09:00:59 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id uBQ90xXP003042; Mon, 26 Dec 2016 09:00:59 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201612260900.uBQ90xXP003042@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Mon, 26 Dec 2016 09:00:59 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r429486 - head/math/nauty 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.23 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: Mon, 26 Dec 2016 09:01:00 -0000 Author: amdmi3 Date: Mon Dec 26 09:00:59 2016 New Revision: 429486 URL: https://svnweb.freebsd.org/changeset/ports/429486 Log: - Add LICENSE - Switch to options helpers Modified: head/math/nauty/Makefile Modified: head/math/nauty/Makefile ============================================================================== --- head/math/nauty/Makefile Mon Dec 26 08:46:36 2016 (r429485) +++ head/math/nauty/Makefile Mon Dec 26 09:00:59 2016 (r429486) @@ -10,19 +10,28 @@ DISTNAME= ${PORTNAME}${PORTVERSION:S!.!! MAINTAINER= ports@FreeBSD.org COMMENT= Brendan McKay's graph isomorphism tester +LICENSE= NAUTY +LICENSE_NAME= nauty license +LICENSE_FILE= ${WRKDIR}/LICENSE +LICENSE_PERMS= dist-mirror pkg-mirror auto-accept + USES= gmake GNU_CONFIGURE= yes MAKEFILE= makefile +PROGRAMS= NRswitchg addedgeg amtog biplabg catg complg copyg \ + countg deledgeg directg dreadnaut dretog genbg geng \ + genrang gentourng labelg listg multig newedgeg pickg \ + planarg shortg showg + PORTDOCS= nug.pdf PLIST_FILES= ${PROGRAMS:S!^!bin/!} OPTIONS_DEFINE= DOCS -PROGRAMS= NRswitchg addedgeg amtog biplabg catg complg copyg \ - countg deledgeg directg dreadnaut dretog genbg geng \ - genrang gentourng labelg listg multig newedgeg pickg \ - planarg shortg showg +post-extract: + @${SED} -ne '/AUTHOR/,/RIP/ {s|^\* ||; s| *\*$$||;p;}' \ + < ${WRKSRC}/nauty.h > ${WRKDIR}/LICENSE post-patch: @${REINPLACE_CMD} -e \ @@ -31,11 +40,13 @@ post-patch: do-install: .for i in ${PROGRAMS} - (cd ${WRKSRC} && ${INSTALL_PROGRAM} ${i} ${STAGEDIR}${PREFIX}/bin) + ${INSTALL_PROGRAM} ${WRKSRC}/${i} ${STAGEDIR}${PREFIX}/bin .endfor + +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in ${PORTDOCS} - (cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${STAGEDIR}${DOCSDIR}) + ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR} .endfor .include