2012-10-07 13:11:20 +00:00
|
|
|
# Created by: ache
|
2010-08-24 03:58:10 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= tintin++
|
2013-01-30 16:42:38 +00:00
|
|
|
PORTVERSION= 2.00.9
|
2010-08-24 03:58:10 +00:00
|
|
|
CATEGORIES+= net games
|
2010-08-25 18:58:38 +00:00
|
|
|
MASTER_SITES= SF/tintin/TinTin%2B%2B%20Source%20Code/${PORTVERSION}/
|
2010-08-24 03:58:10 +00:00
|
|
|
DISTNAME= tintin-${PORTVERSION}
|
|
|
|
|
2010-09-22 17:10:26 +00:00
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
2013-08-21 17:17:25 +00:00
|
|
|
COMMENT= Client program to help playing MUDs
|
2010-08-24 03:58:10 +00:00
|
|
|
|
2010-10-28 13:10:19 +00:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2013-12-10 19:12:33 +00:00
|
|
|
LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre
|
2010-08-24 03:58:10 +00:00
|
|
|
|
2012-10-07 13:11:20 +00:00
|
|
|
OPTIONS_DEFINE= BIG5 DOCS
|
|
|
|
BIG5_DESC= Big5 support
|
2011-07-13 02:54:28 +00:00
|
|
|
|
|
|
|
CONFIGURE_ARGS= --includedir=${LOCALBASE}/include \
|
|
|
|
--libdir=${LOCALBASE}/lib \
|
2010-08-24 03:58:10 +00:00
|
|
|
--prefix=${PREFIX}
|
2011-09-23 22:26:39 +00:00
|
|
|
CONFIGURE_ENV= ac_cv_file__dev_ptmx=no
|
2010-08-24 03:58:10 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2011-07-13 02:54:28 +00:00
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
|
2013-08-21 12:03:51 +00:00
|
|
|
USES= gmake
|
2010-08-24 03:58:10 +00:00
|
|
|
WRKSRC= ${WRKDIR}/tt/src
|
|
|
|
|
|
|
|
DOCS= CREDITS FAQ README SCRIPTS TODO \
|
|
|
|
docs/chat_protocol.txt docs/tintin19.txt
|
2010-08-25 18:58:38 +00:00
|
|
|
PLIST_FILES= bin/tt++
|
|
|
|
PORTDOCS= ${DOCS:T}
|
2010-08-24 03:58:10 +00:00
|
|
|
|
2012-10-07 18:33:28 +00:00
|
|
|
SLAVEDIRS= chinese/tintin++
|
|
|
|
|
2013-12-10 19:12:33 +00:00
|
|
|
BIG5_CONFIGURE_ARGS= --enable-big5
|
2011-07-13 02:54:28 +00:00
|
|
|
|
2010-08-24 03:58:10 +00:00
|
|
|
post-configure:
|
2013-12-10 19:12:33 +00:00
|
|
|
@${REINPLACE_CMD} -e 's|-lpthread|-pthread|' ${WRKSRC}/Makefile
|
2010-08-24 03:58:10 +00:00
|
|
|
|
|
|
|
do-install:
|
2013-10-09 18:36:09 +00:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/tt++ ${STAGEDIR}${PREFIX}/bin/
|
|
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}/
|
|
|
|
cd ${WRKSRC}/../ && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}/
|
2010-08-24 03:58:10 +00:00
|
|
|
|
2011-01-15 21:01:54 +00:00
|
|
|
.include <bsd.port.mk>
|