summaryrefslogtreecommitdiff
path: root/net/delegate
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-07-16 14:38:32 +0000
committerjoerg <joerg@pkgsrc.org>2009-07-16 14:38:32 +0000
commit6c51018a12b283f47186bb43664339a4dfda41a9 (patch)
tree71067ecb136a7e26e74b35ad26580998c78934a2 /net/delegate
parent0f16aea9bb57c1590ac3dc6f1082ed4c2beeeb9e (diff)
downloadpkgsrc-6c51018a12b283f47186bb43664339a4dfda41a9.tar.gz
Not MAKE_JOBS_SAFE. Add destdir support.
Diffstat (limited to 'net/delegate')
-rw-r--r--net/delegate/Makefile16
1 files changed, 8 insertions, 8 deletions
diff --git a/net/delegate/Makefile b/net/delegate/Makefile
index d172b6b7ea2..170e21d8d5e 100644
--- a/net/delegate/Makefile
+++ b/net/delegate/Makefile
@@ -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 @@ MAINTAINER= pkgsrc-users@NetBSD.org
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 @@ FILES_SUBST+= ADMIN=${DELEGATE_MANAGER:Q}
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"