mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
Add py-libxslt , Python interface for XSLT C library for GNOME.
This commit is contained in:
parent
a89f7de8a8
commit
3e9d8c17f6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=113030
@ -445,6 +445,7 @@
|
||||
SUBDIR += py-feedparser
|
||||
SUBDIR += py-jaxml
|
||||
SUBDIR += py-libxml2
|
||||
SUBDIR += py-libxslt
|
||||
SUBDIR += py-ltxml
|
||||
SUBDIR += py-martel
|
||||
SUBDIR += py-pyx12
|
||||
|
32
textproc/py-libxslt/Makefile
Normal file
32
textproc/py-libxslt/Makefile
Normal file
@ -0,0 +1,32 @@
|
||||
# New ports collection makefile for: py-libxslt
|
||||
# Date created: 2 Jun 2004
|
||||
# Whom: Alexander Nedotsukov <bland@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
CATEGORIES= textproc gnome python
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= gnome@FreeBSD.org
|
||||
COMMENT= Python interface for XSLT C library for GNOME
|
||||
|
||||
MASTERDIR= ${.CURDIR}/../libxslt
|
||||
BUILD_WRKSRC= ${WRKSRC}/python
|
||||
INSTALL_WRKSRC= ${BUILD_WRKSRC}
|
||||
DESCR= ${.CURDIR}/pkg-descr
|
||||
PLIST= ${.CURDIR}/pkg-plist
|
||||
|
||||
USE_GNOME= gnomehack lthack gnometarget libxslt
|
||||
USE_PYTHON= yes
|
||||
CONFIGURE_ARGS= --with-html-dir=${PREFIX}/share/doc \
|
||||
--with-python=${LOCALBASE}
|
||||
|
||||
DOCSDIR= ${PREFIX}/share/doc/py-libxslt
|
||||
EXAMPLESDIR= ${PREFIX}/share/examples/py-libxslt
|
||||
|
||||
post-install:
|
||||
@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py -l ${PYTHON_SITELIBDIR}
|
||||
@${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py -l ${PYTHON_SITELIBDIR}
|
||||
|
||||
.include "${MASTERDIR}/Makefile"
|
4
textproc/py-libxslt/pkg-descr
Normal file
4
textproc/py-libxslt/pkg-descr
Normal file
@ -0,0 +1,4 @@
|
||||
Python interface for XSL Transformations (XSLT) library being developed
|
||||
for the GNOME project.
|
||||
|
||||
WWW: http://xmlsoft.org/XSLT/
|
14
textproc/py-libxslt/pkg-plist
Normal file
14
textproc/py-libxslt/pkg-plist
Normal file
@ -0,0 +1,14 @@
|
||||
lib/%%PYTHON_VERSION%%/site-packages/libxslt.py
|
||||
lib/%%PYTHON_VERSION%%/site-packages/libxslt.pyc
|
||||
lib/%%PYTHON_VERSION%%/site-packages/libxslt.pyo
|
||||
lib/%%PYTHON_VERSION%%/site-packages/libxsltmod.so
|
||||
%%DOCSDIR%%/TODO
|
||||
%%EXAMPLESDIR%%/basic.py
|
||||
%%EXAMPLESDIR%%/exslt.py
|
||||
%%EXAMPLESDIR%%/extelem.py
|
||||
%%EXAMPLESDIR%%/extfunc.py
|
||||
%%EXAMPLESDIR%%/pyxsltproc.py
|
||||
%%EXAMPLESDIR%%/test.xml
|
||||
%%EXAMPLESDIR%%/test.xsl
|
||||
@dirrm %%EXAMPLESDIR%%
|
||||
@dirrm %%DOCSDIR%%
|
Loading…
Reference in New Issue
Block a user