1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00

Update to 1.2.6

PR:		ports/69491
Submitted by:	Radim Kolar <hsn@netmag.cz>
This commit is contained in:
Sergey Matveychuk 2004-07-23 18:07:48 +00:00
parent ce5cd66858
commit 0974cce33f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=114503
3 changed files with 22 additions and 8 deletions

View File

@ -6,8 +6,7 @@
#
PORTNAME= ltxml
PORTVERSION= 1.2.5
PORTREVISION= 3
PORTVERSION= 1.2.6
CATEGORIES= textproc
MASTER_SITES= ftp://ftp.cogsci.ed.ac.uk/pub/LTXML/
@ -20,6 +19,7 @@ USE_PERL5= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-zlib=/usr --enable-multi-byte
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
MAN1= ltxml.1 xmlnorm.1 pesis.1 sgcount.1 sggrep.1 sgmlsb.1 \
sgmlseg.1 sgmltoken.1 sgmltrans.1 sgrpg.1 textonly.1 \
@ -30,13 +30,25 @@ PROGRAMS= getindex intersect knit nslshowddb nslwhere pesis sgcount \
sggrep sgmlsb sgmlseg sgmltrans sgrpg sgsort simple simpleq \
textonly unknit xmlnorm
post-patch:
@${PERL} -pi -e 's|CFLAGS=.*$$|CFLAGS=\$$CFLAGS|g ; \
s|CXXFLAGS=.*$$|CXXFLAGS=\$$CXXFLAGS|g' ${WRKSRC}/configure
.include <bsd.port.pre.mk>
.ifdef WITH_OPTIMIZED_CFLAGS
CFLAGS+= -Wuninitialized -ffast-math -finline-functions -fomit-frame-pointer -fexpensive-optimizations -O3
.endif
pre-everything::
.ifndef(WITH_OPTIMIZED_CFLAGS)
@${ECHO_MSG} '===>'
@${ECHO_MSG} '===> You can enable extra optimizations by defining WITH_OPTIMIZED_CFLAGS'
@${ECHO_MSG} "===> For example, 'make WITH_OPTIMIZED_CFLAGS=yes'"
.endif
post-install:
.for file in ${PROGRAMS:S/sgmlseg//}
${STRIP_CMD} ${PREFIX}/bin/${file}
.endfor
.include <bsd.port.mk>
post-patch:
@${PERL} -pi -e 's|CFLAGS=.*$$|CFLAGS=\$$CFLAGS|g ; \
s|CXXFLAGS=.*$$|CXXFLAGS=\$$CXXFLAGS|g' ${WRKSRC}/configure
.include <bsd.port.post.mk>

View File

@ -1,2 +1,2 @@
MD5 (ltxml-1.2.5.tar.gz) = 7aa37556dc9b532013c3bf9698e7d630
SIZE (ltxml-1.2.5.tar.gz) = 1081135
MD5 (ltxml-1.2.6.tar.gz) = e36d870a1ca025805eddc8048666db7d
SIZE (ltxml-1.2.6.tar.gz) = 1144896

View File

@ -43,6 +43,8 @@ include/ltxml12/sys/lt-mttslib.h
include/ltxml12/sys/lt-sstring.h
include/ltxml12/sys/lt-umalloc.h
include/ltxml12/sys/namespaces.h
include/ltxml12/sys/nf16check.h
include/ltxml12/sys/nf16data.h
include/ltxml12/sys/nsl-ibit.h
include/ltxml12/sys/nsl-stack.h
include/ltxml12/sys/nslfile.h