blob: 51dc60236fcd5333aaaf72220df83a924633ee48 (
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
26
27
28
29
30
31
|
# $NetBSD: Makefile,v 1.41 2006/03/04 21:31:11 jlam Exp $
DISTNAME= tkman-2.2
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tkman/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://tkman.sourceforge.net/
COMMENT= Tcl/Tk based manual browser
DEPENDS+= glimpse>=4.1:../../textproc/glimpse
DEPENDS+= tk>=8.4:../../x11/tk
USE_RMAN= yes
.include "../../mk/x11.buildlink3.mk"
post-extract:
.for f in Makefile manpath.tcl
${MV} ${WRKSRC}/${f} ${WRKSRC}/${f}.cr
${TR} -d '\r' < ${WRKSRC}/${f}.cr > ${WRKSRC}/${f}
.endfor
post-install:
${SED} -e 's|@@LOCALBASE@@|${LOCALBASE}|' \
-e 's|@@PREFIX@@|${PREFIX}|' \
-e 's|@@X11BASE@@|${X11BASE}|' \
${FILESDIR}/mkindex > ${WRKDIR}/mkindex
${INSTALL_SCRIPT} ${WRKDIR}/mkindex ${PREFIX}/libexec
.include "../../mk/bsd.pkg.mk"
|