blob: 0d84af4e3dab585d680173433a44c0892562cbbf (
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: Andrey Zakhvatov
# $FreeBSD$
PORTNAME= xtron
PORTVERSION= 1.1a
PORTREVISION= 3
CATEGORIES= games
MASTER_SITES= SUNSITE/games/arcade
EXTRACT_SUFX= .tgz
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Avoid running into walls, your own tail, and that of your opponent
USES= xorg
USE_XORG= x11 xpm
PLIST_FILES= bin/${PORTNAME} lib/X11/app-defaults/Tron
PORTDOCS= *
PORTDATA= *
DESKTOP_ENTRIES="xtron" \
"Avoid running into walls, your own tail, and that of your opponent" \
"${DATADIR}/Xtron_icon.xpm" \
"${PORTNAME}" \
"Game;ArcadeGame;" \
false
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/xtronrc
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/pixmaps/* ${STAGEDIR}${DATADIR}/
${INSTALL_DATA} ${WRKSRC}/xtronrc ${STAGEDIR}${PREFIX}/lib/X11/app-defaults/Tron
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/CHANGES ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|