summaryrefslogtreecommitdiff
path: root/x11/filerunner/Makefile
blob: 6c83921993710ed1a1a531bf8c57995648e71bd5 (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
32
33
34
35
# $NetBSD: Makefile,v 1.13 2001/01/29 13:17:35 wiz Exp $
# $FreeBSD Id: Makefile,v 1.12 1998/02/24 21:43:11 jseger Exp
#

DISTNAME=	FileRunner-2.4.2
PKGNAME=	filerunner-2.4.2
CATEGORIES=	x11
MASTER_SITES=	${MASTER_SITE_SUNSITE:=X11/desktop/}

MAINTAINER=	packages@netbsd.org
HOMEPAGE=	http://www.cd.chalmers.se/~hch/filerunner.html

DEPENDS+=	tk-8.3.2:../../x11/tk

USE_X11BASE=	yes

post-extract:
	${RM} ${WRKSRC}/ext.so
	${CP} ${WRKSRC}/Makefiles/Makefile.netbsd_gcc ${WRKSRC}/Makefile

do-install:
	${MKDIR} ${PREFIX}/lib/FileRunner/bitmaps
	${INSTALL_SCRIPT} ${WRKSRC}/fr ${PREFIX}/lib/FileRunner
	${LN} -sf ${PREFIX}/lib/FileRunner/fr ${PREFIX}/bin
.for FILE in FAQ HISTORY QuickStart.txt Tips Users_Guide.txt chmod.tcl cmd.tcl config.tcl dialog_about.tcl ext.so font.tcl ftp.tcl http.tcl tclIndex
		${INSTALL_DATA} ${WRKSRC}/${FILE} ${PREFIX}/lib/FileRunner
.endfor
.for FILE in frcolor frftp
		${INSTALL_SCRIPT} ${WRKSRC}/${FILE} ${PREFIX}/lib/FileRunner
.endfor
.for map in cross.bit frterm.bit larger.bit left.bit max.bit pgdown.bit pgup.bit right.bit smaller.bit toggle.bit tree.bit up.bit update.bit xterm.bit
		${INSTALL_DATA} ${WRKSRC}/bitmaps/${map} ${PREFIX}/lib/FileRunner/bitmaps
.endfor

.include "../../mk/bsd.pkg.mk"