1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Respect PORTEXAMPLES

- Simplify Makefile

Reported by:	Yuri <yuri@rawbw.com>
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2013-11-24 19:29:48 +00:00
parent afa7205c43
commit c84955cb08
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=334775
2 changed files with 15 additions and 19 deletions

View File

@ -22,12 +22,8 @@ USE_ZIP= yes
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
.include <bsd.port.options.mk>
post-install:
.if ${PORT_OPTIONS:MEXAMPLES}
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}/
.endif
.include <bsd.port.mk>

View File

@ -298,21 +298,21 @@ bin/cssparse
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/encutils/__init__.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/encutils/__init__.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/encutils/__init__.pyo
%%EXAMPLESDIR%%/build.py
%%EXAMPLESDIR%%/codec.py
%%EXAMPLESDIR%%/cssencodings.py
%%EXAMPLESDIR%%/customlog.py
%%EXAMPLESDIR%%/imports.py
%%EXAMPLESDIR%%/minify.py
%%EXAMPLESDIR%%/parse.py
%%EXAMPLESDIR%%/properties_with_same_name.py
%%EXAMPLESDIR%%/selectors_tolower.py
%%EXAMPLESDIR%%/serialize.py
%%EXAMPLESDIR%%/style.py
%%EXAMPLESDIR%%/styledeclaration.py
%%EXAMPLESDIR%%/testutil.py
%%EXAMPLESDIR%%/website.py
@dirrm %%EXAMPLESDIR%%
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/build.py
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/codec.py
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/cssencodings.py
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/customlog.py
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/imports.py
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/minify.py
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/parse.py
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/properties_with_same_name.py
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/selectors_tolower.py
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/serialize.py
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/style.py
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/styledeclaration.py
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testutil.py
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/website.py
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/encutils
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/cssutils/tests/test_encutils
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/cssutils/tests