Date: Thu, 20 Mar 2014 03:26:03 +0900 From: KATO Tsuguru <tkato432@yahoo.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/187746: math/nauty: Fix build Message-ID: <20140320032603.a86fdca001e98c7f06d569fd@yahoo.com> Resent-Message-ID: <201403191840.s2JIe3O0002398@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 187746 >Category: ports >Synopsis: math/nauty: Fix build >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Mar 19 18:40:03 UTC 2014 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 8.4-RELEASE-p7 i386 >Organization: >Environment: >Description: - Fix build - Support PLIST_FILES Remove file: pkg-plist >How-To-Repeat: >Fix: diff -urN /usr/ports/math/nauty/Makefile math/nauty/Makefile --- /usr/ports/math/nauty/Makefile 2014-03-14 18:09:54.000000000 +0900 +++ math/nauty/Makefile 2014-03-20 00:00:00.000000000 +0900 @@ -5,34 +5,37 @@ PORTVERSION= 2.4r2 CATEGORIES= math MASTER_SITES= http://cs.anu.edu.au/~bdm/nauty/ -DISTNAME= ${PORTNAME}24r2 +DISTNAME= ${PORTNAME}${PORTVERSION:S!.!!} MAINTAINER= ports@FreeBSD.org COMMENT= Brendan McKay's graph isomorphism tester -WRKSRC= ${WRKDIR}/${PORTNAME}24r2 +USES= gmake +GNU_CONFIGURE= yes MAKEFILE= makefile -USE_CSTD= gnu89 -GNU_CONFIGURE= YES + 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 -NO_STAGE= yes post-patch: - @${REINPLACE_CMD} -e 's|gcc|${CC}|; s|-O4 -march=i686|${CFLAGS}|' \ - ${WRKSRC}/${MAKEFILE} + @${REINPLACE_CMD} -e \ + 's|gcc|$${CC}| ; \ + s|-O4 -march=i686|$${CFLAGS}|' ${WRKSRC}/${MAKEFILE} do-install: - cd ${WRKSRC}; ${INSTALL_PROGRAM} dreadnaut copyg listg labelg dretog \ - amtog geng complg shortg showg NRswitchg biplabg addedgeg \ - deledgeg countg pickg genrang newedgeg catg genbg directg \ - multig planarg gentourng ${PREFIX}/bin - -post-install: -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} +.for i in ${PROGRAMS} + (cd ${WRKSRC} && ${INSTALL_PROGRAM} ${i} ${STAGEDIR}${PREFIX}/bin) +.endfor + @${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} + (cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${STAGEDIR}${DOCSDIR}) .endfor -.endif .include <bsd.port.mk> diff -urN /usr/ports/math/nauty/pkg-plist math/nauty/pkg-plist --- /usr/ports/math/nauty/pkg-plist 2014-01-23 02:55:38.000000000 +0900 +++ math/nauty/pkg-plist 1970-01-01 09:00:00.000000000 +0900 @@ -1,24 +0,0 @@ -bin/NRswitchg -bin/addedgeg -bin/amtog -bin/biplabg -bin/catg -bin/complg -bin/copyg -bin/countg -bin/deledgeg -bin/directg -bin/dreadnaut -bin/dretog -bin/genbg -bin/geng -bin/genrang -bin/gentourng -bin/labelg -bin/listg -bin/multig -bin/newedgeg -bin/pickg -bin/planarg -bin/shortg -bin/showg >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140320032603.a86fdca001e98c7f06d569fd>