aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorlwhsu <lwhsu@FreeBSD.org>2007-06-22 20:13:06 +0800
committerlwhsu <lwhsu@FreeBSD.org>2007-06-22 20:13:06 +0800
commit8a166b550a9ca637598a62ace55f154ed01b1997 (patch)
tree044ee78ebcba944f4cda6b335cd859ee77ecf176 /security
parent2e375ce8a4967fadf6621f3497069599c0745771 (diff)
downloadfreebsd-ports-gnome-8a166b550a9ca637598a62ace55f154ed01b1997.tar.gz
freebsd-ports-gnome-8a166b550a9ca637598a62ace55f154ed01b1997.tar.zst
freebsd-ports-gnome-8a166b550a9ca637598a62ace55f154ed01b1997.zip
- Respect NOPORTEXAMPLES
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%%