aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fm/filerunner/Makefile
blob: 08bdfc5d2d15b1ae78353648ed9ce9d7537098a1 (plain) (blame)
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
36
37
38
39
40
41
42
43
44
# New ports collection makefile for:    filerunner
# Date created:     3 August 1996
# Whom:         lukin
#
# $FreeBSD$
#

PORTNAME=   filerunner
PORTVERSION=    2.5.1
PORTREVISION=   2
CATEGORIES= x11-fm tk
MASTER_SITES=   ${MASTER_SITE_NETBSD} \
        http://www.cd.chalmers.se/~hch/
DISTNAME=   FileRunner-${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Filemanager with FTP capabilities. Uses Tcl/Tk

LIB_DEPENDS=    tk84.1:${PORTSDIR}/x11-toolkits/tk84

MAKEFILE=   Makefile.freebsd_gcc
MAKE_ENV+=  LOCALBASE=${LOCALBASE}

pre-build:
#   @ ${RM} ${WRKSRC}/ext.so
    @ ${CP} ${WRKSRC}/Makefiles/Makefile.freebsd_gcc ${WRKSRC}

do-install:
    @${MKDIR} ${PREFIX}/lib/FileRunner/bitmaps
    @${INSTALL_SCRIPT} ${WRKSRC}/fr ${PREFIX}/lib/FileRunner
    @${INSTALL_SCRIPT} ${WRKSRC}/frcolor ${PREFIX}/lib/FileRunner
    @${INSTALL_SCRIPT} ${WRKSRC}/frftp ${PREFIX}/lib/FileRunner
    @${LN} -sf ${PREFIX}/lib/FileRunner/fr ${PREFIX}/bin
.for file in COPYING FAQ HISTORY KnownBugs.txt QuickStart.txt README Tips.txt \
    Users_Guide.txt chmod.tcl cmd.tcl config.tcl dialog.tcl ext.so font.tcl \
    ftp.tcl http.tcl tclIndex
        @${INSTALL_DATA} ${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 <bsd.port.mk>