aboutsummaryrefslogtreecommitdiff
path: root/math/nauty
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2020-10-03 15:44:46 +0000
committerThierry Thomas <thierry@FreeBSD.org>2020-10-03 15:44:46 +0000
commit3dbc69dd5954d8cb97d21e5d4e8692a37e1a78bb (patch)
treec93c1b0a880c100000b9ebad2e2d6351142ae3bf /math/nauty
parent97b8b49aa01edaf61afc2971ce45a2f6c53bd9be (diff)
downloadports-3dbc69dd5954d8cb97d21e5d4e8692a37e1a78bb.tar.gz
ports-3dbc69dd5954d8cb97d21e5d4e8692a37e1a78bb.zip
- 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.
Notes
Notes: svn path=/head/; revision=551323
Diffstat (limited to 'math/nauty')
-rw-r--r--math/nauty/Makefile29
-rw-r--r--math/nauty/distinfo6
2 files changed, 22 insertions, 13 deletions
diff --git a/math/nauty/Makefile b/math/nauty/Makefile
index 736942707217..67281360341f 100644
--- a/math/nauty/Makefile
+++ b/math/nauty/Makefile
@@ -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
diff --git a/math/nauty/distinfo b/math/nauty/distinfo
index 3a3d36e432c1..ef813103aef8 100644
--- a/math/nauty/distinfo
+++ b/math/nauty/distinfo
@@ -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