aboutsummaryrefslogtreecommitdiffstats
path: root/games/xrobots/Makefile
blob: df8e4807bc6d91c53285c21b23db1017bf67be38 (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
# Created by: swallace
# $FreeBSD$

PORTNAME=   xrobots
PORTVERSION=    1.0
PORTREVISION=   3
CATEGORIES= games
MASTER_SITES=   http://www.mavetju.org/download/adopted/
DISTNAME=   ${PORTNAME}-${PORTVERSION}-ss-10.20

MAINTAINER= edwin@mavetju.org
COMMENT=    Fight off villainous robots (X version)

USES=       imake
USE_XORG=   x11 xaw xext xmu xt sm ice
WRKSRC=     ${WRKDIR}/xrobots-1.0
MAN6=       xrobots.6

post-install:
    ${INSTALL} -c -g games -m 664 ${FILESDIR}/xrobotscores ${PREFIX}/lib/X11

post-patch:
    ${REINPLACE_CMD} -e 's|__PREFIX__|${PREFIX}|g' \
        ${WRKSRC}/xrobots.man ${WRKSRC}/Imakefile

.include <bsd.port.mk>