summaryrefslogtreecommitdiffstats
path: root/games/sopwith/Makefile
blob: f52bb58669d806ee3d4b51406aabf1e330ec7949 (plain)
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
# New ports collection makefile for:	sopwith
# Date created:			1 July 2002
# Whom:				Edwin Groothuis <edwin@mavetju.org>
#
# $FreeBSD$
#

PORTNAME=	sopwith
PORTVERSION=	1.4.0
CATEGORIES=	games
MASTER_SITES=	http://fraggle.despayre.org:81/stuffage/sopwith/
DISTNAME=	sdl_${PORTNAME}-${PORTVERSION}

MAINTAINER=	edwin@mavetju.org

BUILD_DEPENDS=	${LOCALBASE}/bin/sdl11-config:${PORTSDIR}/devel/sdl12

USE_GTK=	yes
USE_GMAKE=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ENV=	SDL_CONFIG=${PREFIX}/bin/sdl11-config
USE_REINPLACE=	yes

post-patch:
	@${REINPLACE_CMD} -e 's/^extern void getmode.*//' \
		${WRKSRC}/src/swtitle.h

.if !defined(NOPORTDOCS)
post-install:
	${MKDIR} ${DOCSDIR}
.for F in FAQ doc/license.txt doc/keys.txt doc/origdoc.txt
	${INSTALL_DATA} ${WRKSRC}/${F} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>
OpenPOWER on IntegriCloud