aboutsummaryrefslogtreecommitdiff
path: root/devel/bzapi
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2011-10-28 23:40:23 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2011-10-28 23:40:23 +0000
commit8927acaabf4601ad766c22b9fb92b41f00fa01a9 (patch)
tree6165f7431e20d86dd712ccc096a01356a85b3343 /devel/bzapi
parent7ff982c63e9a605047b9a800fb772f5befdf9da2 (diff)
downloadports-8927acaabf4601ad766c22b9fb92b41f00fa01a9.tar.gz
ports-8927acaabf4601ad766c22b9fb92b41f00fa01a9.zip
Notes
Diffstat (limited to 'devel/bzapi')
-rw-r--r--devel/bzapi/Makefile43
-rw-r--r--devel/bzapi/distinfo2
-rw-r--r--devel/bzapi/pkg-descr3
-rw-r--r--devel/bzapi/pkg-plist33
4 files changed, 81 insertions, 0 deletions
diff --git a/devel/bzapi/Makefile b/devel/bzapi/Makefile
new file mode 100644
index 000000000000..4c72232e7d60
--- /dev/null
+++ b/devel/bzapi/Makefile
@@ -0,0 +1,43 @@
+# New ports collection makefile for: bzapi
+# Date created: October 27, 2011
+# Whom: Philip M. Gollucci <pgollucci@p6m7g8.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= bzapi
+DISTVERSION= 165:82e75bdd00be
+CATEGORIES= devel
+MASTER_SITES= LOCAL/pgollucci
+
+MAINTAINER= pgollucci@FreeBSD.org
+COMMENT= Bugzilla REST API
+
+BUILD_DEPENDS= p5-Catalyst-Runtime>=5.80011:${PORTSDIR}/www/p5-Catalyst-Runtime \
+ p5-Catalyst-Plugin-ConfigLoader>=0:${PORTSDIR}/www/p5-Catalyst-Plugin-ConfigLoader \
+ p5-Catalyst-Plugin-Static-Simple>=0:${PORTSDIR}/www/p5-Catalyst-Plugin-Static-Simple \
+ p5-Catalyst-Action-RenderView>=0:${PORTSDIR}/www/p5-Catalyst-Action-RenderView \
+ p5-BZ-Client>=0:${PORTSDIR}/devel/p5-BZ-Client \
+ p5-Moose>=0:${PORTSDIR}/devel/p5-Moose \
+ p5-Catalyst-Action-REST>=0:${PORTSDIR}/www/p5-Catalyst-Action-REST \
+ p5-Catalyst-Plugin-Log-Handler>=0.08:${PORTSDIR}/www/p5-Catalyst-Plugin-Log-Handler \
+ p5-parent>=0:${PORTSDIR}/devel/p5-parent \
+ p5-Config-General>=0:${PORTSDIR}/devel/p5-Config-General \
+ p5-Catalyst-Devel>=0:${PORTSDIR}/www/p5-Catalyst-Devel \
+ p5-Module-Install>=0:${PORTSDIR}/devel/p5-Module-Install \
+ p5-Text-CSV_XS>=0:${PORTSDIR}/textproc/p5-Text-CSV_XS \
+ p5-Slurp>=0:${PORTSDIR}/devel/p5-Slurp \
+ p5-XML-Simple>=0:${PORTSDIR}/textproc/p5-XML-Simple \
+ p5-Data-Walk>=0:${PORTSDIR}/devel/p5-Data-Walk \
+ bugzilla>=3.6:${PORTSDIR}/devel/bugzilla
+RUN_DEPENDS:= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+WRKSRC= ${WRKDIR}/${PORTNAME}
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/script/*.pl ${PREFIX}/bin
+ @(cd ${WRKSRC}/extension/BzAPI; ${COPYTREE_SHARE} . ${PREFIX}/www/bugzilla/extensions/BzAPI)
+ @(cd ${WRKSRC}/lib/Bugzilla; ${COPYTREE_SHARE} . ${SITE_PERL}/Bugzilla)
+
+.include <bsd.port.mk>
diff --git a/devel/bzapi/distinfo b/devel/bzapi/distinfo
new file mode 100644
index 000000000000..68c25bd471c6
--- /dev/null
+++ b/devel/bzapi/distinfo
@@ -0,0 +1,2 @@
+SHA256 (bzapi-16582e75bdd00be.tar.gz) = 383b1f5977de94a47d97ff220c9505acd739e0a434e702e14aecc91d7bf6efc5
+SIZE (bzapi-16582e75bdd00be.tar.gz) = 813651
diff --git a/devel/bzapi/pkg-descr b/devel/bzapi/pkg-descr
new file mode 100644
index 000000000000..062fba76d108
--- /dev/null
+++ b/devel/bzapi/pkg-descr
@@ -0,0 +1,3 @@
+A JSON REST based Bugzilla API
+
+WWW: https://wiki.mozilla.org/Bugzilla:REST_API
diff --git a/devel/bzapi/pkg-plist b/devel/bzapi/pkg-plist
new file mode 100644
index 000000000000..fd36fbe919a8
--- /dev/null
+++ b/devel/bzapi/pkg-plist
@@ -0,0 +1,33 @@
+bin/bugzilla_api_cgi.pl
+bin/bugzilla_api_create.pl
+bin/bugzilla_api_fastcgi.pl
+bin/bugzilla_api_server.pl
+bin/bugzilla_api_test.pl
+%%SITE_PERL%%/Bugzilla/API.pm
+%%SITE_PERL%%/Bugzilla/API/Model/Utils.pm
+%%SITE_PERL%%/Bugzilla/API/Model/Count.pm
+%%SITE_PERL%%/Bugzilla/API/Model/Attachment.pm
+%%SITE_PERL%%/Bugzilla/API/Model/User.pm
+%%SITE_PERL%%/Bugzilla/API/Model/Configuration.pm
+%%SITE_PERL%%/Bugzilla/API/Model/Bug.pm
+%%SITE_PERL%%/Bugzilla/API/Controller/Attachment.pm
+%%SITE_PERL%%/Bugzilla/API/Controller/REST.pm
+%%SITE_PERL%%/Bugzilla/API/Controller/Configuration.pm
+%%SITE_PERL%%/Bugzilla/API/Controller/Root.pm
+%%SITE_PERL%%/Bugzilla/API/Controller/User.pm
+%%SITE_PERL%%/Bugzilla/API/Controller/Bug.pm
+%%SITE_PERL%%/Bugzilla/API/Controller/Count.pm
+%%SITE_PERL%%/Bugzilla/API/Controller/Utils.pm
+%%SITE_PERL%%/Bugzilla/API/Request.pm
+www/bugzilla/extensions/BzAPI/Extension.pm
+www/bugzilla/extensions/BzAPI/template/en/default/config.json.tmpl
+www/bugzilla/extensions/BzAPI/Config.pm
+@dirrm www/bugzilla/extensions/BzAPI/template/en/default
+@dirrm www/bugzilla/extensions/BzAPI/template/en
+@dirrm www/bugzilla/extensions/BzAPI/template
+@dirrm www/bugzilla/extensions/BzAPI
+@dirrm www/bugzilla/extensions
+@dirrm %%SITE_PERL%%/Bugzilla/API/Model
+@dirrm %%SITE_PERL%%/Bugzilla/API/Controller
+@dirrm %%SITE_PERL%%/Bugzilla/API
+@dirrm %%SITE_PERL%%/Bugzilla