diff options
author | jlam <jlam> | 2008-03-04 16:38:11 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-03-04 16:38:11 +0000 |
commit | 94625269680b5597c061a1e864b87074eff20b47 (patch) | |
tree | 3b3e69289dd17a1030bb7365e1cb146dbfea41bd /lang/ccsh | |
parent | a29ce4f7d451f2d5d4a2d323b35045448aa1d767 (diff) | |
download | pkgsrc-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')
-rw-r--r-- | lang/ccsh/Makefile | 5 |
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" |