diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2004-04-01 09:52:13 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2004-04-01 09:52:13 +0000 |
commit | 68d520a97ec6774c1fdd09dd82c7db67d103416c (patch) | |
tree | 3725e7eefb713615268a27170d7cfd45a7fd8a02 /math/nauty | |
parent | - Remove USE_SIZE (diff) |
- Honour CC/CFLAGS
- Add DOCSDIR
- portlint
PR: ports/65015
Submitted by: michael johnson <ahze@ahze.net>
Diffstat (limited to 'math/nauty')
-rw-r--r-- | math/nauty/Makefile | 22 | ||||
-rw-r--r-- | math/nauty/pkg-plist | 7 |
2 files changed, 13 insertions, 16 deletions
diff --git a/math/nauty/Makefile b/math/nauty/Makefile index 613ef9a84c58..334696ab05cd 100644 --- a/math/nauty/Makefile +++ b/math/nauty/Makefile @@ -5,13 +5,13 @@ # $FreeBSD$ # -PORTNAME= nauty -PORTVERSION= 2.0b9 -CATEGORIES= math -MASTER_SITES= http://cs.anu.edu.au/~bdm/nauty/ +PORTNAME= nauty +PORTVERSION= 2.0b9 +CATEGORIES= math +MASTER_SITES= http://cs.anu.edu.au/~bdm/nauty/ DISTNAME= ${PORTNAME}20beta9 -MAINTAINER= bremner@unb.ca +MAINTAINER= bremner@unb.ca COMMENT= Brendan McKay's graph isomorphism tester WRKSRC= ${WRKDIR}/${PORTNAME}20 @@ -19,9 +19,12 @@ MAKEFILE= makefile ALL_TARGET= nauty NO_INSTALL_MANPAGES=yes USE_REINPLACE= yes +PORTDOCS= oldmanual.ps read.me +PLIST_FILES= bin/dreadnaut bin/dreadnaut1 bin/dreadnautL1 bin/dreadnautB post-patch: - @${REINPLACE_CMD} -e "s,^CFLAGS,#CFLAGS,g" ${WRKSRC}/${MAKEFILE} + @${REINPLACE_CMD} -e 's|gcc|${CC}|; s|-O4|${CFLAGS}|' \ + ${WRKSRC}/${MAKEFILE} do-install: cd ${WRKSRC}; ${INSTALL_PROGRAM} dreadnaut dreadnaut1 \ @@ -29,9 +32,10 @@ do-install: post-install: .if !defined(NOPORTDOCS) - ${MKDIR} ${PREFIX}/share/doc/${PORTNAME} - ${INSTALL_MAN} ${WRKSRC}/oldmanual.ps ${WRKSRC}/read.me \ - ${PREFIX}/share/doc/${PORTNAME} + ${MKDIR} ${DOCSDIR} +.for i in ${PORTDOCS} + ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} +.endfor .endif .include <bsd.port.mk> diff --git a/math/nauty/pkg-plist b/math/nauty/pkg-plist deleted file mode 100644 index 5f25c228290b..000000000000 --- a/math/nauty/pkg-plist +++ /dev/null @@ -1,7 +0,0 @@ -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 |