|
Lines 6-33
Link Here
|
| 6 |
# |
6 |
# |
| 7 |
|
7 |
|
| 8 |
PORTNAME= nauty |
8 |
PORTNAME= nauty |
| 9 |
PORTVERSION= 2.0b9 |
9 |
PORTVERSION= 2.4r1 |
| 10 |
CATEGORIES= math |
10 |
CATEGORIES= math |
| 11 |
MASTER_SITES= http://cs.anu.edu.au/~bdm/nauty/ |
11 |
MASTER_SITES= http://cs.anu.edu.au/~bdm/nauty/ \ |
| 12 |
DISTNAME= ${PORTNAME}20beta9 |
12 |
http://www.c-s.li/ports/ |
|
|
13 |
DISTNAME= ${PORTNAME}24r1 |
| 13 |
|
14 |
|
| 14 |
MAINTAINER= ports@FreeBSD.org |
15 |
MAINTAINER= c-s@c-s.li |
| 15 |
COMMENT= Brendan McKay's graph isomorphism tester |
16 |
COMMENT= Brendan McKay's graph isomorphism tester |
| 16 |
|
17 |
|
| 17 |
WRKSRC= ${WRKDIR}/${PORTNAME}20 |
18 |
WRKSRC= ${WRKDIR}/${PORTNAME}24r1 |
| 18 |
MAKEFILE= makefile |
19 |
MAKEFILE= makefile |
| 19 |
ALL_TARGET= nauty |
20 |
ALL_TARGET= all |
| 20 |
NO_INSTALL_MANPAGES=yes |
21 |
MAKE_JOBS_SAFE= YES |
| 21 |
PORTDOCS= oldmanual.ps read.me |
22 |
PORTDOCS= nug.pdf |
| 22 |
PLIST_FILES= bin/dreadnaut bin/dreadnaut1 bin/dreadnautL1 bin/dreadnautB |
|
|
| 23 |
|
23 |
|
| 24 |
post-patch: |
24 |
post-patch: |
| 25 |
@${REINPLACE_CMD} -e 's|gcc|${CC}|; s|-O4|${CFLAGS}|' \ |
25 |
@${REINPLACE_CMD} -e 's|gcc|${CC}|; s|-O4 -march=i686|${CFLAGS}|' \ |
| 26 |
${WRKSRC}/${MAKEFILE} |
26 |
${WRKSRC}/${MAKEFILE} |
| 27 |
|
27 |
|
| 28 |
do-install: |
28 |
do-install: |
| 29 |
cd ${WRKSRC}; ${INSTALL_PROGRAM} dreadnaut dreadnaut1 \ |
29 |
cd ${WRKSRC}; ${INSTALL_PROGRAM} dreadnaut copyg listg labelg dretog \ |
| 30 |
dreadnautL1 dreadnautB ${PREFIX}/bin |
30 |
amtog geng complg shortg showg NRswitchg biplabg addedgeg deledgeg \ |
|
|
31 |
countg pickg genrang newedgeg catg genbg directg multig planarg \ |
| 32 |
gentourng ${PREFIX}/bin |
| 31 |
|
33 |
|
| 32 |
post-install: |
34 |
post-install: |
| 33 |
.if !defined(NOPORTDOCS) |
35 |
.if !defined(NOPORTDOCS) |