aboutsummaryrefslogtreecommitdiff
path: root/devel/py-grouch
diff options
context:
space:
mode:
authorIon-Mihai Tetcu <itetcu@FreeBSD.org>2008-07-17 21:12:14 +0000
committerIon-Mihai Tetcu <itetcu@FreeBSD.org>2008-07-17 21:12:14 +0000
commit399c80a65c8e445d2304bae38f60d69d6d2459be (patch)
tree98a6e4b843eacb47ccfaee223ad29070ea402957 /devel/py-grouch
parentd504b7003d85f87efee0608a9ad64a4d2d35e399 (diff)
downloadports-399c80a65c8e445d2304bae38f60d69d6d2459be.tar.gz
ports-399c80a65c8e445d2304bae38f60d69d6d2459be.zip
Notes
Diffstat (limited to 'devel/py-grouch')
-rw-r--r--devel/py-grouch/Makefile3
-rw-r--r--devel/py-grouch/pkg-plist24
2 files changed, 15 insertions, 12 deletions
diff --git a/devel/py-grouch/Makefile b/devel/py-grouch/Makefile
index 5f7f532f518a..e1e54b91498c 100644
--- a/devel/py-grouch/Makefile
+++ b/devel/py-grouch/Makefile
@@ -7,6 +7,7 @@
PORTNAME= grouch
PORTVERSION= 0.4
+PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= http://www.mems-exchange.org/software/files/${PORTNAME}/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -35,6 +36,8 @@ post-install:
@ ${INSTALL_DATA} ${WRKSRC}/${docfile}.txt ${DOCSDIR}
.endfor
@ ${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}
+.endif
+.if !defined(NOPORTEXAMPLES)
@ ${MKDIR} ${EXAMPLESDIR}
@ ${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
.endif
diff --git a/devel/py-grouch/pkg-plist b/devel/py-grouch/pkg-plist
index 493ce0b4b522..bad98f011cd0 100644
--- a/devel/py-grouch/pkg-plist
+++ b/devel/py-grouch/pkg-plist
@@ -27,18 +27,18 @@ bin/gen_schema
%%PYTHON_SITELIBDIR%%/grouch/valuetype.py
%%PYTHON_SITELIBDIR%%/grouch/valuetype.pyc
%%PYTHON_SITELIBDIR%%/grouch/valuetype.pyo
-%%DOCSDIR%%/CHANGES.txt
-%%DOCSDIR%%/LICENSE.txt
-%%DOCSDIR%%/README.txt
-%%DOCSDIR%%/checking.txt
-%%DOCSDIR%%/schema.txt
-%%DOCSDIR%%/type-system.txt
-%%EXAMPLESDIR%%/animal.py
-%%EXAMPLESDIR%%/make_things
-%%EXAMPLESDIR%%/thing.py
-%%EXAMPLESDIR%%/things.proj
-@dirrm %%EXAMPLESDIR%%
-@dirrm %%DOCSDIR%%
+%%PORTDOCS%%%%DOCSDIR%%/CHANGES.txt
+%%PORTDOCS%%%%DOCSDIR%%/LICENSE.txt
+%%PORTDOCS%%%%DOCSDIR%%/README.txt
+%%PORTDOCS%%%%DOCSDIR%%/checking.txt
+%%PORTDOCS%%%%DOCSDIR%%/schema.txt
+%%PORTDOCS%%%%DOCSDIR%%/type-system.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/animal.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/make_things
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/thing.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/things.proj
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm %%PYTHON_SITELIBDIR%%/grouch
@dirrm %%PYTHON_SITELIBDIR%%
@dirrm %%PYTHON_LIBDIR%%