pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/rt3 RT's installed script PREFIX/sbin/rt-dump-da...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f41dd3f1140a
branches:  trunk
changeset: 544970:f41dd3f1140a
user:      seb <seb%pkgsrc.org@localhost>
date:      Wed Jul 23 18:00:55 2008 +0000

description:
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:

 devel/rt3/Makefile         |  9 +++++++--
 devel/rt3/Makefile.install |  4 +++-
 2 files changed, 10 insertions(+), 3 deletions(-)

diffs (48 lines):

diff -r 0d0386077a82 -r f41dd3f1140a devel/rt3/Makefile
--- a/devel/rt3/Makefile        Wed Jul 23 16:17:51 2008 +0000
+++ b/devel/rt3/Makefile        Wed Jul 23 18:00:55 2008 +0000
@@ -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 @@
 _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 -r 0d0386077a82 -r f41dd3f1140a devel/rt3/Makefile.install
--- a/devel/rt3/Makefile.install        Wed Jul 23 16:17:51 2008 +0000
+++ b/devel/rt3/Makefile.install        Wed Jul 23 18:00:55 2008 +0000
@@ -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 @@
        ${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



Home | Main Index | Thread Index | Old Index