diff options
author | joerg <joerg> | 2009-02-16 19:12:00 +0000 |
---|---|---|
committer | joerg <joerg> | 2009-02-16 19:12:00 +0000 |
commit | 1b0bdaa419ad399418a42e97a66bf87d8d554612 (patch) | |
tree | 950deea6baa27e406e7f6b0af1d43dbd2fd05113 /sysutils | |
parent | 7e19aed3dbbacb2bfefc2b9c68afe09da77123e9 (diff) | |
download | pkgsrc-1b0bdaa419ad399418a42e97a66bf87d8d554612.tar.gz |
DESTDIR support
Diffstat (limited to 'sysutils')
-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" |