1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

- Update to 2.00.7

- Add OPTIONS: BIG5
- Use WITH_BIG5 in chinese/tintin++

Changes:	http://tintin.sourceforge.net/news.php
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2011-07-13 02:54:28 +00:00
parent 2bf7229da2
commit 2563727166
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=277626
3 changed files with 19 additions and 10 deletions

View File

@ -11,7 +11,7 @@ MAINTAINER= sunpoet@FreeBSD.org
MASTERDIR= ${.CURDIR}/../../net/tintin++
CONFIGURE_ARGS= --enable-big5
WITH_BIG5= yes
NO_LATEST_LINK= yes

View File

@ -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>

View File

@ -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