aboutsummaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2004-01-14 18:17:59 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2004-01-14 18:17:59 +0000
commitec96839f0e6bf33c20c9131d9c30071f53cd4812 (patch)
tree470b5ebb47a86401f571d8b0b92989a0b039afeb /textproc
parent45a91a78ee810e42c7190dd8c7bca071ce07a484 (diff)
downloadports-ec96839f0e6bf33c20c9131d9c30071f53cd4812.tar.gz
ports-ec96839f0e6bf33c20c9131d9c30071f53cd4812.zip
Notes
Diffstat (limited to 'textproc')
-rw-r--r--textproc/libxslt/Makefile8
-rw-r--r--textproc/libxslt/pkg-plist14
2 files changed, 14 insertions, 8 deletions
diff --git a/textproc/libxslt/Makefile b/textproc/libxslt/Makefile
index 13bbbc01d2e4..6ef8520959a8 100644
--- a/textproc/libxslt/Makefile
+++ b/textproc/libxslt/Makefile
@@ -7,7 +7,7 @@
PORTNAME= libxslt
PORTVERSION= 1.1.2
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= textproc gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/1.1
@@ -21,6 +21,7 @@ USE_GMAKE= yes
USE_LIBTOOL= yes
INSTALLS_SHLIB= yes
USE_GNOME= gnomehack gnometarget libxml2
+USE_REINPLACE= yes
CONFIGURE_ARGS= --with-html-dir=${PREFIX}/share/doc
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include"
@@ -49,6 +50,11 @@ pre-everything::
@${ECHO_MSG} " WITH_MEM_DEBUG=yes Turns on memory debugging"
@${ECHO_MSG} ""
+post-patch:
+ @${REINPLACE_CMD} -e 's|[$$](bindir)/xsltproc|../xsltproc/xsltproc|g ; \
+ s|[$$](bindir)/xmllint|../xmllint/xmllint|g' \
+ ${WRKSRC}/doc/Makefile.in
+
.if !defined(WITHOUT_PYTHON)
post-install:
@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py -l ${PYTHON_SITELIBDIR}
diff --git a/textproc/libxslt/pkg-plist b/textproc/libxslt/pkg-plist
index bd69f06dada0..1693203762f0 100644
--- a/textproc/libxslt/pkg-plist
+++ b/textproc/libxslt/pkg-plist
@@ -60,13 +60,13 @@ share/aclocal/libxslt.m4
%%DOCSDIR%%/html/APIfiles.html
%%DOCSDIR%%/html/APIfunctions.html
%%DOCSDIR%%/html/APIsymbols.html
-%%PYTHON:%%%%DOCSDIR%%/html/EXSLT/bugs.html
-%%PYTHON:%%%%DOCSDIR%%/html/EXSLT/docs.html
-%%PYTHON:%%%%DOCSDIR%%/html/EXSLT/downloads.html
-%%PYTHON:%%%%DOCSDIR%%/html/EXSLT/exslt.html
-%%PYTHON:%%%%DOCSDIR%%/html/EXSLT/help.html
-%%PYTHON:%%%%DOCSDIR%%/html/EXSLT/index.html
-%%PYTHON:%%%%DOCSDIR%%/html/EXSLT/intro.html
+%%DOCSDIR%%/html/EXSLT/bugs.html
+%%DOCSDIR%%/html/EXSLT/docs.html
+%%DOCSDIR%%/html/EXSLT/downloads.html
+%%DOCSDIR%%/html/EXSLT/exslt.html
+%%DOCSDIR%%/html/EXSLT/help.html
+%%DOCSDIR%%/html/EXSLT/index.html
+%%DOCSDIR%%/html/EXSLT/intro.html
%%DOCSDIR%%/html/FAQ.html
%%DOCSDIR%%/html/Libxslt-Logo-180x168.gif
%%DOCSDIR%%/html/Libxslt-Logo-90x34.gif