summaryrefslogtreecommitdiff
path: root/math/nauty/Makefile
blob: 613ef9a84c58df949a10c7ac0af80c2a215d0b54 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# 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
COMMENT=	Brendan McKay's graph isomorphism tester

WRKSRC=		${WRKDIR}/${PORTNAME}20
MAKEFILE=	makefile
ALL_TARGET=	nauty
NO_INSTALL_MANPAGES=yes
USE_REINPLACE=	yes

post-patch:
	@${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>