Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / misc / kp / Makefile
blobb4ff98828b86cfb7835aa375bd7395f0d0fe3e92
1 # $NetBSD: Makefile,v 1.28 2010/02/11 19:30:01 joerg Exp $
3 DISTNAME= kp-0.96
4 PKGREVISION= 1
5 CATEGORIES= misc tk
6 MASTER_SITES= ftp://stampede.cs.berkeley.edu/pub/kp/
8 MAINTAINER= pkgsrc-users@NetBSD.org
9 COMMENT= The Keyboard Practicer, touch-type training program
11 DEPENDS+= tk>=8.3.2:../../x11/tk
13 INSTALL_MAKE_FLAGS+= PREFIX=${DESTDIR}${PREFIX} \
14 KPMANDIR=${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
16 pre-configure:
17 for f in `${FIND} ${WRKDIR}/. -type f -print \
18 | ${XARGS} ${GREP} -l '/usr/local'`; do \
19 ${SED} -e 's:/usr/local:'${PREFIX}':g' < $$f \
20 > $$f.pdone && ${MV} $$f.pdone $$f; \
21 done
23 .include "../../mk/bsd.pkg.mk"