Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

- Use PORTDOCS and PORTEXAMPLES

- Simplify Makefile
  • Loading branch information...
commit 8269c65baea87424cba794560d35c1303caa90ea 1 parent 4ffd8fb
sunpoet authored
Showing with 4 additions and 35 deletions.
  1. +4 −7 www/py-qp/Makefile
  2. +0 −28 www/py-qp/pkg-plist
View
11 www/py-qp/Makefile
@@ -24,15 +24,12 @@ USE_PYTHON= -2.7
SUB_FILES= pkg-message
-.include <bsd.port.options.mk>
+PORTDOCS= CHANGES.txt LICENSE.txt README.txt
+PORTEXAMPLES= *
post-install:
-.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${STAGEDIR}${DOCSDIR}/
- cd ${WRKSRC}/ && ${INSTALL_DATA} CHANGES.txt LICENSE.txt README.txt ${STAGEDIR}${DOCSDIR}/
-.endif
-.if ${PORT_OPTIONS:MEXAMPLES}
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}/ ${STAGEDIR}${EXAMPLESDIR}/
+ cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
cd ${WRKSRC}/ && ${PYTHON_CMD} ${PYSETUP} install_demo_sites ${STAGEDIR}${EXAMPLESDIR}/
-.endif
.include <bsd.port.mk>
View
28 www/py-qp/pkg-plist
@@ -114,31 +114,3 @@ bin/qpcensus.py
@dirrm %%PYTHON_SITELIBDIR%%/qp/fill
@dirrm %%PYTHON_SITELIBDIR%%/qp/sites
@dirrm %%PYTHON_SITELIBDIR%%/qp
-%%PORTDOCS%%%%DOCSDIR%%/CHANGES.txt
-%%PORTDOCS%%%%DOCSDIR%%/LICENSE.txt
-%%PORTDOCS%%%%DOCSDIR%%/README.txt
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/__init__.py
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/echo/slash.qpy
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/echo/__init__.py
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/echo/var/here.txt
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/hello/slash.py
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/hello/__init__.py
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/hello/var/here.txt
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/proto/forms.qpy
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/proto/qwiki.qpy
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/proto/slash.qpy
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/proto/__init__.py
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/proto/static/all.css
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/proto/static/favicon.ico
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/proto/static/favicon.png
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/proto/static/proto.js
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/proto/var/here.txt
-%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/echo/var
-%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/echo
-%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/hello/var
-%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/hello
-%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/proto/static
-%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/proto/var
-%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/proto
-%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
Please sign in to comment.
Something went wrong with that request. Please try again.