summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2001-05-29 16:13:39 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2001-05-29 16:13:39 +0000
commit938328ceffa6fe7aca983bddf21a5027c0b30ef8 (patch)
treefbfa9d27e6e1e70053ad593e3d7c0179aacc2896 /math
parentDo not install patchlevel.h into ${LOCALBASE}/include. Various (diff)
add nauty
Brendan McKay's graph isomorphism tester PR: 27620 Submitted by: David Bremner <bremner@unb.ca>
Notes
Notes: svn path=/head/; revision=43274
Diffstat (limited to 'math')
-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 bc078542e8b6..0d954f4d1960 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 000000000000..ef79cfa3e398
--- /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 000000000000..9b882456c828
--- /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 000000000000..b5ead21d6789
--- /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 000000000000..7454e20da646
--- /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 000000000000..5f25c228290b
--- /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