diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2011-07-13 10:54:28 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2011-07-13 10:54:28 +0800 |
commit | 28c13ac6c428c62877c2ea91b243c19d9e413868 (patch) | |
tree | 47d1ecc9e0fbc8924cdaa80951257bc8905493dd | |
parent | b53fe7a3e1c091ad9341af68c0e7a42d05308d3b (diff) | |
download | freebsd-ports-gnome-28c13ac6c428c62877c2ea91b243c19d9e413868.tar.gz freebsd-ports-gnome-28c13ac6c428c62877c2ea91b243c19d9e413868.tar.zst freebsd-ports-gnome-28c13ac6c428c62877c2ea91b243c19d9e413868.zip |
- Update to 2.00.7
- Add OPTIONS: BIG5
- Use WITH_BIG5 in chinese/tintin++
Changes: http://tintin.sourceforge.net/news.php
-rw-r--r-- | chinese/tintin++/Makefile | 2 | ||||
-rw-r--r-- | net/tintin++/Makefile | 23 | ||||
-rw-r--r-- | net/tintin++/distinfo | 4 |
3 files changed, 19 insertions, 10 deletions
diff --git a/chinese/tintin++/Makefile b/chinese/tintin++/Makefile index 52e50a00b5be..a7e68145afd4 100644 --- a/chinese/tintin++/Makefile +++ b/chinese/tintin++/Makefile @@ -11,7 +11,7 @@ MAINTAINER= sunpoet@FreeBSD.org MASTERDIR= ${.CURDIR}/../../net/tintin++ -CONFIGURE_ARGS= --enable-big5 +WITH_BIG5= yes NO_LATEST_LINK= yes 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 |