aboutsummaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2003-11-17 21:27:09 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2003-11-17 21:27:09 +0000
commitfd9a27bf9369a9c8842ca98150bd18be5d8cd01c (patch)
treee872431aed1d3e92752898aefdb1c1f641a0ea5c /textproc
parentaaa01ff8f4e4f5aab97fe612d34f9e554bec2a36 (diff)
downloadports-fd9a27bf9369a9c8842ca98150bd18be5d8cd01c.tar.gz
ports-fd9a27bf9369a9c8842ca98150bd18be5d8cd01c.zip
Notes
Diffstat (limited to 'textproc')
-rw-r--r--textproc/libxslt/Makefile7
-rw-r--r--textproc/libxslt/pkg-plist2
2 files changed, 9 insertions, 0 deletions
diff --git a/textproc/libxslt/Makefile b/textproc/libxslt/Makefile
index 71c7fc3270ad..7a04fd0d6c00 100644
--- a/textproc/libxslt/Makefile
+++ b/textproc/libxslt/Makefile
@@ -7,6 +7,7 @@
PORTNAME= libxslt
PORTVERSION= 1.1.0
+PORTREVISION= 1
CATEGORIES= textproc gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/1.1
@@ -48,4 +49,10 @@ pre-everything::
@${ECHO_MSG} " WITH_MEM_DEBUG=yes Turns on memory debugging"
@${ECHO_MSG} ""
+.if !defined(WITHOUT_PYTHON)
+post-install:
+ @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py -l ${PYTHON_SITELIBDIR}
+ @${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py -l ${PYTHON_SITELIBDIR}
+.endif
+
.include <bsd.port.mk>
diff --git a/textproc/libxslt/pkg-plist b/textproc/libxslt/pkg-plist
index e5da853ba45a..38f32664b4f1 100644
--- a/textproc/libxslt/pkg-plist
+++ b/textproc/libxslt/pkg-plist
@@ -31,6 +31,8 @@ lib/libxslt.a
lib/libxslt.so
lib/libxslt.so.2
%%PYTHON:%%lib/%%PYTHON_VERSION%%/site-packages/libxslt.py
+%%PYTHON:%%lib/%%PYTHON_VERSION%%/site-packages/libxslt.pyc
+%%PYTHON:%%lib/%%PYTHON_VERSION%%/site-packages/libxslt.pyo
%%PYTHON:%%lib/%%PYTHON_VERSION%%/site-packages/libxsltmod.so
libdata/pkgconfig/libxslt.pc
share/aclocal/libxslt.m4