Cosmetic change

This commit is contained in:
Kevin Lo 2012-03-05 03:14:52 +00:00
parent d46c00b7ba
commit 987fc03f28
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=292712
2 changed files with 11 additions and 12 deletions

View File

@ -25,7 +25,16 @@ USE_PYDISTUTILS= easy_install
PYDISTUTILS_NOEGGINFO= yes
PYEASYINSTALL_ARCHDEP= yes
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
.if !defined(NOPORTDOCS)
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
.endif
.include <bsd.port.pre.mk>
post-patch:
.if defined(NOPORTDOCS)
@${REINPLACE_CMD} -e 's|share/doc|${DOCSDIR}|g' ${WRKSRC}/setup.py
.endif
post-install:
.if !defined(NOPORTDOCS)
@ -35,4 +44,4 @@ post-install:
.endfor
.endif
.include <bsd.port.mk>
.include <bsd.port.post.mk>

View File

@ -1,10 +0,0 @@
--- setup.py.orig 2012-03-02 17:06:05.000000000 +0800
+++ setup.py 2012-03-02 17:06:28.000000000 +0800
@@ -161,7 +161,6 @@
tests_require=tests_require,
packages=find_packages(),
include_package_data=True,
- data_files=data_files,
setup_requires=setup_requires,
classifiers=trove_classifiers,
entry_points = { 'console_scripts': [ 'zfec = %s.cmdline_zfec:main' % PKG, 'zunfec = %s.cmdline_zunfec:main' % PKG ] },