pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/delegate Not MAKE_JOBS_SAFE. Add destdir support.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/88b4c56a552f
branches:  trunk
changeset: 395919:88b4c56a552f
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Jul 16 14:38:32 2009 +0000

description:
Not MAKE_JOBS_SAFE. Add destdir support.

diffstat:

 net/delegate/Makefile |  16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diffs (44 lines):

diff -r 20c9b883286e -r 88b4c56a552f net/delegate/Makefile
--- a/net/delegate/Makefile     Thu Jul 16 14:32:49 2009 +0000
+++ b/net/delegate/Makefile     Thu Jul 16 14:38:32 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.38 2009/04/30 21:07:45 zafer Exp $
+# $NetBSD: Makefile,v 1.39 2009/07/16 14:38:32 joerg Exp $
 
 DISTNAME=      delegate9.9.1
 PKGNAME=       delegate-9.9.1
@@ -10,6 +10,8 @@
 HOMEPAGE=      http://www.delegate.org/delegate/
 COMMENT=       General purpose TCP/IP proxy system
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+MAKE_JOBS_SAFE=                no
 
 .include "../../mk/bsd.prefs.mk"
 
@@ -23,20 +25,18 @@
 OWN_DIRS_PERMS+=${VARBASE}/spool/delegate/cache ${ROOT_USER} ${ROOT_GROUP} 1777
 OWN_DIRS_PERMS+=${VARBASE}/spool/delegate-nobody nobody nobody 755
 
-INSTALLATION_DIRS=     sbin
+INSTALLATION_DIRS=     sbin share/doc/delegate
 
 pre-build:
        @${ECHO} "ADMIN=${DELEGATE_MANAGER}" >> ${WRKSRC}/DELEGATE_CONF
 
 do-install:
-       ${INSTALL_PROGRAM} ${WRKSRC}/src/delegated ${PREFIX}/sbin
-       ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/delegate
+       ${INSTALL_PROGRAM} ${WRKSRC}/src/delegated ${DESTDIR}${PREFIX}/sbin
        ${INSTALL_DATA} ${WRKSRC}/doc/Manual.htm \
-          ${PREFIX}/share/doc/delegate/manual.html
-       ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/delegate
+          ${DESTDIR}${PREFIX}/share/doc/delegate/manual.html
        ${INSTALL_DATA} ${WRKSRC}/doc/tutor-en.htm \
-          ${PREFIX}/share/doc/delegate/tutorial-en.html
+          ${DESTDIR}${PREFIX}/share/doc/delegate/tutorial-en.html
        ${INSTALL_DATA} ${WRKSRC}/doc/tutor-jp.htm \
-          ${PREFIX}/share/doc/delegate/tutorial-jp.html
+          ${DESTDIR}${PREFIX}/share/doc/delegate/tutorial-jp.html
 
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index