summaryrefslogtreecommitdiff
path: root/sysutils/shc
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2010-01-27 20:01:36 +0000
committerjoerg <joerg@pkgsrc.org>2010-01-27 20:01:36 +0000
commitbe11c2ea2f2f33b8da0b68f6fbf21528e98885cd (patch)
tree3ec84c8e101a891b0be7a338e7fe8791a5879c12 /sysutils/shc
parent7221d3990457f5b40e355f1132a2bd3c75258457 (diff)
downloadpkgsrc-be11c2ea2f2f33b8da0b68f6fbf21528e98885cd.tar.gz
DESTDIR support
Diffstat (limited to 'sysutils/shc')
-rw-r--r--sysutils/shc/Makefile8
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"