summaryrefslogtreecommitdiff
path: root/lang/ccsh/Makefile
diff options
context:
space:
mode:
authorjlam <jlam>2008-03-04 16:38:11 +0000
committerjlam <jlam>2008-03-04 16:38:11 +0000
commit94625269680b5597c061a1e864b87074eff20b47 (patch)
tree3b3e69289dd17a1030bb7365e1cb146dbfea41bd /lang/ccsh/Makefile
parenta29ce4f7d451f2d5d4a2d323b35045448aa1d767 (diff)
downloadpkgsrc-94625269680b5597c061a1e864b87074eff20b47.tar.gz
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'lang/ccsh/Makefile')
-rw-r--r--lang/ccsh/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/lang/ccsh/Makefile b/lang/ccsh/Makefile
index 36641e6ebb9..8a536adbb06 100644
--- a/lang/ccsh/Makefile
+++ b/lang/ccsh/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2006/04/22 09:22:10 rillig Exp $
+# $NetBSD: Makefile,v 1.6 2008/03/04 16:38:11 jlam Exp $
#
DISTNAME= ccsh-0.0.4
@@ -11,6 +11,7 @@ HOMEPAGE= http://ccsh.sourceforge.net/
COMMENT= C-like syntax scripting
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
USE_TOOLS+= gmake
@@ -23,6 +24,6 @@ SUBST_SED.options= -e 's,^CFLAGS =,\#CFLAGS =,g'
INSTALLATION_DIRS+= bin
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/ccsh ${PREFIX}/bin/ccsh
+ ${INSTALL_PROGRAM} ${WRKSRC}/ccsh ${DESTDIR}${PREFIX}/bin/ccsh
.include "../../mk/bsd.pkg.mk"