blob: acd8172da1094ac4037696c026a96716005915de (
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
38
39
40
41
42
|
# Created by: Will Andrews <andrews@technologist.com>
# $FreeBSD$
PORTNAME= wmminichess
PORTVERSION= 0.8
PORTREVISION= 4
CATEGORIES= games
MASTER_SITES= AFTERSTEP/apps/miniCHESS/ \
http://tigr.net/afterstep/download/miniCHESS/
DISTNAME= miniCHESS-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Window Maker chess dockapp game
BROKEN= unfetchable
LICENSE= GPLv2 # (or later)
RUN_DEPENDS= ${LOCALBASE}/bin/gnuchess:${PORTSDIR}/games/gnuchess
USE_XORG= xpm
CPPFLAGS+= -I${LOCALBASE}/include -DENGINE=\"${LOCALBASE}/bin/gnuchessx\"
LDFLAGS+= -L${LOCALBASE}/lib -lXpm -lXext -lX11
PORTDOCS= README TODO
PLIST_FILES= bin/minichess
OPTIONS_DEFINE= DOCS
do-build:
(cd ${WRKSRC} \
&& ${CC} ${CFLAGS} ${CPPFLAGS} -o minichess *.c ${LDFLAGS})
do-install:
(cd ${WRKSRC} && ${INSTALL_PROGRAM} minichess ${STAGEDIR}${PREFIX}/bin)
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in ${PORTDOCS}
(cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${STAGEDIR}${DOCSDIR})
.endfor
.include <bsd.port.mk>
|