aboutsummaryrefslogtreecommitdiff
path: root/games/affenspiel/Makefile
blob: 81e2f0dac35017ac221b152026e6735aabe88808 (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
# Created by: Andrey Zakhvatov

PORTNAME=	affenspiel
PORTVERSION=	1.0
PORTREVISION=	2
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

LICENSE=	unknown
LICENSE_NAME=	just Copyright
LICENSE_FILE=	${WRKSRC}/COPYRIGHT
LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept

WRKSRC=		${WRKDIR}/${PORTNAME}

USES=		xorg
USE_XORG=	x11 xt

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

PORTDOCS=	COPYRIGHT README
PLIST_FILES=	bin/affenspiel

OPTIONS_DEFINE=	DOCS

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/affenspiel ${STAGEDIR}${PREFIX}/bin
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>