mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-09 06:51:44 +00:00
- Update to 3.2
- Add support to xml-config and xslt-config - Removed file: files/patch-library-pkgIndex.tcl.in - Take maintainership PR: ports/139469 Submitted by: myself Approved by: itetcu (mentor)
This commit is contained in:
parent
e8eb01c6e5
commit
7b851386eb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=243606
@ -6,24 +6,27 @@
|
||||
#
|
||||
|
||||
PORTNAME= tclxml
|
||||
PORTVERSION= 3.1
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 3.2
|
||||
CATEGORIES= devel tcl
|
||||
MASTER_SITES= SF/tclxml/TclXML/${PORTVERSION}
|
||||
|
||||
MAINTAINER?= ports@FreeBSD.org
|
||||
MAINTAINER= sylvio@FreeBSD.org
|
||||
COMMENT= API for parsing XML documents using Tcl
|
||||
|
||||
BUILD_DEPENDS= ${LOCALBASE}/bin/xslt-config:${PORTSDIR}/textproc/libxslt
|
||||
RUN_DEPENDS?= dtplite:${PORTSDIR}/devel/tcllib
|
||||
|
||||
PORTDOCS= README.html html.xsl nroff.xsl tclxml.html tclxml.xml \
|
||||
README.xml man.macros tcldoc-1.0.dtd tclxml.n txt.xsl
|
||||
PORTDOCS= README.xml html.xsl man.macros nroff.xsl tcldoc-1.0.dtd \
|
||||
tcldom.html tcldom.xml tclxml.css tclxml.html tclxml.xml \
|
||||
tclxslt.html tclxslt.xml transform.tcl txt.xsl
|
||||
|
||||
USE_TCL= 82+
|
||||
XML_CONFIG?= ${LOCALBASE}/bin/xml2-config
|
||||
GNU_CONFIGURE= yes
|
||||
USE_LDCONFIG?= ${PREFIX}/lib/Tclxml${PORTVERSION}
|
||||
CONFIGURE_ARGS= --with-tcl=${TCL_LIBDIR} \
|
||||
--with-tclinclude=${TCL_INCLUDEDIR}
|
||||
--with-tclinclude=${TCL_INCLUDEDIR} \
|
||||
XML_CONFIG="${XML_CONFIG}"
|
||||
PLIST= ${PKGDIR}${PKGNAMESUFFIX}/pkg-plist
|
||||
PATCHDIR= ${PKGDIR}${PKGNAMESUFFIX}/files/
|
||||
PLIST_SUB= VER=${PORTVERSION}
|
||||
@ -33,7 +36,7 @@ PLIST_SUB= VER=${PORTVERSION}
|
||||
pre-install:
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${INSTALL} -d ${DOCSDIR}
|
||||
@${INSTALL} -d ${DOCSDIR}
|
||||
@cd ${WRKSRC}/doc && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
|
||||
.endif
|
||||
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (tclxml-3.1.tar.gz) = 35de63a4ceba7a6fdb85dd1a62f2e881
|
||||
SHA256 (tclxml-3.1.tar.gz) = 9b017f29c7a06fa1a57d1658bd1d3867297c26013604bdcc4d7b0ca2333552c9
|
||||
SIZE (tclxml-3.1.tar.gz) = 489568
|
||||
MD5 (tclxml-3.2.tar.gz) = 9d1605246c899eff7db591bca3c23200
|
||||
SHA256 (tclxml-3.2.tar.gz) = f4116b6680b249ce74b856a121762361ca09e6256f0c8ad578d1c661b822cb39
|
||||
SIZE (tclxml-3.2.tar.gz) = 757594
|
||||
|
@ -1,15 +1,11 @@
|
||||
Due to the portbuildmechanism, the original TCL_SRC_DIR is not available
|
||||
at buildtime of this port, but the private headers that we are actually
|
||||
looking for can also be found in the include directory.
|
||||
|
||||
--- configure.orig 2005-11-04 07:26:33.000000000 +0100
|
||||
+++ configure 2008-04-27 23:30:44.000000000 +0200
|
||||
@@ -3183,7 +3183,7 @@
|
||||
--- configure.orig 2008-12-02 08:55:06.000000000 -0200
|
||||
+++ configure 2009-10-09 19:10:25.000000000 -0300
|
||||
@@ -6770,6 +6770,8 @@
|
||||
|
||||
TCL_INCLUDES=-I\"${INCLUDE_DIR_NATIVE}\"
|
||||
|
||||
-
|
||||
+ TCL_SRC_DIR=${with_tclinclude}
|
||||
+
|
||||
|
||||
|
||||
|
||||
echo $ac_n "checking for Tcl private include files""... $ac_c" 1>&6
|
||||
|
@ -1,14 +0,0 @@
|
||||
No clue what went wrong here..
|
||||
This patch just avoids the warning message, it would work without it aswell.
|
||||
|
||||
--- library/pkgIndex.tcl.in.orig 2008-04-27 23:48:07.000000000 +0200
|
||||
+++ library/pkgIndex.tcl.in 2008-04-27 23:48:13.000000000 +0200
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
package ifneeded xml::c @VERSION@ [list load [file join $dir @Tclxml_LIB_FILE@]]
|
||||
package ifneeded xml::tcl @VERSION@ [list source [file join $dir xml__tcl.tcl]]
|
||||
-package ifneeded sgmlparser 1.1 [list source [file join $dir sgmlparser.tcl]]
|
||||
+package ifneeded sgmlparser 1.0 [list source [file join $dir sgmlparser.tcl]]
|
||||
package ifneeded xpath 1.0 [list source [file join $dir xpath.tcl]]
|
||||
package ifneeded xmldep 1.0 [list source [file join $dir xmldep.tcl]]
|
||||
|
@ -1,17 +1,28 @@
|
||||
include/tclxml/tclxml.h
|
||||
include/tclxml/tclxmlDecls.h
|
||||
lib/TclxmlConfig.sh
|
||||
include/tclxml/docObj.h
|
||||
include/tclxml/tcldom-libxml2.h
|
||||
include/tclxml/tcldom.h
|
||||
include/tclxml/tclxml-libxml2.h
|
||||
include/tclxml/tclxslt.h
|
||||
lib/Tclxml%%VER%%/libTclxml%%VER%%.so
|
||||
lib/Tclxml%%VER%%/libTclxmlstub%%VER%%.a
|
||||
lib/Tclxml%%VER%%/pkgIndex.tcl
|
||||
lib/Tclxml%%VER%%/process.tcl
|
||||
lib/Tclxml%%VER%%/resources.tcl
|
||||
lib/Tclxml%%VER%%/sgml-8.0.tcl
|
||||
lib/Tclxml%%VER%%/sgml-8.1.tcl
|
||||
lib/Tclxml%%VER%%/sgmlparser.tcl
|
||||
lib/Tclxml%%VER%%/tcldom-libxml2.tcl
|
||||
lib/Tclxml%%VER%%/tclparser-8.0.tcl
|
||||
lib/Tclxml%%VER%%/tclparser-8.1.tcl
|
||||
lib/Tclxml%%VER%%/xml__tcl.tcl
|
||||
lib/Tclxml%%VER%%/tclxslt-libxslt.tcl
|
||||
lib/Tclxml%%VER%%/utilities.tcl
|
||||
lib/Tclxml%%VER%%/xml-8.0.tcl
|
||||
lib/Tclxml%%VER%%/xml-8.1.tcl
|
||||
lib/Tclxml%%VER%%/xml__tcl.tcl
|
||||
lib/Tclxml%%VER%%/xmldep.tcl
|
||||
lib/Tclxml%%VER%%/xmlswitch.tcl
|
||||
lib/Tclxml%%VER%%/xpath.tcl
|
||||
lib/Tclxml%%VER%%/xsltcache.tcl
|
||||
lib/TclxmlConfig.sh
|
||||
@dirrm lib/Tclxml%%VER%%
|
||||
@dirrm include/tclxml
|
||||
|
Loading…
Reference in New Issue
Block a user