diff options
author | joerg <joerg> | 2009-02-16 19:12:00 +0000 |
---|---|---|
committer | joerg <joerg> | 2009-02-16 19:12:00 +0000 |
commit | 9dcba062f6e91c443ddbf15089a6f9e7de9a09ac (patch) | |
tree | 950deea6baa27e406e7f6b0af1d43dbd2fd05113 /sysutils/service-config | |
parent | 3e9ea1de5602e22a35bbc9e8f3e8936f566793f6 (diff) | |
download | pkgsrc-9dcba062f6e91c443ddbf15089a6f9e7de9a09ac.tar.gz |
DESTDIR support
Diffstat (limited to 'sysutils/service-config')
-rw-r--r-- | sysutils/service-config/Makefile | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/sysutils/service-config/Makefile b/sysutils/service-config/Makefile index a2287886e81..3a97a25d8a6 100644 --- a/sysutils/service-config/Makefile +++ b/sysutils/service-config/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2005/03/23 00:58:26 schmonz Exp $ +# $NetBSD: Makefile,v 1.10 2009/02/16 19:12:00 joerg Exp $ # DISTNAME= service-config-0.51 @@ -9,10 +9,20 @@ MAINTAINER= zuntum@NetBSD.org HOMEPAGE= http://www.superscript.com/service-config/intro.html COMMENT= Utility to create and configure svscan service directories +PKG_DESTDIR_SUPPORT= user-destdir + DEPENDS+= daemontools-[0-9]*:../../sysutils/daemontools # Possibly inherited DJB-style distribution terms DJB_RESTRICTED= YES +INSTALLATION_DIRS= bin + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/rules-config ${DESTDIR}${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/service-config ${DESTDIR}${PREFIX}/bin + cd ${WRKSRC} && ${INSTALL_SCRIPT} ipc-config ipcx-config \ + svscan-config tcp-config tcpx-config ${DESTDIR}${PREFIX}/bin + .include "../../mk/djbware.mk" .include "../../mk/bsd.pkg.mk" |