aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2013-11-25 03:29:48 +0800
committersunpoet <sunpoet@FreeBSD.org>2013-11-25 03:29:48 +0800
commit7ff6d2d61ca28744b318a99ebde12325ecfeba4e (patch)
tree9a92339216fa21382e77b457df4c1aa9fa07a35f /www
parentde60aa90dea0bd1f56634a403952cbc100aa812c (diff)
downloadfreebsd-ports-gnome-7ff6d2d61ca28744b318a99ebde12325ecfeba4e.tar.gz
freebsd-ports-gnome-7ff6d2d61ca28744b318a99ebde12325ecfeba4e.tar.zst
freebsd-ports-gnome-7ff6d2d61ca28744b318a99ebde12325ecfeba4e.zip
- Respect PORTEXAMPLES
- Simplify Makefile Reported by: Yuri <yuri@rawbw.com>
Diffstat (limited to 'www')
-rw-r--r--www/py-cssutils/Makefile4
-rw-r--r--www/py-cssutils/pkg-plist30
2 files changed, 15 insertions, 19 deletions
diff --git a/www/py-cssutils/Makefile b/www/py-cssutils/Makefile
index 216701bbedc2..e3632988dfa2 100644
--- a/www/py-cssutils/Makefile
+++ b/www/py-cssutils/Makefile
@@ -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>
diff --git a/www/py-cssutils/pkg-plist b/www/py-cssutils/pkg-plist
index c42665eeabfc..b9155d5d7edb 100644
--- a/www/py-cssutils/pkg-plist
+++ b/www/py-cssutils/pkg-plist
@@ -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