aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2014-07-02 14:30:54 +0800
committervanilla <vanilla@FreeBSD.org>2014-07-02 14:30:54 +0800
commit2e81f64fdebd22fc6ac5251fff6d44d6be2d5cad (patch)
treee8911c1fd1e138c415388f59198453cebd7ab81e
parenta04fa308968c2556aa2b763bb5dea0af2dddc7c7 (diff)
downloadfreebsd-ports-gnome-2e81f64fdebd22fc6ac5251fff6d44d6be2d5cad.tar.gz
freebsd-ports-gnome-2e81f64fdebd22fc6ac5251fff6d44d6be2d5cad.tar.zst
freebsd-ports-gnome-2e81f64fdebd22fc6ac5251fff6d44d6be2d5cad.zip
Stagify.
Approved by: portmgr@ (blanket approval)
-rw-r--r--textproc/py-xmltv/Makefile13
-rw-r--r--textproc/py-xmltv/pkg-plist2
2 files changed, 7 insertions, 8 deletions
diff --git a/textproc/py-xmltv/Makefile b/textproc/py-xmltv/Makefile
index 201630615568..e17f695da616 100644
--- a/textproc/py-xmltv/Makefile
+++ b/textproc/py-xmltv/Makefile
@@ -17,18 +17,19 @@ LICENSE= LGPL21
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_PKGNAME= python-xmltv
-
PROJECTHOST= python-xmltv
+OPTIONS_DEFINE= DOCS
+
+.include <bsd.port.options.mk>
-.ifndef(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
PORTDOCS= README.txt
.endif
-NO_STAGE= yes
post-install:
-.ifndef(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- @${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR}
+.if ${PORT_OPTIONS:MDOCS}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/README.txt ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>
diff --git a/textproc/py-xmltv/pkg-plist b/textproc/py-xmltv/pkg-plist
index 76c1d95a58be..da7e89885d6b 100644
--- a/textproc/py-xmltv/pkg-plist
+++ b/textproc/py-xmltv/pkg-plist
@@ -1,5 +1,3 @@
%%PYTHON_SITELIBDIR%%/xmltv.py
%%PYTHON_SITELIBDIR%%/xmltv.pyc
%%PYTHON_SITELIBDIR%%/xmltv.pyo
-@dirrmtry %%PYTHON_SITELIBDIR%%
-@dirrmtry %%PYTHON_LIBDIR%%