diff options
author | novel <novel@FreeBSD.org> | 2012-04-10 19:06:28 +0800 |
---|---|---|
committer | novel <novel@FreeBSD.org> | 2012-04-10 19:06:28 +0800 |
commit | e4137d7b66b556546499047131f7d0090c32325d (patch) | |
tree | 94916d694706c3e3d556ce8d5c8101f1b62aa5df /security/gnutls | |
parent | 813567b6ac1c194cfb26be54d1f215df3e09cbd2 (diff) | |
download | freebsd-ports-gnome-e4137d7b66b556546499047131f7d0090c32325d.tar.gz freebsd-ports-gnome-e4137d7b66b556546499047131f7d0090c32325d.tar.zst freebsd-ports-gnome-e4137d7b66b556546499047131f7d0090c32325d.zip |
Respect NOPORTEXAMPLES.
PR: 166693
Submitted by: scheidell, crees
Diffstat (limited to 'security/gnutls')
-rw-r--r-- | security/gnutls/Makefile | 9 | ||||
-rw-r--r-- | security/gnutls/pkg-plist | 21 |
2 files changed, 5 insertions, 25 deletions
diff --git a/security/gnutls/Makefile b/security/gnutls/Makefile index 549697bfe070..e84ca30e8813 100644 --- a/security/gnutls/Makefile +++ b/security/gnutls/Makefile @@ -64,14 +64,15 @@ USE_GETTEXT= yes PLIST_SUB+= NLS="" .endif -.if !defined(NOPORTDOCS) PORTDOCS= AUTHORS NEWS README THANKS -.endif -EXAMPLES= doc/examples/*.c +PORTEXAMPLES= *.c post-install: +.if !defined (NOPORTEXAMPLES) @${MKDIR} ${EXAMPLESDIR} - cd ${WRKSRC} && ${INSTALL_DATA} ${EXAMPLES} ${EXAMPLESDIR} + cd ${WRKSRC} && ${INSTALL_DATA} ${PORTEXAMPLES:C,^,doc/examples/,} \ + ${EXAMPLESDIR} +.endif .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} .for i in ${PORTDOCS} diff --git a/security/gnutls/pkg-plist b/security/gnutls/pkg-plist index 867ad26992f0..fec6d57b3753 100644 --- a/security/gnutls/pkg-plist +++ b/security/gnutls/pkg-plist @@ -48,26 +48,6 @@ lib/libgnutls.so lib/libgnutls.so.47 libdata/pkgconfig/gnutls-extra.pc libdata/pkgconfig/gnutls.pc -%%EXAMPLESDIR%%/ex-alert.c -%%EXAMPLESDIR%%/ex-cert-select-pkcs11.c -%%EXAMPLESDIR%%/ex-cert-select.c -%%EXAMPLESDIR%%/ex-client-psk.c -%%EXAMPLESDIR%%/ex-client-resume.c -%%EXAMPLESDIR%%/ex-client-srp.c -%%EXAMPLESDIR%%/ex-client1.c -%%EXAMPLESDIR%%/ex-client2.c -%%EXAMPLESDIR%%/ex-crq.c -%%EXAMPLESDIR%%/ex-pkcs12.c -%%EXAMPLESDIR%%/ex-rfc2818.c -%%EXAMPLESDIR%%/ex-serv-anon.c -%%EXAMPLESDIR%%/ex-serv-pgp.c -%%EXAMPLESDIR%%/ex-serv-psk.c -%%EXAMPLESDIR%%/ex-serv-srp.c -%%EXAMPLESDIR%%/ex-serv1.c -%%EXAMPLESDIR%%/ex-session-info.c -%%EXAMPLESDIR%%/ex-verify.c -%%EXAMPLESDIR%%/ex-x509-info.c -%%EXAMPLESDIR%%/tcp.c %%NLS%%share/locale/cs/LC_MESSAGES/libgnutls.mo %%NLS%%share/locale/de/LC_MESSAGES/libgnutls.mo %%NLS%%share/locale/en@boldquot/LC_MESSAGES/libgnutls.mo @@ -80,5 +60,4 @@ libdata/pkgconfig/gnutls.pc %%NLS%%share/locale/sv/LC_MESSAGES/libgnutls.mo %%NLS%%share/locale/vi/LC_MESSAGES/libgnutls.mo %%NLS%%share/locale/zh_CN/LC_MESSAGES/libgnutls.mo -@dirrm %%EXAMPLESDIR%% @dirrm include/gnutls |