aboutsummaryrefslogtreecommitdiff
path: root/security/ruby-gpgme
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2003-09-29 08:51:03 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2003-09-29 08:51:03 +0000
commit683993200f79a8bfcb1a4702d2b69fca821695a5 (patch)
tree52204bcb29121e0b8266781e27a1a7df04ca1fbd /security/ruby-gpgme
parentb1b1eebf33a2a9bad79ccf7e0bb6f48dc28bab8f (diff)
downloadports-683993200f79a8bfcb1a4702d2b69fca821695a5.tar.gz
ports-683993200f79a8bfcb1a4702d2b69fca821695a5.zip
Notes
Diffstat (limited to 'security/ruby-gpgme')
-rw-r--r--security/ruby-gpgme/Makefile59
-rw-r--r--security/ruby-gpgme/distinfo2
-rw-r--r--security/ruby-gpgme/pkg-descr12
-rw-r--r--security/ruby-gpgme/pkg-plist73
4 files changed, 146 insertions, 0 deletions
diff --git a/security/ruby-gpgme/Makefile b/security/ruby-gpgme/Makefile
new file mode 100644
index 000000000000..1a2ae84ec493
--- /dev/null
+++ b/security/ruby-gpgme/Makefile
@@ -0,0 +1,59 @@
+# New ports collection makefile for: Ruby-GPGME
+# Date created: 29 September 2003
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gpgme
+PORTVERSION= 0.1
+CATEGORIES= security ruby
+MASTER_SITES= http://deisui.org/~ueno/ruby/ruby-gpgme/
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
+ ${PATCH_RUBY16}
+DIST_SUBDIR= ruby
+EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
+
+MAINTAINER= knu@FreeBSD.org
+COMMENT= A Ruby interface to GnuPG Made Easy (GPGME)
+
+LIB_DEPENDS= gpgme.9:${PORTSDIR}/security/gpgme
+
+USE_RUBY= yes
+USE_RUBY_EXTCONF= yes
+USE_RUBY_RDOC= yes
+
+PATCH_RUBY16= ${DISTNAME}-1.6.diff
+
+INSTALL_TARGET= site-install
+
+DOCS= doc
+EXAMPLES= examples/*
+
+.include <bsd.port.pre.mk>
+
+pre-patch:
+.if ${RUBY_VER} == 1.6
+ cd ${PATCH_WRKSRC}; ${PATCH} < ${DISTDIR}/${DIST_SUBDIR}/${PATCH_RUBY16}
+.endif
+
+post-build:
+.if !defined(NOPORTDOCS)
+ cd ${BUILD_WRKSRC}; ${RUBY_RDOC} lib
+.endif
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${RUBY_MODDOCDIR}
+.for f in ${DOCS}
+ ${CP} -R ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
+.endfor
+ ${MKDIR} ${RUBY_MODEXAMPLESDIR}
+.for f in ${EXAMPLES}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODEXAMPLESDIR}/
+.endfor
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/security/ruby-gpgme/distinfo b/security/ruby-gpgme/distinfo
new file mode 100644
index 000000000000..1a2d0dfebd03
--- /dev/null
+++ b/security/ruby-gpgme/distinfo
@@ -0,0 +1,2 @@
+MD5 (ruby/ruby-gpgme-0.1.tar.gz) = 9412c7ba0e262cfe142315cf271a0b9b
+MD5 (ruby/ruby-gpgme-0.1-1.6.diff) = 8c459103d9157b64f8ad6c2858313b13
diff --git a/security/ruby-gpgme/pkg-descr b/security/ruby-gpgme/pkg-descr
new file mode 100644
index 000000000000..9936d07af44c
--- /dev/null
+++ b/security/ruby-gpgme/pkg-descr
@@ -0,0 +1,12 @@
+Ruby-GPGME is a ruby interface to GnuPG Made Easy (GPGME).
+
+- Provides high-level and low-level API.
+
+- The low-level API allows direct access to about 94% of C functions
+ provided by GPGME.
+
+- The high-level API provides a convenient class-based interface to
+ frequently used GPGME functions.
+
+WWW: http://deisui.org/~ueno/ruby/ruby-gpgme/index.html.en
+Author: Daiki Ueno
diff --git a/security/ruby-gpgme/pkg-plist b/security/ruby-gpgme/pkg-plist
new file mode 100644
index 000000000000..06a8feac082e
--- /dev/null
+++ b/security/ruby-gpgme/pkg-plist
@@ -0,0 +1,73 @@
+%%RUBY_SITEARCHLIBDIR%%/gpgme_n.so
+%%RUBY_SITELIBDIR%%/gpgme.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/keylist.rb
+%%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/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/GpgmeCtx.src/M000035.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/GpgmeData.src/M000010.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/GPGME/GpgmeError.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/GPGME/GpgmeError.src/M000036.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/GPGME/GpgmeError.src/M000037.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/GPGME/GpgmeKey.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/GPGME/GpgmeKey.src/M000041.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/GPGME/GpgmeKey.src/M000042.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/GPGME/GpgmeRecipients.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/classes/GPGME/GpgmeRecipients.src/M000040.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%%