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

PORTNAME=   daimonin_client
PORTVERSION=    0.9.7.1
PORTREVISION=   3
CATEGORIES= games
MASTER_SITES=   SF/daimonin

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

LIB_DEPENDS=    physfs.1:${PORTSDIR}/devel/physfs \
        curl.5:${PORTSDIR}/ftp/curl

USE_ZIP=    yes
HAS_CONFIGURE=  yes
CONFIGURE_ARGS= --prefix=${PREFIX}/share
CONFIGURE_ENV=  CFLAGS="-pipe" LDFLAGS="-L${LOCALBASE}/lib"
USE_SDL=    mixer image
SUB_FILES=  daimonin.sh
SUB_LIST=   PORTVERSION=${PORTVERSION}
PLIST_SUB=  PORTVERSION=${PORTVERSION}

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

post-patch:
    @${CHMOD} a+x ${WRKSRC}/configure ${WRKSRC}/make_utils/install-sh
    @${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>