- Update to 1.2.9

PR:		ports/161656
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
This commit is contained in:
Wen Heping 2011-10-17 01:24:54 +00:00
parent 9bcce6cb3e
commit 14023b0aae
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=283650
3 changed files with 14 additions and 55 deletions

View file

@ -6,43 +6,30 @@
#
PORTNAME= ltxml
PORTVERSION= 1.2.7
PORTVERSION= 1.2.9
CATEGORIES= textproc
MASTER_SITES= #
MASTER_SITES= GENTOO/distfiles \
ftp://ftp.cogsci.ed.ac.uk/pub/LTXML/
MAINTAINER= ports@FreeBSD.org
COMMENT= XML Toolkit
LICENSE= GPLv2
LICENSE_FILE= ${WRKDIR}/${DISTNAME}/COPYING
OPTIONS= OPTIMIZED_CFLAGS "Extra optimizations" off
WRKSRC= ${WRKDIR}/${DISTNAME}/XML
USE_PERL5= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-zlib=/usr --enable-multi-byte
MAN1= ltxml.1 xmlnorm.1 pesis.1 sgcount.1 sggrep.1 sgmlsb.1 \
sgmlseg.1 sgmltoken.1 sgmltrans.1 sgrpg.1 textonly.1 \
unknit.1 sgsort.1 nslwhere.1 knit.1 nslshowddb.1 getindex.1
MAN5= ltxml-query.5
PROGRAMS= getindex intersect knit nslshowddb nslwhere pesis sgcount \
sggrep sgmlsb sgmlseg sgmltrans sgrpg sgsort simple simpleq \
textonly unknit xmlnorm
OPTIONS= OPTIMIZED_CFLAGS "Extra optimizations" off
CONFIGURE_ARGS= --with-zlib=/usr --datadir=${PREFIX}/lib/ltxml12
MAKE_JOBS_SAFE= yes
.include <bsd.port.pre.mk>
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
ECHO_MSG=/usr/bin/printf
IGNORE= :\n\
You have to download the distribution manually from \n\
http://www.inf.ed.ac.uk/research/isdd/admin/package?download=74.\n\
Download the file ${DISTNAME}${EXTRACT_SUFX}, and place it in\n\
${DISTDIR}.\n
.endif
.ifdef WITH_OPTIMIZED_CFLAGS
.if defined(WITH_OPTIMIZED_CFLAGS)
CFLAGS+= -Wuninitialized -ffast-math -finline-functions -fomit-frame-pointer -fexpensive-optimizations -O3
.endif
@ -50,13 +37,8 @@ CFLAGS+= -Wuninitialized -ffast-math -finline-functions -fomit-frame-pointer -fe
CFLAGS+= -fPIC
.endif
post-install:
.for file in ${PROGRAMS:S/sgmlseg//}
${STRIP_CMD} ${PREFIX}/bin/${file}
.endfor
post-patch:
@${PERL} -pi -e 's|CFLAGS=.*$$|CFLAGS=\$$CFLAGS|g ; \
@${REINPLACE_CMD} -e 's|CFLAGS=.*$$|CFLAGS=\$$CFLAGS|g ; \
s|CXXFLAGS=.*$$|CXXFLAGS=\$$CXXFLAGS|g' ${WRKSRC}/configure
.include <bsd.port.post.mk>

View file

@ -1,2 +1,2 @@
SHA256 (ltxml-1.2.7.tar.gz) = e0354e6ce3639d9cb1f1cefaf574548c09ae0432c10d125710cb618344149ddc
SIZE (ltxml-1.2.7.tar.gz) = 1149119
SHA256 (ltxml-1.2.9.tar.gz) = bc28fcdf63be636e03076deeacba75255cd9281f40a3dfd65a8c04aa93242921
SIZE (ltxml-1.2.9.tar.gz) = 304050

View file

@ -1,21 +1,3 @@
bin/getindex
bin/intersect
bin/knit
bin/nslshowddb
bin/nslwhere
bin/pesis
bin/sgcount
bin/sggrep
bin/sgmlsb
bin/sgmlseg
bin/sgmltrans
bin/sgrpg
bin/sgsort
bin/simple
bin/simpleq
bin/textonly
bin/unknit
bin/xmlnorm
include/ltxml12/charset.h
include/ltxml12/ctype16.h
include/ltxml12/hsregexp.h
@ -58,11 +40,6 @@ include/ltxml12/xmlconfig.h
lib/libltapi12.a
lib/libltstd12.a
lib/ltxml12/Makefile.usr
lib/ltxml12/intersect.ddb
lib/ltxml12/intersect.dtd
lib/ltxml12/sgrpg.ddb
lib/ltxml12/sgrpg.dtd
lib/ltxml12/sgrpg.dtd,xml
@dirrm lib/ltxml12
@dirrm include/ltxml12/sys
@dirrm include/ltxml12