diff options
Diffstat (limited to 'devel/cdk/Makefile')
-rw-r--r-- | devel/cdk/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/devel/cdk/Makefile b/devel/cdk/Makefile index b6522352260..3ee257ea3a4 100644 --- a/devel/cdk/Makefile +++ b/devel/cdk/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.31 2008/01/19 09:16:19 wiz Exp $ +# $NetBSD: Makefile,v 1.32 2008/06/20 01:09:12 joerg Exp $ # DISTNAME= latestCDK @@ -12,6 +12,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.vexus.ca/products/CDK/ COMMENT= Curses Development Kit +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/${PKGNAME_NOREV} USE_NCURSES= # uses ncurses internals USE_LIBTOOL= yes @@ -20,13 +22,15 @@ USE_TOOLS+= autoconf213 BUILD_TARGET= default +INSTALL_MAKE_FLAGS+= INSTALL_DIR=${DESTDIR}${PREFIX} +INSTALLATION_DIRS= share/examples/cdk + pre-configure: cd ${WRKSRC}; autoconf post-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/cdk for file in ${WRKSRC}/examples/*.c ${WRKSRC}/examples/Makefile; do \ - ${INSTALL_DATA} $${file} ${PREFIX}/share/examples/cdk/; \ + ${INSTALL_DATA} $${file} ${DESTDIR}${PREFIX}/share/examples/cdk/; \ done .include "../../devel/ncurses/buildlink3.mk" |