Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Nov 2013 19:29:48 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r334775 - head/www/py-cssutils
Message-ID:  <201311241929.rAOJTm5a090432@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sun Nov 24 19:29:48 2013
New Revision: 334775
URL: http://svnweb.freebsd.org/changeset/ports/334775

Log:
  - Respect PORTEXAMPLES
  - Simplify Makefile
  
  Reported by:	Yuri <yuri@rawbw.com>

Modified:
  head/www/py-cssutils/Makefile
  head/www/py-cssutils/pkg-plist

Modified: head/www/py-cssutils/Makefile
==============================================================================
--- head/www/py-cssutils/Makefile	Sun Nov 24 19:27:20 2013	(r334774)
+++ head/www/py-cssutils/Makefile	Sun Nov 24 19:29:48 2013	(r334775)
@@ -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>

Modified: head/www/py-cssutils/pkg-plist
==============================================================================
--- head/www/py-cssutils/pkg-plist	Sun Nov 24 19:27:20 2013	(r334774)
+++ head/www/py-cssutils/pkg-plist	Sun Nov 24 19:29:48 2013	(r334775)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311241929.rAOJTm5a090432>