blob: f53f826c7e879422478228ba8c84f894a3414dee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# $NetBSD: Makefile,v 1.28 2010/02/11 19:30:01 joerg Exp $
DISTNAME= kp-0.96
PKGREVISION= 1
CATEGORIES= misc tk
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 \
${SED} -e 's:/usr/local:'${PREFIX}':g' < $$f \
> $$f.pdone && ${MV} $$f.pdone $$f; \
done
.include "../../mk/bsd.pkg.mk"
|