freebsd-ports/math/nauty/Makefile

38 lines
870 B
Makefile
Raw Normal View History

# 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
2003-02-21 07:51:06 -05:00
COMMENT= Brendan McKay's graph isomorphism tester
WRKSRC= ${WRKDIR}/${PORTNAME}20
MAKEFILE= makefile
ALL_TARGET= nauty
NO_INSTALL_MANPAGES=yes
2002-11-03 20:56:21 -05:00
USE_REINPLACE= yes
post-patch:
2002-11-03 20:56:21 -05:00
@${REINPLACE_CMD} -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>