25 lines
670 B
Makefile
25 lines
670 B
Makefile
# $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"
|