diff options
author | joerg <joerg@pkgsrc.org> | 2010-01-27 20:01:36 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-01-27 20:01:36 +0000 |
commit | be11c2ea2f2f33b8da0b68f6fbf21528e98885cd (patch) | |
tree | 3ec84c8e101a891b0be7a338e7fe8791a5879c12 /sysutils/shc/Makefile | |
parent | 7221d3990457f5b40e355f1132a2bd3c75258457 (diff) | |
download | pkgsrc-be11c2ea2f2f33b8da0b68f6fbf21528e98885cd.tar.gz |
DESTDIR support
Diffstat (limited to 'sysutils/shc/Makefile')
-rw-r--r-- | sysutils/shc/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sysutils/shc/Makefile b/sysutils/shc/Makefile index b1292a61eb2..929a5c6a499 100644 --- a/sysutils/shc/Makefile +++ b/sysutils/shc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2007/01/07 09:14:13 rillig Exp $ +# $NetBSD: Makefile,v 1.5 2010/01/27 20:01:36 joerg Exp $ # DISTNAME= shc-3.7 @@ -10,10 +10,12 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.datsi.fi.upm.es/~frosal/ COMMENT= Shell script to C compiler +PKG_DESTDIR_SUPPORT= user-destdir + INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/shc ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/shc.1 ${PREFIX}/${PKGMANDIR}/man1 + ${INSTALL_PROGRAM} ${WRKSRC}/shc ${DESTDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/shc.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 .include "../../mk/bsd.pkg.mk" |