Lines 7-22
Link Here
|
7 |
|
7 |
|
8 |
PORTNAME= crafty |
8 |
PORTNAME= crafty |
9 |
PORTVERSION= 19.1 |
9 |
PORTVERSION= 19.1 |
|
|
10 |
PORTREVISION= 1 |
10 |
CATEGORIES= games |
11 |
CATEGORIES= games |
11 |
MASTER_SITES= ftp://ftp.cis.uab.edu/pub/hyatt/common/:data \ |
12 |
MASTER_SITES= ftp://ftp.cis.uab.edu/pub/hyatt/book/:data \ |
12 |
ftp://ftp.cis.uab.edu/pub/hyatt/doc/:doc \ |
13 |
ftp://ftp.cis.uab.edu/pub/hyatt/documentation/:doc \ |
13 |
ftp://ftp.cis.uab.edu/pub/hyatt/v${PORTVERSION:R}/:src |
14 |
ftp://ftp.cis.uab.edu/pub/hyatt/src/:src |
14 |
DISTFILES= crafty-${PORTVERSION}.tar.gz:src \ |
15 |
DISTFILES= crafty-${PORTVERSION}.zip:src \ |
15 |
start.pgn.gz:data |
16 |
start.pgn:data |
|
|
17 |
DIST_SUBDIR= crafty |
18 |
EXTRACT_ONLY= crafty-${PORTVERSION}.zip |
16 |
|
19 |
|
17 |
MAINTAINER= seggers@semyam.dinoco.de |
20 |
MAINTAINER= seggers@semyam.dinoco.de |
18 |
COMMENT= A chess programm for playing and analyzing games |
21 |
COMMENT= A chess programm for playing and analyzing games |
19 |
|
22 |
|
|
|
23 |
USE_ZIP= yes |
24 |
|
20 |
.if !defined(NOPORTDOCS) |
25 |
.if !defined(NOPORTDOCS) |
21 |
DOCFILES= crafty.doc.ascii crafty.doc.ps |
26 |
DOCFILES= crafty.doc.ascii crafty.doc.ps |
22 |
DISTFILES+= ${DOCFILES:S/$/:doc/} |
27 |
DISTFILES+= ${DOCFILES:S/$/:doc/} |
Lines 37-49
Link Here
|
37 |
.endif |
42 |
.endif |
38 |
MAKE_ENV+= opt="${OPT}" target=${OPSYS} CXFLAGS="${CXXFLAGS}" |
43 |
MAKE_ENV+= opt="${OPT}" target=${OPSYS} CXFLAGS="${CXXFLAGS}" |
39 |
|
44 |
|
40 |
DIST_SUBDIR= crafty |
|
|
41 |
EXTRACT_ONLY= crafty-${PORTVERSION}.tar.gz |
42 |
|
43 |
MAN6= crafty.6 |
45 |
MAN6= crafty.6 |
44 |
|
46 |
|
45 |
post-extract: |
47 |
post-extract: |
46 |
${GUNZIP_CMD} <${DISTDIR}/${DIST_SUBDIR}/start.pgn.gz >${WRKSRC}/start.pgn |
48 |
${CP} ${DISTDIR}/${DIST_SUBDIR}/start.pgn ${WRKSRC}/start.pgn |
47 |
${MV} ${WRKSRC}/Sparc.s ${WRKSRC}/Sparc.S |
49 |
${MV} ${WRKSRC}/Sparc.s ${WRKSRC}/Sparc.S |
48 |
.ifdef CRAFTY_SPARC_ASM |
50 |
.ifdef CRAFTY_SPARC_ASM |
49 |
######################################################## |
51 |
######################################################## |