diff options
author | joerg <joerg> | 2008-06-20 01:09:05 +0000 |
---|---|---|
committer | joerg <joerg> | 2008-06-20 01:09:05 +0000 |
commit | d8368bbc25c90072a19b5e48f0fba26251b6877f (patch) | |
tree | bb388f6b2532587595653e67cce25229ed050cb8 /shells/bash-completion | |
parent | f1b924fda77b6920565e56f54c9391b4dc68f8ca (diff) | |
download | pkgsrc-d8368bbc25c90072a19b5e48f0fba26251b6877f.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'shells/bash-completion')
-rw-r--r-- | shells/bash-completion/Makefile | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/shells/bash-completion/Makefile b/shells/bash-completion/Makefile index 68e2ba7171c..7328e3848a4 100644 --- a/shells/bash-completion/Makefile +++ b/shells/bash-completion/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2008/03/12 09:47:58 wiz Exp $ +# $NetBSD: Makefile,v 1.2 2008/06/20 01:09:35 joerg Exp $ # DISTNAME= bash-completion-20060301 @@ -9,20 +9,21 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.caliban.org/bash/index.shtml COMMENT= Programmable completion specifications for bash +PKG_DESTDIR_SUPPORT= user-destdir + USE_TOOLS+= bash:run WRKSRC= ${WRKDIR}/bash_completion USE_LANGUAGES= # none -do-build: +NO_BUILD= yes + +INSTALLATION_DIRS= share/bash-completion/contrib share/doc/bash-completion do-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/bash-completion - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/bash-completion - ${INSTALL_DATA_DIR} ${PREFIX}/share/bash-completion - ${INSTALL_DATA} ${WRKSRC}/bash* ${PREFIX}/share/bash-completion - ${INSTALL_DATA_DIR} ${PREFIX}/share/bash-completion/contrib + ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/bash-completion + ${INSTALL_DATA} ${WRKSRC}/bash* ${DESTDIR}${PREFIX}/share/bash-completion ${INSTALL_DATA} ${WRKSRC}/contrib/* \ - ${PREFIX}/share/bash-completion/contrib + ${DESTDIR}${PREFIX}/share/bash-completion/contrib .include "../../mk/bsd.pkg.mk" |