summaryrefslogtreecommitdiff
path: root/devel/RTx-Shredder/Makefile
diff options
context:
space:
mode:
authorcube <cube@pkgsrc.org>2006-05-01 09:42:13 +0000
committercube <cube@pkgsrc.org>2006-05-01 09:42:13 +0000
commitf5a6a5b9877612bfbfa49af4d2efbffeee9d5dcd (patch)
treed1c8a71bf6ef619e3c23538ca0ba0fefdd9375e6 /devel/RTx-Shredder/Makefile
parent3349ef7efd3895e2b1e1bee85b78daa351be1b9a (diff)
downloadpkgsrc-f5a6a5b9877612bfbfa49af4d2efbffeee9d5dcd.tar.gz
Initial import of RTx::Shredder (as RTx-Shredder), version 0.03, into the
NetBSD Packages Collection. RTx::Shredder allows a RT administrator to safely remove data from the database by providing an API in the form of a PERL module and a Web interface as well as a command-line interface to use it. Tickets, attachments, users and transactions can be deleted with it.
Diffstat (limited to 'devel/RTx-Shredder/Makefile')
-rw-r--r--devel/RTx-Shredder/Makefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/devel/RTx-Shredder/Makefile b/devel/RTx-Shredder/Makefile
new file mode 100644
index 00000000000..c59c08d51c0
--- /dev/null
+++ b/devel/RTx-Shredder/Makefile
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/05/01 09:42:13 cube Exp $
+#
+
+DISTNAME= RTx-Shredder-0.03
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=RTx/}
+
+MAINTAINER= cube@NetBSD.org
+HOMEPAGE= http://search.cpan.org/~ruz/RTx-Shredder/
+COMMENT= Utility to clean a RT database
+
+DEPENDS+= rt>=3.4.5:../../devel/rt3
+BUILD_DEPENDS+= p5-Test-Deep-[0-9]*:../../devel/p5-Test-Deep
+BUILD_DEPENDS+= p5-DBD-SQLite-[0-9]*:../../databases/p5-DBD-SQLite
+
+.include "../../devel/rt3/dirs.mk"
+
+OWN_DIRS_PERMS+= ${RT_VAR_DIR}/data/RTx-Shredder ${APACHE_USER} ${APACHE_GROUP} 0770
+PLIST_SUBST+= RT_SHARE_DIR=share/rt3
+
+SUBST_CLASSES+= etcpath
+SUBST_FILES.etcpath= t/utils.pl
+SUBST_SED.etcpath= -e 's,\$$RT::EtcPath,"${RT_SHARE_DIR}/etc",'
+SUBST_STAGE.etcpath= post-patch
+
+PERL5_PACKLIST= auto/RTx/Shredder/.packlist
+
+REPLACE_PERL+= sbin/rtx-shredder sbin/rtx-validator
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"