git: 51c8f4db5f27 - main - math/nauty: Install missing headers (that were not installed before); Add the TLS option
Yuri Victorovich
yuri at FreeBSD.org
Mon Aug 23 20:16:55 UTC 2021
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=51c8f4db5f27af53e787a0616d009dec29b259f5
commit 51c8f4db5f27af53e787a0616d009dec29b259f5
Author: Yuri Victorovich <yuri at FreeBSD.org>
AuthorDate: 2021-08-23 19:24:27 +0000
Commit: Yuri Victorovich <yuri at FreeBSD.org>
CommitDate: 2021-08-23 20:14:44 +0000
math/nauty: Install missing headers (that were not installed before); Add the TLS option
* all headers mentioned in the documentation are now installed
(docs https://pallini.di.uniroma1.it/nug27.pdf)
* TLS option is required at least by math/libnormaliz
PR: 257993
Approved by: moritz at schmi.tt (maintainer)
---
math/nauty/Makefile | 9 +++++++--
math/nauty/pkg-plist | 3 +++
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/math/nauty/Makefile b/math/nauty/Makefile
index 63e19cc7bb0b..40c055e44331 100644
--- a/math/nauty/Makefile
+++ b/math/nauty/Makefile
@@ -2,7 +2,7 @@
PORTNAME= nauty
PORTVERSION= 27r1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= math
MASTER_SITES= https://users.cecs.anu.edu.au/~bdm/nauty/
DISTNAME= ${PORTNAME}${PORTVERSION}
@@ -15,7 +15,10 @@ LICENSE= APACHE20
USES= gmake
GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --enable-tls # math/libnormaliz requires nauty with tls
+
MAKEFILE= makefile
+
TEST_TARGET= check
CFLAGS+= -fPIC
@@ -29,7 +32,9 @@ post-build:
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/include/nauty
- ${INSTALL_DATA} ${WRKSRC}/nauty.h ${STAGEDIR}${PREFIX}/include/nauty
+.for h in nauty.h nausparse.h traces.h naugroup.h
+ ${INSTALL_DATA} ${WRKSRC}/${h} ${STAGEDIR}${PREFIX}/include/nauty
+.endfor
# Do not use ${INSTALL_LIB} to strip the library!
${INSTALL_DATA} ${WRKSRC}/nauty.a ${STAGEDIR}${PREFIX}/lib/libnauty.a
${INSTALL_LIB} ${WRKSRC}/libnauty.so ${STAGEDIR}${PREFIX}/lib
diff --git a/math/nauty/pkg-plist b/math/nauty/pkg-plist
index 9b326e8881b7..bee3efadbe55 100644
--- a/math/nauty/pkg-plist
+++ b/math/nauty/pkg-plist
@@ -43,5 +43,8 @@ bin/underlyingg
bin/vcolg
bin/watercluster2
include/nauty/nauty.h
+include/nauty/nausparse.h
+include/nauty/naugroup.h
+include/nauty/traces.h
lib/libnauty.a
lib/libnauty.so
More information about the dev-commits-ports-all
mailing list