2013-07-30 14:47:29 +02:00
|
|
|
# Created by: bremner@unb.ca
|
2001-05-29 18:13:39 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2004-04-01 11:52:13 +02:00
|
|
|
PORTNAME= nauty
|
2010-08-08 23:54:15 +02:00
|
|
|
PORTVERSION= 2.4r2
|
2004-04-01 11:52:13 +02:00
|
|
|
CATEGORIES= math
|
2014-03-14 00:44:53 +01:00
|
|
|
MASTER_SITES= http://cs.anu.edu.au/~bdm/nauty/
|
2014-05-17 11:51:11 +02:00
|
|
|
DISTNAME= ${PORTNAME}${PORTVERSION:S!.!!}
|
2001-05-29 18:13:39 +02:00
|
|
|
|
2014-03-14 00:44:53 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-21 13:51:06 +01:00
|
|
|
COMMENT= Brendan McKay's graph isomorphism tester
|
2001-05-29 18:13:39 +02:00
|
|
|
|
2014-05-17 11:51:11 +02:00
|
|
|
USES= gmake
|
|
|
|
GNU_CONFIGURE= yes
|
2001-05-29 18:13:39 +02:00
|
|
|
MAKEFILE= makefile
|
2014-05-17 11:51:11 +02:00
|
|
|
|
2010-08-06 13:21:38 +02:00
|
|
|
PORTDOCS= nug.pdf
|
2014-05-17 11:51:11 +02:00
|
|
|
PLIST_FILES= ${PROGRAMS:S!^!bin/!}
|
|
|
|
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
|
|
|
PROGRAMS= NRswitchg addedgeg amtog biplabg catg complg copyg \
|
|
|
|
countg deledgeg directg dreadnaut dretog genbg geng \
|
|
|
|
genrang gentourng labelg listg multig newedgeg pickg \
|
|
|
|
planarg shortg showg
|
2001-05-29 18:13:39 +02:00
|
|
|
|
|
|
|
post-patch:
|
2014-05-17 11:51:11 +02:00
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
's|gcc|$${CC}| ; \
|
|
|
|
s|-O4 -march=i686|$${CFLAGS}|' ${WRKSRC}/${MAKEFILE}
|
2001-05-29 18:13:39 +02:00
|
|
|
|
|
|
|
do-install:
|
2014-05-17 11:51:11 +02:00
|
|
|
.for i in ${PROGRAMS}
|
|
|
|
(cd ${WRKSRC} && ${INSTALL_PROGRAM} ${i} ${STAGEDIR}${PREFIX}/bin)
|
|
|
|
.endfor
|
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
2004-04-01 11:52:13 +02:00
|
|
|
.for i in ${PORTDOCS}
|
2014-05-17 11:51:11 +02:00
|
|
|
(cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${STAGEDIR}${DOCSDIR})
|
2004-04-01 11:52:13 +02:00
|
|
|
.endfor
|
2001-05-29 18:13:39 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|