diff options
author | joerg <joerg@pkgsrc.org> | 2010-02-11 19:30:01 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-02-11 19:30:01 +0000 |
commit | ea1a639a923f5295dea62fbf9e6811aaa7058dec (patch) | |
tree | c40cbf781ffa70a5b9033ddefc45f81ae6157929 /misc/kp | |
parent | 58d93833b056aa77ad67bed34a2a76d2ababd4d4 (diff) | |
download | pkgsrc-ea1a639a923f5295dea62fbf9e6811aaa7058dec.tar.gz |
DESTDIR support
Diffstat (limited to 'misc/kp')
-rw-r--r-- | misc/kp/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/misc/kp/Makefile b/misc/kp/Makefile index db7252f1c08..f53f826c7e8 100644 --- a/misc/kp/Makefile +++ b/misc/kp/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.27 2007/02/22 19:26:49 wiz Exp $ +# $NetBSD: Makefile,v 1.28 2010/02/11 19:30:01 joerg Exp $ DISTNAME= kp-0.96 PKGREVISION= 1 @@ -8,8 +8,13 @@ MASTER_SITES= ftp://stampede.cs.berkeley.edu/pub/kp/ MAINTAINER= pkgsrc-users@NetBSD.org COMMENT= The Keyboard Practicer, touch-type training program +PKG_DESTDIR_SUPPORT= user-destdir + DEPENDS+= tk>=8.3.2:../../x11/tk +INSTALL_MAKE_FLAGS+= PREFIX=${DESTDIR}${PREFIX} \ + KPMANDIR=${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 + pre-configure: for f in `${FIND} ${WRKDIR}/. -type f -print \ | ${XARGS} ${GREP} -l '/usr/local'`; do \ |