freebsd-ports/math/nauty/Makefile
Ying-Chieh Liao 938328ceff add nauty
Brendan McKay's graph isomorphism tester

PR:		27620
Submitted by:	David Bremner <bremner@unb.ca>
2001-05-29 16:13:39 +00:00

35 lines
796 B
Makefile

# 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>