aboutsummaryrefslogtreecommitdiffstats
path: root/games/powwow/Makefile
blob: 32579082ab1880b21056c3d6fece1ca06fb90ddf (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
# Ports collection Makefile for:    powwow
# Date created:             15 Nov 2004
# Whom:                 Juraj Lutter <otis@sk.freebsd.org>
#
# $FreeBSD$
#

PORTNAME=   powwow
PORTVERSION=    1.2.5
CATEGORIES= games
MASTER_SITES=   http://linuz.sns.it/~max/powwow/ \
        ftp://ftp.wilbury.sk/pub/FreeBSD/local/distfiles/

MAINTAINER= otis@sk.FreeBSD.org
COMMENT=    Client to play MUDs

MAN6=       powwow.6

post-patch:
    @${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' ${WRKSRC}/defines.h \
        ${WRKSRC}/list.c ${WRKSRC}/main.c ${WRKSRC}/cmd2.c

do-build:
    cd ${WRKSRC} && POWWOW_DIR="${DATADIR}" ./make_it

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/powwow ${PREFIX}/bin
    ${INSTALL_MAN} ${WRKSRC}/powwow.6 ${PREFIX}/man/man6
    ${MKDIR} ${DATADIR}
    ${INSTALL_DATA} ${WRKSRC}/powwow.doc ${DATADIR}
    ${INSTALL_DATA} ${WRKSRC}/powwow.help ${DATADIR}

.include <bsd.port.mk>