aboutsummaryrefslogtreecommitdiffstats
path: root/games/adom/Makefile
blob: 91abc5dd87e3fb9669429401885a2e919c4ebec6 (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
# New ports collection makefile for:    adom
# Version required: 0.99g14
# Date created:     22 July 1999
# Whom:         Oleg V. Volkov <rover@lglobus.ru>
#
# $Id$
#

DISTNAME=       adom-099g14-elf
PKGNAME=        adom-0.99.g14
CATEGORIES= games
MASTER_SITES=   http://www.adom.de/adom/

MAINTAINER= rover@lglobus.ru

RUN_DEPENDS=    /compat/linux/lib/ld-linux.so.2:${PORTSDIR}/emulators/linux_base

WRKSRC=     ${WRKDIR}/adom

ONLY_FOR_ARCHS= i386
NO_PACKAGE=     Only unmodified original package can be distributed

NO_WRKSUBDIR=   yes
STRIP=          # empty: do not touch linux binary!

do-patch:
do-configure:
do-build:
do-install:
    cd ${WRKSRC} && \
    ${INSTALL_PROGRAM} adom ${PREFIX}/bin
.if !defined(NOPORTDOCS)
    ${INSTALL} -d -m 755 -o ${SHAREOWN} -g ${SHAREGRP} \
    ${PREFIX}/share/doc/adom
    cd ${WRKSRC} && \
    ${INSTALL_MAN} readme.1st adomfaq.txt manual.doc \
    ${PREFIX}/share/doc/adom
.endif

.include <bsd.port.mk>