diff options
author | William Grzybowski <wg@FreeBSD.org> | 2013-12-30 11:56:34 +0000 |
---|---|---|
committer | William Grzybowski <wg@FreeBSD.org> | 2013-12-30 11:56:34 +0000 |
commit | 848a3b0d46fe26c475f777d76c0e67712a898fc3 (patch) | |
tree | 24a6638a38212465d84de827ce72300ed3e0176c /textproc | |
parent | - convert from bash to sh (diff) |
textproc/py-ltxml: support staging and minor changes
Notes
Notes:
svn path=/head/; revision=338094
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/py-ltxml/Makefile | 14 | ||||
-rw-r--r-- | textproc/py-ltxml/pkg-plist | 11 |
2 files changed, 7 insertions, 18 deletions
diff --git a/textproc/py-ltxml/Makefile b/textproc/py-ltxml/Makefile index b15fa2860867..6bf6f36cf989 100644 --- a/textproc/py-ltxml/Makefile +++ b/textproc/py-ltxml/Makefile @@ -17,12 +17,14 @@ RUN_DEPENDS:= ${BUILD_DEPENDS} USE_PYTHON= yes USE_PYDISTUTILS= yes -PYDISTUTILS_PKGNAME= PyLTXML +PYDISTUTILS_AUTOPLIST= yes USE_LDCONFIG= yes + DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME} EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME} +PORTDOCS= * +PORTEXAMPLES= * -NO_STAGE= yes .include <bsd.port.pre.mk> .if ${ARCH} == "amd64" || ${ARCH} == "ia64" @@ -33,10 +35,8 @@ post-patch: @${REINPLACE_CMD} -e 's|/group/ltg/projects/lcontrib9|${LOCALBASE}|' ${WRKSRC}/setup.py post-install: -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} ${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/00README ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/example/* ${EXAMPLESDIR} -.endif + ${MKDIR} ${STAGEDIR}${DOCSDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/00README ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/example/* ${STAGEDIR}${EXAMPLESDIR} .include <bsd.port.post.mk> diff --git a/textproc/py-ltxml/pkg-plist b/textproc/py-ltxml/pkg-plist deleted file mode 100644 index eb81a2442c46..000000000000 --- a/textproc/py-ltxml/pkg-plist +++ /dev/null @@ -1,11 +0,0 @@ -%%PORTDOCS%%share/doc/py-ltxml/00README -%%PORTDOCS%%share/examples/py-ltxml/gscore.dtd -%%PORTDOCS%%share/examples/py-ltxml/simple.py -%%PORTDOCS%%share/examples/py-ltxml/small.xml -%%PYTHON_SITELIBDIR%%/PyLTXML/LTXMLinter.so -%%PYTHON_SITELIBDIR%%/PyLTXML/__init__.py -%%PYTHON_SITELIBDIR%%/PyLTXML/__init__.pyc -%%PYTHON_SITELIBDIR%%/PyLTXML/__init__.pyo -@dirrm %%PYTHON_SITELIBDIR%%/PyLTXML -%%PORTDOCS%%@dirrm share/examples/py-ltxml -%%PORTDOCS%%@dirrm share/doc/py-ltxml |