aboutsummaryrefslogtreecommitdiffstats
path: root/games/affenspiel/Makefile
blob: c1b15e57308ed666b806e00eaaba40a3cee940be (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
# New ports collection makefile for:    affenspiel
# Date created:             2 May 1998
# Whom:                 Andrey Zakhvatov
#
# $FreeBSD$
#

PORTNAME=   affenspiel
PORTVERSION=    1.0
PORTREVISION=   1
CATEGORIES= games
MASTER_SITES=   http://www.artsoft.org/RELEASES/unix/affenspiel/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Little puzzle game with monkey for X Window System

WRKSRC=     ${WRKDIR}/${PORTNAME}

USE_X_PREFIX=   yes
MAKE_ARGS=  CC="${CC}" LIBS="-L${X11BASE}/lib -lX11" \
        DEBUG="${CFLAGS} -I${X11BASE}/include" \
        FILE_CONFIG=-DSAVED_GAME_NAME='\"affenspiel.saved\"'

PORTDOCS=   COPYRIGHT README
PLIST_FILES=    bin/affenspiel

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/affenspiel ${PREFIX}/bin
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/COPYRIGHT ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif

.include <bsd.port.mk>