aboutsummaryrefslogtreecommitdiff
path: root/net-p2p
diff options
context:
space:
mode:
authorIon-Mihai Tetcu <itetcu@FreeBSD.org>2009-04-07 20:44:57 +0000
committerIon-Mihai Tetcu <itetcu@FreeBSD.org>2009-04-07 20:44:57 +0000
commit728240acb72b30de924b21aa1c5d6b4b51bdd24d (patch)
treeea7c4ff7c6e1b25b95ae89e13829c694dd22cdd3 /net-p2p
parentc7bba1143f500d5df93a9167c78cc5fdc789c7ac (diff)
downloadports-728240acb72b30de924b21aa1c5d6b4b51bdd24d.tar.gz
ports-728240acb72b30de924b21aa1c5d6b4b51bdd24d.zip
Fix plist with -DNOPORT*.
Prompted by: QAT QA run Approved by: maintainer timeout on QATMail
Notes
Notes: svn path=/head/; revision=231811
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/py-py2play/Makefile2
-rw-r--r--net-p2p/py-py2play/pkg-plist4
2 files changed, 4 insertions, 2 deletions
diff --git a/net-p2p/py-py2play/Makefile b/net-p2p/py-py2play/Makefile
index 2cbae65bef08..8332e963d8f5 100644
--- a/net-p2p/py-py2play/Makefile
+++ b/net-p2p/py-py2play/Makefile
@@ -22,8 +22,10 @@ PYDISTUTILS_PKGNAME= Py2Play
EXAMPLESDIR= ${PREFIX}/share/examples/py-py2play
post-install:
+.ifndef NOPORTEXAMPLES
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/startdemo ${EXAMPLESDIR}
+.endif
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
diff --git a/net-p2p/py-py2play/pkg-plist b/net-p2p/py-py2play/pkg-plist
index 340963dc2948..ff0362775353 100644
--- a/net-p2p/py-py2play/pkg-plist
+++ b/net-p2p/py-py2play/pkg-plist
@@ -19,8 +19,8 @@
%%PYTHON_SITELIBDIR%%/py2play/idler.pyo
%%PYTHON_SITELIBDIR%%/py2play/level.pyo
%%PYTHON_SITELIBDIR%%/py2play/player.pyo
-%%PORTDOCS%%%%EXAMPLESDIR%%/startdemo
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/startdemo
%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm %%PYTHON_SITELIBDIR%%/py2play