diff options
author | Vanilla I. Shu <vanilla@FreeBSD.org> | 2014-07-02 06:30:54 +0000 |
---|---|---|
committer | Vanilla I. Shu <vanilla@FreeBSD.org> | 2014-07-02 06:30:54 +0000 |
commit | 3792f39acaf5917d1f615f41aebf8335db9fabc9 (patch) | |
tree | e8911c1fd1e138c415388f59198453cebd7ab81e /textproc/py-xmltv | |
parent | bcba3c7eb517c456cc68537a634feb2767aea771 (diff) |
Notes
Diffstat (limited to 'textproc/py-xmltv')
-rw-r--r-- | textproc/py-xmltv/Makefile | 13 | ||||
-rw-r--r-- | textproc/py-xmltv/pkg-plist | 2 |
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%% |