aboutsummaryrefslogtreecommitdiff
path: root/security/ruby-gpgme
diff options
context:
space:
mode:
authorStanislav Sedov <stas@FreeBSD.org>2009-02-15 14:19:31 +0000
committerStanislav Sedov <stas@FreeBSD.org>2009-02-15 14:19:31 +0000
commit62e183d1db6027674be87088cd4afa2409fc3e6d (patch)
treec48300367e9700813aed10d7a247af9afec1ab20 /security/ruby-gpgme
parent9a7cc5470fb2083a618c9851fea8d74d289af569 (diff)
downloadports-62e183d1db6027674be87088cd4afa2409fc3e6d.tar.gz
ports-62e183d1db6027674be87088cd4afa2409fc3e6d.zip
Notes
Diffstat (limited to 'security/ruby-gpgme')
-rw-r--r--security/ruby-gpgme/Makefile13
-rw-r--r--security/ruby-gpgme/pkg-plist66
2 files changed, 9 insertions, 70 deletions
diff --git a/security/ruby-gpgme/Makefile b/security/ruby-gpgme/Makefile
index 7765cc51acfc..cb67e3928a73 100644
--- a/security/ruby-gpgme/Makefile
+++ b/security/ruby-gpgme/Makefile
@@ -14,7 +14,7 @@ PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
DIST_SUBDIR= ruby
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= ruby@FreeBSD.org
COMMENT= A Ruby interface to GnuPG Made Easy (GPGME)
LIB_DEPENDS= gpgme03.9:${PORTSDIR}/security/gpgme03
@@ -36,13 +36,18 @@ post-build:
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_MODDOCDIR}
-.for f in ${DOCS}
- ${CP} -R ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
-.endfor
+ @(cd ${WRKSRC}/ && ${COPYTREE_SHARE} ${DOCS} ${RUBY_MODDOCDIR}/)
+
${MKDIR} ${RUBY_MODEXAMPLESDIR}
.for f in ${EXAMPLES}
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODEXAMPLESDIR}/
.endfor
+ @${FIND} -ds ${RUBY_MODDOCDIR} -type f -print | ${SED} -E -e \
+ 's,^${PREFIX}/?,,' >> ${TMPPLIST}
+ @${FIND} -ds ${RUBY_MODDOCDIR} -type d -print | ${SED} -E -e \
+ 's,^${PREFIX}/?,@dirrm ,' >> ${TMPPLIST}
+ @${ECHO_CMD} "@unexec rmdir %D/share/doc/ruby18/ 2>/dev/null || true" \
+ >> ${TMPPLIST}
.endif
.include <bsd.port.mk>
diff --git a/security/ruby-gpgme/pkg-plist b/security/ruby-gpgme/pkg-plist
index 6aea7ae1d766..42d904200662 100644
--- a/security/ruby-gpgme/pkg-plist
+++ b/security/ruby-gpgme/pkg-plist
@@ -5,69 +5,3 @@
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/roundtrip.rb
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sign.rb
%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/GPGME.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/GPGME.src/M000001.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/GPGME/GpgmeCtx.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/GPGME/GpgmeCtx.src/M000010.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/GPGME/GpgmeCtx.src/M000011.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/GPGME/GpgmeCtx.src/M000012.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/GPGME/GpgmeCtx.src/M000013.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/GPGME/GpgmeCtx.src/M000014.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/GPGME/GpgmeCtx.src/M000015.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/GPGME/GpgmeCtx.src/M000016.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/GPGME/GpgmeCtx.src/M000017.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/GPGME/GpgmeCtx.src/M000018.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/GPGME/GpgmeCtx.src/M000019.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/GPGME/GpgmeCtx.src/M000020.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/GPGME/GpgmeCtx.src/M000021.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/GPGME/GpgmeCtx.src/M000022.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/GPGME/GpgmeCtx.src/M000023.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/GPGME/GpgmeCtx.src/M000024.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/GPGME/GpgmeCtx.src/M000025.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/GPGME/GpgmeCtx.src/M000026.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/GPGME/GpgmeCtx.src/M000027.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/GPGME/GpgmeCtx.src/M000028.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/GPGME/GpgmeCtx.src/M000029.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/GPGME/GpgmeCtx.src/M000030.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/GPGME/GpgmeCtx.src/M000031.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/GPGME/GpgmeCtx.src/M000032.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/GPGME/GpgmeCtx.src/M000033.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/GPGME/GpgmeCtx.src/M000034.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/GPGME/GpgmeData.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/GPGME/GpgmeData.src/M000002.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/GPGME/GpgmeData.src/M000003.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/GPGME/GpgmeData.src/M000004.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/GPGME/GpgmeData.src/M000005.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/GPGME/GpgmeData.src/M000006.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/GPGME/GpgmeData.src/M000007.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/GPGME/GpgmeData.src/M000008.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/GPGME/GpgmeData.src/M000009.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/GPGME/GpgmeError.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/GPGME/GpgmeError.src/M000035.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/GPGME/GpgmeError.src/M000036.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/GPGME/GpgmeKey.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/GPGME/GpgmeKey.src/M000040.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/GPGME/GpgmeKey.src/M000041.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/GPGME/GpgmeRecipients.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/GPGME/GpgmeRecipients.src/M000037.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/GPGME/GpgmeRecipients.src/M000038.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/GPGME/GpgmeRecipients.src/M000039.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/created.rid
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/files/lib/gpgme_rb.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/fr_class_index.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/fr_file_index.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/fr_method_index.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/index.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/rdoc-style.css
-%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/doc/files/lib
-%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/doc/files
-%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/doc/classes/GPGME/GpgmeRecipients.src
-%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/doc/classes/GPGME/GpgmeKey.src
-%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/doc/classes/GPGME/GpgmeError.src
-%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/doc/classes/GPGME/GpgmeData.src
-%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/doc/classes/GPGME/GpgmeCtx.src
-%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/doc/classes/GPGME.src
-%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/doc/classes/GPGME
-%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/doc/classes
-%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/doc
-%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%