aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2001-05-30 00:13:39 +0800
committerijliao <ijliao@FreeBSD.org>2001-05-30 00:13:39 +0800
commit635a20283c0c48380c79873b57cd4fb4497de2c8 (patch)
treeef059d0e924a7a05bc7a0d380dc5dd039a419014
parent0d0cd2844ebf5109685821ba28f79292f7842e9f (diff)
downloadfreebsd-ports-graphics-635a20283c0c48380c79873b57cd4fb4497de2c8.tar.gz
freebsd-ports-graphics-635a20283c0c48380c79873b57cd4fb4497de2c8.tar.zst
freebsd-ports-graphics-635a20283c0c48380c79873b57cd4fb4497de2c8.zip
add nauty
Brendan McKay's graph isomorphism tester PR: 27620 Submitted by: David Bremner <bremner@unb.ca>
-rw-r--r--math/Makefile1
-rw-r--r--math/nauty/Makefile35
-rw-r--r--math/nauty/distinfo1
-rw-r--r--math/nauty/pkg-comment1
-rw-r--r--math/nauty/pkg-descr3
-rw-r--r--math/nauty/pkg-plist7
6 files changed, 48 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile
index bc078542e8b..0d954f4d196 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -44,6 +44,7 @@
SUBDIR += metis
SUBDIR += mtrxmath
SUBDIR += mupad
+ SUBDIR += nauty
SUBDIR += netcdf
SUBDIR += ngraph
SUBDIR += ntl
diff --git a/math/nauty/Makefile b/math/nauty/Makefile
new file mode 100644
index 00000000000..ef79cfa3e39
--- /dev/null
+++ b/math/nauty/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: nauty
+# Date created: May 24 2001
+# Whom: bremner@unb.ca
+#
+# $FreeBSD$
+#
+
+PORTNAME= nauty
+PORTVERSION= 2.0b9
+CATEGORIES= math
+MASTER_SITES= http://cs.anu.edu.au/~bdm/nauty/
+DISTNAME= ${PORTNAME}20beta9
+
+MAINTAINER= bremner@unb.ca
+
+WRKSRC= ${WRKDIR}/${PORTNAME}20
+MAKEFILE= makefile
+ALL_TARGET= nauty
+NO_INSTALL_MANPAGES=yes
+
+post-patch:
+ @${PERL} -pi -e "s,^CFLAGS,#CFLAGS,g" ${WRKSRC}/${MAKEFILE}
+
+do-install:
+ cd ${WRKSRC}; ${INSTALL_PROGRAM} dreadnaut dreadnaut1 \
+ dreadnautL1 dreadnautB ${PREFIX}/bin
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${PREFIX}/share/doc/${PORTNAME}
+ ${INSTALL_MAN} ${WRKSRC}/oldmanual.ps ${WRKSRC}/read.me \
+ ${PREFIX}/share/doc/${PORTNAME}
+.endif
+
+.include <bsd.port.mk>
diff --git a/math/nauty/distinfo b/math/nauty/distinfo
new file mode 100644
index 00000000000..9b882456c82
--- /dev/null
+++ b/math/nauty/distinfo
@@ -0,0 +1 @@
+MD5 (nauty20beta9.tar.gz) = 0209a4531f19d0522603871d90204175
diff --git a/math/nauty/pkg-comment b/math/nauty/pkg-comment
new file mode 100644
index 00000000000..b5ead21d678
--- /dev/null
+++ b/math/nauty/pkg-comment
@@ -0,0 +1 @@
+Brendan McKay's graph isomorphism tester
diff --git a/math/nauty/pkg-descr b/math/nauty/pkg-descr
new file mode 100644
index 00000000000..7454e20da64
--- /dev/null
+++ b/math/nauty/pkg-descr
@@ -0,0 +1,3 @@
+This is a port of Brendan McKay's graph isomorphism tester.
+
+WWW: http://cs.anu.edu.au/~bdm/nauty/
diff --git a/math/nauty/pkg-plist b/math/nauty/pkg-plist
new file mode 100644
index 00000000000..5f25c228290
--- /dev/null
+++ b/math/nauty/pkg-plist
@@ -0,0 +1,7 @@
+bin/dreadnaut
+bin/dreadnaut1
+bin/dreadnautL1
+bin/dreadnautB
+%%PORTDOCS%%share/doc/nauty/oldmanual.ps
+%%PORTDOCS%%share/doc/nauty/read.me
+%%PORTDOCS%%@dirrm share/doc/nauty