Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Oct 2020 15:44:46 +0000 (UTC)
From:      Thierry Thomas <thierry@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r551323 - head/math/nauty
Message-ID:  <202010031544.093FikYX020390@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: thierry
Date: Sat Oct  3 15:44:46 2020
New Revision: 551323
URL: https://svnweb.freebsd.org/changeset/ports/551323

Log:
  - Upgrade to 2.7 (27r1)
    Changelog at <http://pallini.di.uniroma1.it/changes24-27.txt>;
  
  - Install libnauty (static lib only ATM) so that it can be used by Sage-9.2.

Modified:
  head/math/nauty/Makefile
  head/math/nauty/distinfo

Modified: head/math/nauty/Makefile
==============================================================================
--- head/math/nauty/Makefile	Sat Oct  3 15:43:52 2020	(r551322)
+++ head/math/nauty/Makefile	Sat Oct  3 15:44:46 2020	(r551323)
@@ -2,35 +2,44 @@
 # $FreeBSD$
 
 PORTNAME=	nauty
-PORTVERSION=	2.6r12
+PORTVERSION=	27r1
 CATEGORIES=	math
 MASTER_SITES=	http://cs.anu.edu.au/~bdm/nauty/	\
 		http://pallini.di.uniroma1.it/
 DISTNAME=	${PORTNAME}${PORTVERSION:S!.!!}
 
 MAINTAINER=	ports@FreeBSD.org
-COMMENT=	Brendan McKay's graph isomorphism tester
+COMMENT=	Nauty & Traces are programs for graph automorphisms
 
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/COPYRIGHT
 
 USES=		gmake
 GNU_CONFIGURE=	yes
+CFLAGS+=	-fPIC
 MAKEFILE=	makefile
+TEST_TARGET=	check
 
-PROGRAMS=	addedgeg amtog biplabg catg complg converseg copyg countg	\
-		cubhamg deledgeg delptg directg dreadnaut dretodot dretog genbg	\
-		genbgL geng genquarticg genrang genspecialg gentourng gentreeg	\
-		hamheuristic labelg linegraphg listg multig newedgeg NRswitchg	\
-		pickg planarg ranlabg shortg showg subdivideg twohamg vcolg	\
-		watercluster2
+PROGRAMS=	addedgeg amtog assembleg biplabg catg complg converseg copyg	\
+		countg cubhamg deledgeg delptg directg dreadnaut dretodot dretog\
+		edgetransg genbg genbgL geng gengL genquarticg genrang		\
+		genspecialg gentourng gentreeg hamheuristic labelg linegraphg	\
+		listg multig newedgeg NRswitchg pickg planarg ranlabg shortg	\
+		showg subdivideg twohamg underlyingg vcolg watercluster2
 
-PORTDOCS=	nug26.pdf
-PLIST_FILES=	${PROGRAMS:S!^!bin/!}
+PORTDOCS=	nug27.pdf
+PLIST_FILES=	include/nauty/nauty.h lib/libnauty.a ${PROGRAMS:S!^!bin/!}
 
 OPTIONS_DEFINE=	DOCS
 
+post-extract:
+	${RM} ${WRKSRC}/*.a
+
 do-install:
+	${MKDIR} ${STAGEDIR}${PREFIX}/include/nauty
+	${INSTALL_DATA} ${WRKSRC}/nauty.h ${STAGEDIR}${PREFIX}/include/nauty
+	# Do not use ${INSTALL_LIB} to strip the library!
+	${INSTALL_DATA} ${WRKSRC}/nauty.a ${STAGEDIR}${PREFIX}/lib/libnauty.a
 .for i in ${PROGRAMS}
 	${INSTALL_PROGRAM} ${WRKSRC}/${i} ${STAGEDIR}${PREFIX}/bin
 .endfor

Modified: head/math/nauty/distinfo
==============================================================================
--- head/math/nauty/distinfo	Sat Oct  3 15:43:52 2020	(r551322)
+++ head/math/nauty/distinfo	Sat Oct  3 15:44:46 2020	(r551323)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1586023265
-SHA256 (nauty26r12.tar.gz) = 862ae0dc3656db34ede6fafdb0999f7b875b14c7ab4fedbb3da4f28291eb95dc
-SIZE (nauty26r12.tar.gz) = 1660980
+TIMESTAMP = 1601648114
+SHA256 (nauty27r1.tar.gz) = 76ca5d196e402c83a987f90c28ff706bcc5a333bb4a8fbb979a62d3b99c34e77
+SIZE (nauty27r1.tar.gz) = 3428473



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202010031544.093FikYX020390>