diff options
author | joerg <joerg@pkgsrc.org> | 2006-11-05 17:49:33 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-11-05 17:49:33 +0000 |
commit | 605f49a1549db3338a7f755854ddbd9e8d43201e (patch) | |
tree | e92266243f12437844f0b94d56efcdbde175f5f0 /devel/ncurses | |
parent | 9a2d793f15ac90d68b73e3dda4f1d860566e9169 (diff) | |
download | pkgsrc-605f49a1549db3338a7f755854ddbd9e8d43201e.tar.gz |
DESTDIR support.
Diffstat (limited to 'devel/ncurses')
-rw-r--r-- | devel/ncurses/Makefile | 4 | ||||
-rw-r--r-- | devel/ncurses/Makefile.common | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/devel/ncurses/Makefile b/devel/ncurses/Makefile index 66c04c654f1..5cd4a8a794f 100644 --- a/devel/ncurses/Makefile +++ b/devel/ncurses/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.73 2006/10/13 18:07:49 tron Exp $ +# $NetBSD: Makefile,v 1.74 2006/11/05 17:49:34 joerg Exp $ .include "Makefile.common" @@ -28,6 +28,6 @@ post-configure: post-install: ${INSTALL_DATA} ${WRKSRC}/c++/demo.cc \ - ${PREFIX}/share/examples/ncurses++demo.cc + ${DESTDIR}${PREFIX}/share/examples/ncurses++demo.cc .include "../../mk/bsd.pkg.mk" diff --git a/devel/ncurses/Makefile.common b/devel/ncurses/Makefile.common index c379cafa40f..0723156cbe5 100644 --- a/devel/ncurses/Makefile.common +++ b/devel/ncurses/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.1 2006/10/13 18:07:49 tron Exp $ +# $NetBSD: Makefile.common,v 1.2 2006/11/05 17:49:34 joerg Exp $ DISTNAME= ncurses-${NC_VERS} NC_VERS= 5.5 @@ -11,6 +11,7 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://dickey.his.com/ncurses/ncurses.html PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir USE_LANGUAGES= c c++ USE_LIBTOOL= YES |