summaryrefslogtreecommitdiff
path: root/games/gemdropx/Makefile
blob: 6ee50a11ac539793628470f19aaf74d96f367d41 (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
# New ports collection makefile for:	gemdropx
# Date created:				9 March 1998
# Whom:					Andrey Zakhvatov
#
# $FreeBSD$
#

PORTNAME=	gemdropx
PORTVERSION=	0.9
PORTREVISION=	3
CATEGORIES=	games
MASTER_SITES=	ftp://ftp.billsgames.com/unix/x/gemdropx/src/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	An interesting one-player puzzle game for X

USE_SDL=	mixer
USE_GMAKE=	yes
USE_X_PREFIX=	yes
MAKE_ENV=	JOY=NO \
		SDL_CONFIG="${SDL_CONFIG}"

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/gemdropx ${PREFIX}/bin
	@${MKDIR} ${DATADIR}/images
	${INSTALL_DATA} ${WRKSRC}/data/images/* ${DATADIR}/images
	@${MKDIR} ${DATADIR}/sounds
	${INSTALL_DATA} ${WRKSRC}/data/sounds/* ${DATADIR}/sounds
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR}
.endif

.include <bsd.port.mk>