diff options
author | joerg <joerg> | 2009-02-16 18:44:40 +0000 |
---|---|---|
committer | joerg <joerg> | 2009-02-16 18:44:40 +0000 |
commit | 5ecdd0ff49a8ea8c653721fa4b673aa4ccf83482 (patch) | |
tree | fc7342abe7027bb3bf3435d8dbc8cfe8cd7419ab /sysutils/safetynet | |
parent | 0b9b56e3e5a46dcd1ba01be0c9db8260f9b10623 (diff) | |
download | pkgsrc-5ecdd0ff49a8ea8c653721fa4b673aa4ccf83482.tar.gz |
DESTDIR support
Diffstat (limited to 'sysutils/safetynet')
-rw-r--r-- | sysutils/safetynet/Makefile | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/sysutils/safetynet/Makefile b/sysutils/safetynet/Makefile index 9baf7c7f5b0..9306fd109b9 100644 --- a/sysutils/safetynet/Makefile +++ b/sysutils/safetynet/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2005/07/16 01:19:23 jlam Exp $ +# $NetBSD: Makefile,v 1.8 2009/02/16 18:51:16 joerg Exp $ # DISTNAME= safetynet-1.15 @@ -9,11 +9,13 @@ MAINTAINER= zuntum@NetBSD.org HOMEPAGE= http://www.unixpimps.org/safetynet/ COMMENT= Safetynet is a perl script intended to monitor system services +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR} NO_BUILD= YES USE_TOOLS+= perl:run -INSTALLATION_DIRS= bin etc +INSTALLATION_DIRS= bin etc share/doc/safetynet post-patch: ${SED} -e "s,/etc/safetynet.conf,${PREFIX}/etc/safetynet.conf,g" \ @@ -28,9 +30,8 @@ post-patch: ${MV} ${WRKSRC}/safetynet.conf.done ${WRKSRC}/safetynet.conf do-install: - ${INSTALL_SCRIPT} -m 700 ${WRKSRC}/safetynet ${PREFIX}/bin/safetynet - ${INSTALL_DATA} -m 600 ${WRKSRC}/safetynet.conf ${PREFIX}/etc/safetynet.conf.sample - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/safetynet - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/safetynet/README + ${INSTALL_SCRIPT} -m 700 ${WRKSRC}/safetynet ${DESTDIR}${PREFIX}/bin/safetynet + ${INSTALL_DATA} -m 600 ${WRKSRC}/safetynet.conf ${DESTDIR}${PREFIX}/etc/safetynet.conf.sample + ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/safetynet/README .include "../../mk/bsd.pkg.mk" |