pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/p5-RT-Extension-ArticleTemplates



Module Name:    pkgsrc
Committed By:   spz
Date:           Tue May  5 09:04:46 UTC 2020

Added Files:
        pkgsrc/devel/p5-RT-Extension-ArticleTemplates: DESCR Makefile PLIST
            distinfo

Log Message:
An extension for RT4 that makes RT parse the content of Articles as
a template, when inserting the article into a ticket, using the
Text::Template module; this can be used to make your Articles dynamic.
Text::Template is the same module that RT's Templates use as well.
You need this extension to be able to generate form responses that
contain fields from the ticket.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/p5-RT-Extension-ArticleTemplates/DESCR \
    pkgsrc/devel/p5-RT-Extension-ArticleTemplates/Makefile \
    pkgsrc/devel/p5-RT-Extension-ArticleTemplates/PLIST \
    pkgsrc/devel/p5-RT-Extension-ArticleTemplates/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/devel/p5-RT-Extension-ArticleTemplates/DESCR
diff -u /dev/null pkgsrc/devel/p5-RT-Extension-ArticleTemplates/DESCR:1.1
--- /dev/null   Tue May  5 09:04:46 2020
+++ pkgsrc/devel/p5-RT-Extension-ArticleTemplates/DESCR Tue May  5 09:04:45 2020
@@ -0,0 +1,6 @@
+An extension for RT4 that makes RT parse the content of Articles as
+a template, when inserting the article into a ticket, using the
+Text::Template module; this can be used to make your Articles dynamic.
+Text::Template is the same module that RT's Templates use as well.
+You need this extension to be able to generate form responses that
+contain fields from the ticket.
Index: pkgsrc/devel/p5-RT-Extension-ArticleTemplates/Makefile
diff -u /dev/null pkgsrc/devel/p5-RT-Extension-ArticleTemplates/Makefile:1.1
--- /dev/null   Tue May  5 09:04:46 2020
+++ pkgsrc/devel/p5-RT-Extension-ArticleTemplates/Makefile      Tue May  5 09:04:45 2020
@@ -0,0 +1,38 @@
+# $NetBSD: Makefile,v 1.1 2020/05/05 09:04:45 spz Exp $
+
+DISTNAME=      RT-Extension-ArticleTemplates-1.02
+PKGNAME=       p5-${DISTNAME}
+CATEGORIES=    devel perl5
+MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=../../authors/id/B/BP/BPS/}
+
+MAINTAINER=    spz%NetBSD.org@localhost
+HOMEPAGE=      https://metacpan.org/pod/RT::Extension::ArticleTemplates
+COMMENT=       Perl extension for RT
+LICENSE=       gnu-gpl-v2
+
+PERL5_MODULE_TYPE=     Module::Install
+
+BUILD_DEPENDS+= p5-Module-Install-RTx>=0.40:../../devel/p5-Module-Install-RTx
+BUILD_DEPENDS+= p5-Module-Install-ReadmeFromPod>=0.30:../../devel/p5-Module-Install-ReadmeFromPod
+
+USE_TOOLS=     perl
+
+MAKE_ENV+=     RTHOME="${PREFIX}/share/rt4/"
+MAKE_ENV+=     INSTALLDIRS="vendor"
+MAKE_ENV+=     DESTDIR=${DESTDIR}
+
+DEPENDS+=      rt4-[0-9]*:../../devel/rt4
+
+.include "../../devel/rt4/dirs.mk"
+
+PERL5_API=     ${PERL5_API_cmd:sh}
+PERL5_API_cmd= ${TOOLS_CMD.perl} -e 'use Config; print $$Config{api_versionstring};'
+
+PERL5_ARCH=    ${PERL5_ARCH_cmd:sh}
+PERL5_ARCH_cmd=        ${TOOLS_CMD.perl} -e 'use Config; print $$Config{archname};'
+
+PERL5_PACKLIST_DIR=    ${PREFIX}/share/rt4/plugins/${PERL5_API}/${PERL5_ARCH}
+PERL5_PACKLIST=                auto/RT/Extension/ArticleTemplates/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/p5-RT-Extension-ArticleTemplates/PLIST
diff -u /dev/null pkgsrc/devel/p5-RT-Extension-ArticleTemplates/PLIST:1.1
--- /dev/null   Tue May  5 09:04:46 2020
+++ pkgsrc/devel/p5-RT-Extension-ArticleTemplates/PLIST Tue May  5 09:04:45 2020
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1 2020/05/05 09:04:45 spz Exp $
+@comment the files not in .packlist
+share/rt4/plugins/RT-Extension-ArticleTemplates/lib/perllocal.pod
+share/rt4/plugins/RT-Extension-ArticleTemplates/html/Callbacks/RT-Extension-ArticleTemplates/Articles/Article/Elements/Preformatted/ProcessContent
+share/rt4/plugins/RT-Extension-ArticleTemplates/html/Callbacks/RT-Extension-ArticleTemplates/Articles/Elements/SubjectOverride/ProcessContent
+share/rt4/plugins/RT-Extension-ArticleTemplates/html/Callbacks/RT-Extension-ArticleTemplates/Elements/SubjectOverride/ProcessContent
+share/rt4/plugins/RT-Extension-ArticleTemplates/html/Elements/RT-Extension-ArticleTemplates/ProcessContent
Index: pkgsrc/devel/p5-RT-Extension-ArticleTemplates/distinfo
diff -u /dev/null pkgsrc/devel/p5-RT-Extension-ArticleTemplates/distinfo:1.1
--- /dev/null   Tue May  5 09:04:46 2020
+++ pkgsrc/devel/p5-RT-Extension-ArticleTemplates/distinfo      Tue May  5 09:04:45 2020
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/05/05 09:04:45 spz Exp $
+
+SHA1 (RT-Extension-ArticleTemplates-1.02.tar.gz) = 20e4c62d13eca7af0bbdf264b536542d07e7ea1d
+RMD160 (RT-Extension-ArticleTemplates-1.02.tar.gz) = 82d87e3c349ac92117b8306fec07db5dd431c828
+SHA512 (RT-Extension-ArticleTemplates-1.02.tar.gz) = 53a8ddbc54ae8509a20ffeb4879feed2084b127a70e603449b9137f67aae7df42f724f0672a5b008c2703172682c135bd5dabfcd72424e39e2a604b7140f3d5e
+Size (RT-Extension-ArticleTemplates-1.02.tar.gz) = 43366 bytes



Home | Main Index | Thread Index | Old Index