summaryrefslogtreecommitdiff
path: root/devel/rt3
diff options
context:
space:
mode:
authorseb <seb@pkgsrc.org>2008-07-23 18:00:55 +0000
committerseb <seb@pkgsrc.org>2008-07-23 18:00:55 +0000
commit7099d21a975ee7692bfa6f7dc8e4e95b271393d5 (patch)
treef34911b079e5c6b02dbccbfac347b75fdaa224c5 /devel/rt3
parente664e9e55ee7270d454b1959e1aa9c576975eeeb (diff)
downloadpkgsrc-7099d21a975ee7692bfa6f7dc8e4e95b271393d5.tar.gz
RT's installed script PREFIX/sbin/rt-dump-database needs the Perl Module
XML::Simple. Hence add a dependency on p5-XML-Simple package. While here ensure that PREFIX/{bin,sbin} are created during install phase. Bump PKGREVISION to 4.
Diffstat (limited to 'devel/rt3')
-rw-r--r--devel/rt3/Makefile9
-rw-r--r--devel/rt3/Makefile.install4
2 files changed, 10 insertions, 3 deletions
diff --git a/devel/rt3/Makefile b/devel/rt3/Makefile
index 4bf8008cf49..5a184330da9 100644
--- a/devel/rt3/Makefile
+++ b/devel/rt3/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.32 2008/04/30 10:20:20 cube Exp $
+# $NetBSD: Makefile,v 1.33 2008/07/23 18:00:55 seb Exp $
DISTNAME= rt-3.6.6
-PKGREVISION= 3
+PKGREVISION= 4
CATEGORIES= devel
MASTER_SITES= http://download.bestpractical.com/pub/rt/release/
@@ -95,6 +95,11 @@ DEPENDS+= p5-DBD-SQLite>=1.00:../../databases/p5-DBD-SQLite
_RT_DB_TYPE= SQLite
.endif
+# "Development" dependencies:
+# XML::Simple is required by the installed script
+# PREFIX/sbin/rt-dump-database
+DEPENDS+= p5-XML-Simple-[0-9]*:../../textproc/p5-XML-Simple
+
USE_PKGLOCALEDIR= yes
GNU_CONFIGURE= yes
NO_BUILD= yes
diff --git a/devel/rt3/Makefile.install b/devel/rt3/Makefile.install
index 0c6c93a2d2b..c9c79a89774 100644
--- a/devel/rt3/Makefile.install
+++ b/devel/rt3/Makefile.install
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.install,v 1.9 2008/05/26 02:13:18 joerg Exp $
+# $NetBSD: Makefile.install,v 1.10 2008/07/23 18:00:55 seb Exp $
.include "dirs.mk"
@@ -68,11 +68,13 @@ do-install:
${INSTALL_DATA_DIR} ${RT_LIB_DIR}
cd ${WRKSRC}/lib && ${FIND} . -type f ! -name '*.orig' 2>/dev/null | pax -rw ${RT_LIB_DIR}
@${ECHO} "=> Binaries"
+ ${INSTALL_SCRIPT_DIR} ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/bin/rt-mailgate ${WRKSRC}/bin/rt-crontool \
${WRKSRC}/bin/mason_handler.fcgi ${WRKSRC}/bin/mason_handler.scgi \
${WRKSRC}/bin/standalone_httpd ${WRKSRC}/bin/mason_handler.svc \
${WRKSRC}/bin/rt ${WRKSRC}/bin/webmux.pl \
${PREFIX}/bin
+ ${INSTALL_SCRIPT_DIR} ${PREFIX}/sbin
${INSTALL_SCRIPT} ${WRKSRC}/sbin/rt-dump-database \
${WRKSRC}/sbin/rt-setup-database \
${WRKSRC}/sbin/rt-test-dependencies ${PREFIX}/sbin