summaryrefslogtreecommitdiffstats
path: root/net/tintin++-devel/Makefile
diff options
context:
space:
mode:
authormnag <mnag@FreeBSD.org>2005-10-07 20:19:15 +0000
committermnag <mnag@FreeBSD.org>2005-10-07 20:19:15 +0000
commit9851df0e66c83619423bf766d78de79ff1695d9c (patch)
tree28f402839090ceddc871f25d6af2304caa644a7a /net/tintin++-devel/Makefile
parentfe518255ea323f3b536a866693f72b99d63f817f (diff)
downloadFreeBSD-ports-9851df0e66c83619423bf766d78de79ff1695d9c.zip
FreeBSD-ports-9851df0e66c83619423bf766d78de79ff1695d9c.tar.gz
Update to 1.95.1
PR: 84280 Submitted by: Radim Kolar <hsn@netmag.cz> Approved by: jhp@cocoja.holywar.net (maintainer timeout, 70 days)
Diffstat (limited to 'net/tintin++-devel/Makefile')
-rw-r--r--net/tintin++-devel/Makefile44
1 files changed, 27 insertions, 17 deletions
diff --git a/net/tintin++-devel/Makefile b/net/tintin++-devel/Makefile
index be176b4..ed25bd75 100644
--- a/net/tintin++-devel/Makefile
+++ b/net/tintin++-devel/Makefile
@@ -6,27 +6,37 @@
#
PORTNAME= tintin
-PORTVERSION= 1.8.6b
-CATEGORIES?= net games
-MASTER_SITES= http://mail.newclear.net/tintin/download/ \
- http://freebsd.hanirc.org/~jhp/tintin++/ \
- http://www.stud.ntnu.no/~sverreno/tintin/
-DISTNAME= tintin++v1.86b
+PORTVERSION= 1.95.1
+CATEGORIES+= net games
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
+MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER?= jhp@cocoja.holywar.net
-COMMENT= "a client program specialized to help playing muds(devel version)"
+COMMENT= A client program to help playing muds (devel version)
+
+WRKSRC= ${WRKDIR}/tt/src
-NO_LATEST_LINK= yes
-WRKSRC= ${WRKDIR}/tintin++/src
GNU_CONFIGURE= yes
+USE_GMAKE= yes
+
+PLIST_FILES= bin/tt++
+PORTDOCS= BUGS CREDITS FAQ README TODO tintin19.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"
+.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/tt++ ${PREFIX}/bin
- ${MKDIR} ${PREFIX}/lib/tintin
- ${INSTALL_DATA} ${WRKSRC}/support/.tt_help.txt.Z ${PREFIX}/lib/tintin
- ${MKDIR} ${PREFIX}/share/doc/tintin
- ${INSTALL_DATA} ${WRKSRC}/support/.tintinrc ${PREFIX}/share/doc/tintin/tintinrc
- ${INSTALL_DATA} ${WRKSRC}/support/tt.conf ${PREFIX}/share/doc/tintin/chat.conf.example
- cd ${WRKSRC}/.. ; ${INSTALL_DATA} CHANGES FAQ CREDITS README docs/* ${PREFIX}/share/doc/tintin
-
-.include <bsd.port.mk>
+.ifndef NOPORTDOCS
+ ${MKDIR} ${DOCSDIR}
+.for i in FAQ README TODO CREDITS BUGS docs/tintin19.txt
+ ${INSTALL_DATA} ${WRKSRC}/../${i} ${DOCSDIR}
+.endfor
+.endif
+
+.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud