aboutsummaryrefslogtreecommitdiffstats
path: root/games/powwow/Makefile
blob: c9dc93f8ce48abd41fe1392533c042c93e21e214 (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.14
CATEGORIES= games
MASTER_SITES=   http://hoopajoo.net/static/projects/ \
        ftp://ftp.wilbury.sk/pub/FreeBSD/local/distfiles/

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

GNU_CONFIGURE=  yes

MAN6=       powwow.6

pre-build:
    @${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' ${WRKSRC}/defines.h \
        ${WRKSRC}/list.c ${WRKSRC}/main.c ${WRKSRC}/cmd2.c ${WRKSRC}/beam.c
    @${REINPLACE_CMD} -e 's|^DEFS = |DEFS = -DPOSIX |' ${WRKSRC}/Makefile

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>