freebsd-ports/net/tintin++-devel/Makefile
Alberto Villa ff6075356a - Update to 2.00.0.
PR:		144547
Submitted by:	Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net>
Approved by:	tabthorpe (mentor)
2010-03-12 07:35:45 +00:00

49 lines
1.1 KiB
Makefile

# New ports collection makefile for: tintin++
# Date created: 15 Nov 1994
# Whom: ache
#
# $FreeBSD$
#
PORTNAME= tintin
PORTVERSION= 2.00.0
CATEGORIES+= net games
MASTER_SITES= GOOGLE_CODE
MAINTAINER= sunpoet@sunpoet.net
COMMENT= A client program to help playing MUDs (devel version)
LIB_DEPENDS= pcre.0:${PORTSDIR}/devel/pcre
PROJECTHOST= tintin-mud-client
CONFIGURE_ARGS+= --prefix=${PREFIX} --includedir=${LOCALBASE}/include \
--libdir=${LOCALBASE}/lib
CONFIGURE_ENV= LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib ${PTHREAD_LIBS}"
LATEST_LINK= ${PORTNAME}-devel
WRKSRC= ${WRKDIR}/tt/src
GNU_CONFIGURE= yes
USE_GMAKE= yes
PLIST_FILES= bin/tt++
DOCS= CREDITS FAQ README SCRIPTS TODO \
docs/chat_protocol.txt docs/tintin19.txt
PORTDOCS= ${DOCS:T}
.include <bsd.port.pre.mk>
post-configure:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|' ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/tt++ ${PREFIX}/bin
.if !defined(NOPORTDOCS)
@${INSTALL} -d ${DOCSDIR}
@cd ${WRKSRC}/.. && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
.endif
.include <bsd.port.post.mk>