summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/adocman/DESCR14
-rw-r--r--devel/adocman/Makefile35
-rw-r--r--devel/adocman/PLIST12
-rw-r--r--devel/adocman/distinfo4
4 files changed, 65 insertions, 0 deletions
diff --git a/devel/adocman/DESCR b/devel/adocman/DESCR
new file mode 100644
index 00000000000..d4231df55ca
--- /dev/null
+++ b/devel/adocman/DESCR
@@ -0,0 +1,14 @@
+adocman is the automation tool for SourceForge.net DocManager handling. This
+package provides two Perl-based scripts:
+
+adocman: The adocman program, providing the means to perform DocManager
+ operations from the command-line or scripts (by project developers
+ or admins listed as DocManager Editors).
+
+xml_export: The xml_export program, providing the means to automate downloads
+ of data from the XML data export facility on SourceForge.net (by
+ project administrators).
+
+It also includes the Alexandria Perl API, which lets you perform operations
+against the SourceForge.net site, currently including basic Client operations
+(i.e. login/logout) and DocManager operations.
diff --git a/devel/adocman/Makefile b/devel/adocman/Makefile
new file mode 100644
index 00000000000..8f04bddd9ce
--- /dev/null
+++ b/devel/adocman/Makefile
@@ -0,0 +1,35 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/06/05 10:14:42 jmmv Exp $
+#
+
+DISTNAME= adocman-0.10
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=sitedocs/}
+
+MAINTAINER= jmmv@netbsd.org
+HOMEPAGE= http://sitedocs.sourceforge.net/
+COMMENT= DocManager operation automation tool
+
+DEPENDS+= p5-Term-ReadKey>=2.21:../../devel/p5-Term-ReadKey
+DEPENDS+= p5-Crypt-SSLeay>=0.47:../../security/p5-SSLeay
+
+USE_BUILDLINK2= YES
+USE_PERL5= YES
+NO_BUILD= YES
+
+REPLACE_PERL= ${WRKSRC}/adocman ${WRKSRC}/xml_export
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/adocman ${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/xml_export ${PREFIX}/bin
+ ${INSTALL_SCRIPT_DIR} ${PERL5_SITEARCH}/Alexandria
+.for f in Client.pm Docman.pm
+ ${INSTALL_SCRIPT} ${WRKSRC}/Alexandria/$f ${PERL5_SITEARCH}/Alexandria
+.endfor
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/adocman
+.for f in LICENSE README TODO adocman.html xml_export.html
+ ${INSTALL_DATA} ${WRKSRC}/$f ${PREFIX}/share/doc/html/adocman
+.endfor
+.undef f
+
+.include "../../lang/perl5/buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/adocman/PLIST b/devel/adocman/PLIST
new file mode 100644
index 00000000000..d9dceb62629
--- /dev/null
+++ b/devel/adocman/PLIST
@@ -0,0 +1,12 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/06/05 10:14:43 jmmv Exp $
+bin/adocman
+bin/xml_export
+${PERL5_SITEARCH}/Alexandria/Client.pm
+${PERL5_SITEARCH}/Alexandria/Docman.pm
+share/doc/html/adocman/LICENSE
+share/doc/html/adocman/README
+share/doc/html/adocman/TODO
+share/doc/html/adocman/adocman.html
+share/doc/html/adocman/xml_export.html
+@dirrm share/doc/html/adocman
+@dirrm ${PERL5_SITEARCH}/Alexandria
diff --git a/devel/adocman/distinfo b/devel/adocman/distinfo
new file mode 100644
index 00000000000..76c074308a2
--- /dev/null
+++ b/devel/adocman/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/06/05 10:14:43 jmmv Exp $
+
+SHA1 (adocman-0.10.tar.gz) = 975a133af84e80e5f29da3033e34e844ec2d81ca
+Size (adocman-0.10.tar.gz) = 38697 bytes