mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
35 lines
878 B
Makefile
35 lines
878 B
Makefile
# 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= ports@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}
|
|
USES= ssl
|
|
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>
|