pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils DESTDIR support
details: https://anonhg.NetBSD.org/pkgsrc/rev/f04265f33da5
branches: trunk
changeset: 571443:f04265f33da5
user: joerg <joerg%pkgsrc.org@localhost>
date: Fri Feb 12 14:16:57 2010 +0000
description:
DESTDIR support
diffstat:
sysutils/boxbackup-client/Makefile | 13 +++++++++++--
sysutils/boxbackup-server/Makefile | 13 +++++++++++--
2 files changed, 22 insertions(+), 4 deletions(-)
diffs (68 lines):
diff -r ae985bb6b1b2 -r f04265f33da5 sysutils/boxbackup-client/Makefile
--- a/sysutils/boxbackup-client/Makefile Fri Feb 12 13:45:54 2010 +0000
+++ b/sysutils/boxbackup-client/Makefile Fri Feb 12 14:16:57 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2010/01/17 12:02:45 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2010/02/12 14:16:57 joerg Exp $
#
DISTNAME= boxbackup-0.10
@@ -12,6 +12,8 @@
HOMEPAGE= http://www.boxbackup.org/
COMMENT= Backup tool
+PKG_DESTDIR_SUPPORT= user-destdir
+
MAKE_JOBS_SAFE= no
GNU_CONFIGURE= yes
@@ -20,7 +22,14 @@
REPLACE_PERL+= bin/bbackupd/bbackupd-config
-INSTALL_TARGET= install-backup-client
+INSTALLATION_DIRS+= bin
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/parcels/boxbackup*-backup-client-*/bbackupctl ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/parcels/boxbackup*-backup-client-*/bbackupd ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/parcels/boxbackup*-backup-client-*/bbackupd-config ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/parcels/boxbackup*-backup-client-*/bbackupquery ${DESTDIR}${PREFIX}/bin
+
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff -r ae985bb6b1b2 -r f04265f33da5 sysutils/boxbackup-server/Makefile
--- a/sysutils/boxbackup-server/Makefile Fri Feb 12 13:45:54 2010 +0000
+++ b/sysutils/boxbackup-server/Makefile Fri Feb 12 14:16:57 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2010/01/17 12:02:45 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2010/02/12 14:16:57 joerg Exp $
#
DISTNAME= boxbackup-0.10
@@ -12,6 +12,8 @@
HOMEPAGE= http://www.boxbackup.org/
COMMENT= Backup tool
+PKG_DESTDIR_SUPPORT= user-destdir
+
MAKE_JOBS_SAFE= no
GNU_CONFIGURE= yes
@@ -21,7 +23,14 @@
REPLACE_PERL+= bin/bbstored/bbstored-certs bin/bbstored/bbstored-config
REPLACE_PERL+= lib/raidfile/raidfile-config
-INSTALL_TARGET= install-backup-server
+INSTALLATION_DIRS+= bin
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/parcels/boxbackup*-backup-server-*/bbstoreaccounts ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/parcels/boxbackup*-backup-server-*/bbstored ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/parcels/boxbackup*-backup-server-*/bbstored-certs ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/parcels/boxbackup*-backup-server-*/bbstored-config ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/parcels/boxbackup*-backup-server-*/raidfile-config ${DESTDIR}${PREFIX}/bin
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index