aboutsummaryrefslogtreecommitdiffstats
path: root/net/tinyfugue/Makefile
blob: d598b8483c09c2e95515f61988e76997af2dc374 (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
# Created by: mike@binghamton.edu
# $FreeBSD$

PORTNAME=   tf
PORTVERSION=    5.0b8
PORTREVISION=   3
CATEGORIES= net games
MASTER_SITES=   SF/tinyfugue/tinyfugue/5.0%20beta%208
DISTNAME=   ${PORTNAME}-${PORTVERSION:S/.//}

MAINTAINER= johans@FreeBSD.org
COMMENT=    Popular programmable MUD client, with macro support and more

LIB_DEPENDS=    libpcre.so:devel/pcre

GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --enable-manpage --enable-version --enable-symlink \
        --datadir=${PREFIX}/lib --with-inclibpfx=${LOCALBASE}
USE_OPENSSL=    yes
LDFLAGS+=   -L${LOCALBASE}

PLIST_SUB=  DISTNAME=${DISTNAME}

post-patch:
    @${REINPLACE_CMD} 's:@.*dir@:$${DESTDIR}&:' ${WRKSRC}/unix/vars.mak.in
    @${REINPLACE_CMD} '/ln -s/s@(TF)@(TF:T)@' ${WRKSRC}/unix/unix.mak

post-build:
    @${STRIP_CMD} ${WRKSRC}/src/tf

post-install:
    ${INSTALL_MAN} ${WRKSRC}/src/tf.1.nroffman ${STAGEDIR}${PREFIX}/man/man1/tf.1

.include <bsd.port.mk>