Lines 1-4
Link Here
|
1 |
# New ports collection makefile for: fairy-max |
1 |
# New ports collection makefile for: fairymax |
2 |
# Date created: 22 April 2011 |
2 |
# Date created: 22 April 2011 |
3 |
# Whom: Kalten <kalten@gmx.at> |
3 |
# Whom: Kalten <kalten@gmx.at> |
4 |
# |
4 |
# |
Lines 6-20
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= fairymax |
8 |
PORTNAME= fairymax |
9 |
PORTVERSION= 4.8Q |
9 |
PORTVERSION?= 4.8Q |
|
|
10 |
PORTREVISION?= 1 |
10 |
CATEGORIES= games |
11 |
CATEGORIES= games |
11 |
MASTER_SITES= http://freeheimdall.homeunix.org/files/ |
12 |
MASTER_SITES= http://freeheimdall.homeunix.org/files/ |
12 |
DISTNAME= ${PORTNAME}-c7a129e |
13 |
DISTNAME?= ${PORTNAME}-c7a129e |
13 |
# http://hgm.nubati.net/cgi-bin/gitweb.cgi?p=fairymax.git;a=snapshot;h=c7a129ead81286990efb8409f238c48c7109c83b;sf=tgz |
14 |
# http://hgm.nubati.net/cgi-bin/gitweb.cgi?p=fairymax.git;a=snapshot;h=c7a129ead81286990efb8409f238c48c7109c83b;sf=tgz |
14 |
|
15 |
|
15 |
MAINTAINER= kalten@gmx.at |
16 |
MAINTAINER= kalten@gmx.at |
16 |
COMMENT= Chess engine (e.g. xboard) for shatranj, courier chess, ... |
17 |
COMMENT= Chess engine (e.g. xboard) for shatranj, courier chess, ... |
17 |
|
18 |
|
|
|
19 |
CONFLICTS?= fairymax-4.8Q.[0-9]* fairymax-4.8Q.[0-9]*_[0-9]* |
20 |
|
21 |
OPTIONS+= OCFLAGS "Use optimized compiler flags" on |
22 |
|
18 |
DIST_SUBDIR= ${PORTNAME} |
23 |
DIST_SUBDIR= ${PORTNAME} |
19 |
|
24 |
|
20 |
PLIST_FILES= bin/fairymax \ |
25 |
PLIST_FILES= bin/fairymax \ |
Lines 33-38
Link Here
|
33 |
MAKE_ARGS+= INI_FILE_fmax=${DATADIR}/fmax.ini \ |
38 |
MAKE_ARGS+= INI_FILE_fmax=${DATADIR}/fmax.ini \ |
34 |
INI_FILE_qmax=${DATADIR}/qmax.ini |
39 |
INI_FILE_qmax=${DATADIR}/qmax.ini |
35 |
|
40 |
|
|
|
41 |
.include <bsd.port.options.mk> |
42 |
|
43 |
.if defined(WITHOUT_OCFLAGS) |
44 |
CFLAGS= |
45 |
.else |
46 |
CFLAGS= -O2 |
47 |
.endif |
48 |
|
36 |
post-patch: |
49 |
post-patch: |
37 |
@${CP} ${WRKSRC}/fairymax.pod ${WRKSRC}/fairymax.pod.ori |
50 |
@${CP} ${WRKSRC}/fairymax.pod ${WRKSRC}/fairymax.pod.ori |
38 |
@${SED} -e 's|%%PREFIX%%|${PREFIX}|g;s|%%DATADIR%%|${DATADIR}|g' \ |
51 |
@${SED} -e 's|%%PREFIX%%|${PREFIX}|g;s|%%DATADIR%%|${DATADIR}|g' \ |