1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/net/tintin++/Makefile

47 lines
1.1 KiB
Makefile
Raw Normal View History

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