1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/net/tintin++-devel/Makefile

50 lines
1.1 KiB
Makefile
Raw Normal View History

1994-11-15 01:29:32 +00:00
# New ports collection makefile for: tintin++
# Date created: 15 Nov 1994
# Whom: ache
#
1999-08-30 14:24:37 +00:00
# $FreeBSD$
1994-11-15 01:29:32 +00:00
#
PORTNAME= tintin
2007-03-24 06:57:14 +00:00
PORTVERSION= 1.96.8
CATEGORIES+= net games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
MASTER_SITE_SUBDIR= ${PORTNAME}
2006-02-16 21:55:04 +00:00
MAINTAINER?= ports@FreeBSD.org
COMMENT= A client program to help playing muds (devel version)
2005-12-05 00:36:43 +00:00
LATEST_LINK= ${PORTNAME}-devel
WRKSRC= ${WRKDIR}/tt/src
GNU_CONFIGURE= yes
USE_GMAKE= yes
2006-08-08 03:59:25 +00:00
USE_GCC= 3.2+
PLIST_FILES= bin/tt++
PORTDOCS= BUGS CREDITS FAQ README TODO tintin19.txt chat_protocol.txt
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
LIB_DEPENDS+= readline.5:${PORTSDIR}/devel/readline
CFLAGS+= -I ${LOCALBASE}/include
MAKE_ENV+= LIBS="-L${LOCALBASE}/lib"
2006-08-08 03:59:25 +00:00
MAKE_ARGS+= LDFLAGS=${PTHREAD_LIBS}
.endif
1994-11-15 01:29:32 +00:00
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|' ${WRKSRC}/Makefile.in
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/tt++ ${PREFIX}/bin
.ifndef NOPORTDOCS
${MKDIR} ${DOCSDIR}
.for i in FAQ README TODO CREDITS BUGS docs/tintin19.txt docs/chat_protocol.txt
${INSTALL_DATA} ${WRKSRC}/../${i} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.post.mk>