aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorsem <sem@FreeBSD.org>2004-07-24 02:07:48 +0800
committersem <sem@FreeBSD.org>2004-07-24 02:07:48 +0800
commit2bb58bdfa0ebbc4c4da61a96ab940997f9540d0e (patch)
treef4b729e35afe89a3dc8aaf8ddebf3e1c5e3d3ea4 /textproc
parent39573ecc71225b0ac671ac00185f1b1f11c35715 (diff)
downloadfreebsd-ports-gnome-2bb58bdfa0ebbc4c4da61a96ab940997f9540d0e.tar.gz
freebsd-ports-gnome-2bb58bdfa0ebbc4c4da61a96ab940997f9540d0e.tar.zst
freebsd-ports-gnome-2bb58bdfa0ebbc4c4da61a96ab940997f9540d0e.zip
Update to 1.2.6
PR: ports/69491 Submitted by: Radim Kolar <hsn@netmag.cz>
Diffstat (limited to 'textproc')
-rw-r--r--textproc/ltxml/Makefile24
-rw-r--r--textproc/ltxml/distinfo4
-rw-r--r--textproc/ltxml/pkg-plist2
3 files changed, 22 insertions, 8 deletions
diff --git a/textproc/ltxml/Makefile b/textproc/ltxml/Makefile
index 4833610efc4a..1fa7c1397b06 100644
--- a/textproc/ltxml/Makefile
+++ b/textproc/ltxml/Makefile
@@ -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>
diff --git a/textproc/ltxml/distinfo b/textproc/ltxml/distinfo
index 2a7291eef932..3d1ff277cf7c 100644
--- a/textproc/ltxml/distinfo
+++ b/textproc/ltxml/distinfo
@@ -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
diff --git a/textproc/ltxml/pkg-plist b/textproc/ltxml/pkg-plist
index a246ac935379..0314528511c4 100644
--- a/textproc/ltxml/pkg-plist
+++ b/textproc/ltxml/pkg-plist
@@ -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