summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorLi-Wen Hsu <lwhsu@FreeBSD.org>2007-06-22 12:13:06 +0000
committerLi-Wen Hsu <lwhsu@FreeBSD.org>2007-06-22 12:13:06 +0000
commit301874bab2322566118cdbc65807ec72a198f300 (patch)
treedc87ca4819001a15699ee00e337b163fc758bbef /security
parent- Update to 5.0.62 (diff)
- Respect NOPORTEXAMPLES
Notes
Notes: svn path=/head/; revision=194069
Diffstat (limited to 'security')
-rw-r--r--security/py-gnutls/Makefile2
-rw-r--r--security/py-gnutls/pkg-plist42
2 files changed, 23 insertions, 21 deletions
diff --git a/security/py-gnutls/Makefile b/security/py-gnutls/Makefile
index 66dd0e79f663..80a21f689bf5 100644
--- a/security/py-gnutls/Makefile
+++ b/security/py-gnutls/Makefile
@@ -28,9 +28,11 @@ post-patch:
${FIND} ${WRKSRC}/gnutls/library -type f | ${XARGS} ${REINPLACE_CMD} -e 's/libgnutls.so.13/libgnutls.so.15/g'
${FIND} ${WRKSRC}/gnutls/library -type f | ${XARGS} ${REINPLACE_CMD} -e 's/libgnutls-extra.so.13/libgnutls-extra.so.15/g'
+.if !defined(NOPORTEXAMPLES)
post-install:
@${MKDIR} ${EXAMPLESDIR}
${CP} -R ${WRKSRC}/examples/ ${EXAMPLESDIR}
+.endif
.include <bsd.port.pre.mk>
diff --git a/security/py-gnutls/pkg-plist b/security/py-gnutls/pkg-plist
index c01d21d11c52..a551c233354c 100644
--- a/security/py-gnutls/pkg-plist
+++ b/security/py-gnutls/pkg-plist
@@ -42,24 +42,24 @@
@dirrm %%PYTHON_SITELIBDIR%%/gnutls/interfaces/twisted
@dirrm %%PYTHON_SITELIBDIR%%/gnutls/interfaces
@dirrm %%PYTHON_SITELIBDIR%%/gnutls
-%%EXAMPLESDIR%%/README
-%%EXAMPLESDIR%%/c.py
-%%EXAMPLESDIR%%/certs/ca.pem
-%%EXAMPLESDIR%%/certs/crl.pem
-%%EXAMPLESDIR%%/certs/revoked.crt
-%%EXAMPLESDIR%%/certs/revoked.key
-%%EXAMPLESDIR%%/certs/valid.crt
-%%EXAMPLESDIR%%/certs/valid.key
-%%EXAMPLESDIR%%/client.py
-%%EXAMPLESDIR%%/crypto.py
-%%EXAMPLESDIR%%/osc.py
-%%EXAMPLESDIR%%/oss.py
-%%EXAMPLESDIR%%/s.py
-%%EXAMPLESDIR%%/server.py
-%%EXAMPLESDIR%%/tc.py
-%%EXAMPLESDIR%%/ts.py
-%%EXAMPLESDIR%%/tso.py
-%%EXAMPLESDIR%%/twisted-client.py
-%%EXAMPLESDIR%%/twisted-server.py
-@dirrm %%EXAMPLESDIR%%/certs
-@dirrm %%EXAMPLESDIR%%
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/README
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/certs/ca.pem
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/certs/crl.pem
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/certs/revoked.crt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/certs/revoked.key
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/certs/valid.crt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/certs/valid.key
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/client.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/crypto.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/osc.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/oss.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/s.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/server.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tc.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ts.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tso.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/twisted-client.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/twisted-server.py
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/certs
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%