aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorstas <stas@FreeBSD.org>2009-02-15 22:19:31 +0800
committerstas <stas@FreeBSD.org>2009-02-15 22:19:31 +0800
commitb411cf1d171311d13e4a6e43efc9fc8971fc8371 (patch)
tree173b4b48b481108e2b56c764c6be19d61e3341a9 /security
parent4233ba3748a91ed9b0e0e0b6fd96cb8e2a1d3dc9 (diff)
downloadfreebsd-ports-gnome-b411cf1d171311d13e4a6e43efc9fc8971fc8371.tar.gz
freebsd-ports-gnome-b411cf1d171311d13e4a6e43efc9fc8971fc8371.tar.zst
freebsd-ports-gnome-b411cf1d171311d13e4a6e43efc9fc8971fc8371.zip
- Fix pkg-plist.
- Ensure correct permissions on installed files. - Set maintainer to ruby@.
Diffstat (limited to 'security')
-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%%