summaryrefslogtreecommitdiff
path: root/net/tintin++
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-07-13 02:54:28 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-07-13 02:54:28 +0000
commit25637271661005f318f8a68d351ea93db889b8df (patch)
tree839527394a0c32229de4c4432ce0d16f11611962 /net/tintin++
parent- Update to 1.10 (diff)
- Update to 2.00.7
- Add OPTIONS: BIG5 - Use WITH_BIG5 in chinese/tintin++ Changes: http://tintin.sourceforge.net/news.php
Notes
Notes: svn path=/head/; revision=277626
Diffstat (limited to 'net/tintin++')
-rw-r--r--net/tintin++/Makefile23
-rw-r--r--net/tintin++/distinfo4
2 files changed, 18 insertions, 9 deletions
diff --git a/net/tintin++/Makefile b/net/tintin++/Makefile
index cb092f83cb3b..7a37b626366b 100644
--- a/net/tintin++/Makefile
+++ b/net/tintin++/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= tintin++
-PORTVERSION= 2.00.6
+PORTVERSION= 2.00.7
CATEGORIES+= net games
MASTER_SITES= SF/tintin/TinTin%2B%2B%20Source%20Code/${PORTVERSION}/
DISTNAME= tintin-${PORTVERSION}
@@ -18,11 +18,14 @@ LICENSE= GPLv2
LIB_DEPENDS= pcre.0:${PORTSDIR}/devel/pcre
-CONFIGURE_ARGS+=--includedir=${LOCALBASE}/include --libdir=${LOCALBASE}/lib \
+OPTIONS= BIG5 "Big5 support" off
+
+CONFIGURE_ARGS= --includedir=${LOCALBASE}/include \
+ --libdir=${LOCALBASE}/lib \
--prefix=${PREFIX}
-CONFIGURE_ENV= LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib ${PTHREAD_LIBS}" \
- ac_cv_file__dev_ptmx=no
+CONFIGURE_ENV= LDFLAGS="${LDFLAGS}" ac_cv_file__dev_ptmx=no
GNU_CONFIGURE= yes
+LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
USE_GMAKE= yes
WRKSRC= ${WRKDIR}/tt/src
@@ -31,14 +34,20 @@ DOCS= CREDITS FAQ README SCRIPTS TODO \
PLIST_FILES= bin/tt++
PORTDOCS= ${DOCS:T}
+.include <bsd.port.options.mk>
+
+.if defined(WITH_BIG5)
+CONFIGURE_ARGS+=--enable-big5
+.endif
+
post-configure:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|' ${WRKSRC}/Makefile
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/tt++ ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/tt++ ${PREFIX}/bin/
.if !defined(NOPORTDOCS)
- @${INSTALL} -d ${DOCSDIR}
- @cd ${WRKSRC}/.. && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
+ ${INSTALL} -d ${DOCSDIR}/
+ cd ${WRKSRC}/../ && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}/
.endif
.include <bsd.port.mk>
diff --git a/net/tintin++/distinfo b/net/tintin++/distinfo
index d506f3963427..080932935e8e 100644
--- a/net/tintin++/distinfo
+++ b/net/tintin++/distinfo
@@ -1,2 +1,2 @@
-SHA256 (tintin-2.00.6.tar.gz) = 25410fba051774aa2978d19c4d68d6c69527a80bc11ef179d7fdb7a1fc15c7d4
-SIZE (tintin-2.00.6.tar.gz) = 251300
+SHA256 (tintin-2.00.7.tar.gz) = 33f2da2cf373916b8b41bed3696122477f06d3fd46809d7706cf30d0909a2c1c
+SIZE (tintin-2.00.7.tar.gz) = 255502