summaryrefslogtreecommitdiff
path: root/games/maelstrom/Makefile
blob: 47691f102b24a515938a1d952dd3b3978d2d996c (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
# New ports collection makefile for:	Maelstrom
# Date created:				13 May 1998
# Whom:					Andrey Zakhvatov
#
# $FreeBSD$
#

PORTNAME=	maelstrom
PORTVERSION=	3.0.6
CATEGORIES=	games
MASTER_SITES=	http://www.devolution.com/~slouken/projects/Maelstrom/src/
DISTNAME=	Maelstrom-${PORTVERSION}

MAINTAINER=	sobomax@FreeBSD.org
COMMENT=	Asteroids-style game for X Window System

LIB_DEPENDS=	SDL_net.0:${PORTSDIR}/net/sdl_net

SDL_CONFIG?=	${LOCALBASE}/bin/sdl11-config

USE_X_PREFIX=	yes
USE_XPM=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ENV=	SDL_CONFIG="${SDL_CONFIG}"
CONFIGURE_ARGS+=--program-transform-name=\'\'

.if !defined(NOPORTDOCS)
INSTALL_TARGET=	install install_gamedocs
.endif

post-install:
	${CHOWN} root:games ${PREFIX}/bin/Maelstrom
	${CHMOD} 2755 ${PREFIX}/bin/Maelstrom
	${CHMOD} 664 ${PREFIX}/share/Maelstrom/Maelstrom-Scores
	${CHOWN} root:games ${PREFIX}/share/Maelstrom/Maelstrom-Scores

.include <bsd.port.mk>