summaryrefslogtreecommitdiff
path: root/sysutils/shc
diff options
context:
space:
mode:
authorjoerg <joerg>2010-01-27 20:01:36 +0000
committerjoerg <joerg>2010-01-27 20:01:36 +0000
commite2d657c5ff228fbf6284bc4b419cb6b45a4d8890 (patch)
tree3ec84c8e101a891b0be7a338e7fe8791a5879c12 /sysutils/shc
parent795ada19bff36cc511a50b0f4d5f04ddf6db589c (diff)
downloadpkgsrc-e2d657c5ff228fbf6284bc4b419cb6b45a4d8890.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"