aboutsummaryrefslogtreecommitdiffstats
path: root/games/xdigger/Makefile
blob: 96111fde29bd0680026be26e79fcab4f16d0d03e (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
# Created by: Andrey Zakhvatov
# $FreeBSD$

PORTNAME=   xdigger
PORTVERSION=    1.0.10
PORTREVISION=   3
CATEGORIES= games
MASTER_SITES=   SUNSITE/games/arcade
EXTRACT_SUFX=   .tgz

MAINTAINER= ports@FreeBSD.org
COMMENT=    Boulderdash-like KC85 Digger for X Window System

USES=       imake
USE_XORG=   x11 xext

DESKTOP_ENTRIES="XDigger" "" "" "${PORTNAME}" "" ""

post-patch:
    @${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/configure.h

post-install:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in ChangeLog README
    (cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${STAGEDIR}${DOCSDIR})
.endfor

.include <bsd.port.mk>