1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

- The upstream forgot to include the tcllibxml2Config.sh file into the installationprocess.

- Also, not all macros are filled in correctly, so we'll fix that too.

PR:		ports/123607
Submitted by:	Frank Fenor <frank@fenor.de> (maintainer)
This commit is contained in:
Beech Rintoul 2008-06-29 02:07:49 +00:00
parent 1828b3df7c
commit f6c3363017
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=215927
2 changed files with 17 additions and 2 deletions

View File

@ -5,6 +5,7 @@
# $FreeBSD$
#
PORTREVISION= 1
PKGNAMESUFFIX= -libxml2
MAINTAINER= frank@fenor.de
@ -18,4 +19,17 @@ LATEST_LINK= ${PORTNAME}${PKGNAMESUFFIX}
MASTERDIR= ${.CURDIR}/../tclxml
.include "${MASTERDIR}/Makefile"
NOPORTDOCS= yes
post-build:
${REINPLACE_CMD} -e 's|@tcldomxml_LIB_FILE@|libTclXML_libxml2${PORTVERSION}.so|' \
-e 's|@tclxml_libxml2_LIB_SPEC@|${LOCALBASE}/lib/TclXML_libxml2${PORTVERSION}/libTclXML_libxml2${PORTVERSION}.so|' \
-e 's|@tclxml_libxml2_stub_LIB_FILE@|libTclxmlstub${PORTVERSION}.a|' \
-e 's|@tclxml_libxml2_STUB_LIB_SPEC@|${LOCALBASE}/lib/Tclxml${PORTVERSION}/libTclxmlstub${PORTVERSION}.a|' \
-e 's|@tclxml_libxml2_STUB_LIB_PATH@|${LOCALBASE}/lib/TclXML_libxml2${PORTVERSION}|' \
${WRKSRC}/tcllibxml2Config.sh
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/tcllibxml2Config.sh ${LOCALBASE}/lib
.include "${MASTERDIR}/Makefile"

View File

@ -3,5 +3,6 @@ include/tclxml-libxml2/tclxml-libxml2.h
include/tclxml-libxml2/tclxml-libxml2Decls.h
lib/TclXML_libxml2%%VER%%/libTclXML_libxml2%%VER%%.so
lib/TclXML_libxml2%%VER%%/pkgIndex.tcl
lib/tcllibxml2Config.sh
@dirrm lib/TclXML_libxml2%%VER%%
@dirrm include/tclxml-libxml2
@dirrm include/tclxml-libxml2