From be11c2ea2f2f33b8da0b68f6fbf21528e98885cd Mon Sep 17 00:00:00 2001 From: joerg Date: Wed, 27 Jan 2010 20:01:36 +0000 Subject: DESTDIR support --- sysutils/shc/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'sysutils/shc/Makefile') 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" -- cgit v1.2.3