summaryrefslogtreecommitdiff
path: root/games/daimonin/Makefile
blob: 62170074339282c9506b1c7e6c7741ef2190b621 (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
38
# New ports collection makefile for:	daimonin-client
# Date created:				15 Feb 2005
# Whom:					Pav Lucistnik <pav@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	daimonin_client
DISTVERSION=	BETA3-0967
CATEGORIES=	games
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	daimonin
EXTRACT_SUFX=	.tgz

MAINTAINER=	pav@FreeBSD.org
COMMENT=	Free open source Massively Multiplayer On-line Role-playing Game (MMORPG)

HAS_CONFIGURE=	yes
CONFIGURE_ARGS=	--prefix=${PREFIX}/share/${PORTNAME}
CONFIGURE_ENV=	CFLAGS="-pipe"
USE_SDL=	mixer image
USE_X_PREFIX=	yes
SUB_FILES=	daimonin.sh

WRKSRC=		${WRKDIR}/daimonin/client/make/linux

post-patch:
	@${CHMOD} a+x ${WRKSRC}/configure
	@${REINPLACE_CMD} -e 's|daimonin-beta03-0\.966|daimonin-beta03-0\.967|' \
		${WRKSRC}/Makefile.in
	@${CP} ${PORTSDIR}/Templates/config.guess ${PORTSDIR}/Templates/config.sub \
		${WRKSRC}/make_utils/

post-install:
	${INSTALL_SCRIPT} ${WRKDIR}/daimonin.sh ${PREFIX}/bin/daimonin
	${CHMOD} a+x ${PREFIX}/bin/daimonin

.include <bsd.port.mk>