summaryrefslogtreecommitdiff
path: root/x11-fm/x-files/Makefile
blob: 862842fd9bd74ee034e8aed4b463b7fc9055fcf0 (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
# New ports collection makefile for:	x-files
# Version required:     1.43
# Date created:		14 April 1998
# Whom:			Donald J. Maddox <dmaddox@scsn.net>
#
# $Id: Makefile,v 1.4 1998/09/15 04:37:56 asami Exp $
#

DISTNAME=       X-Files-1.43
PKGNAME=	x-files-1.43
CATEGORIES=	misc tk80
MASTER_SITES=   http://java.inf.tu-dresden.de/X-Files/data/

MAINTAINER=     dmaddox@scsn.net

BUILD_DEPENDS=	wish8.0:${PORTSDIR}/x11-toolkits/tk80

BROKEN=		repository copy

.if !defined(DISPLAY)
BROKEN=		requires DISPLAY to install
.endif

WRKSRC=		${WRKDIR}/X-Files
NO_BUILD=	yes
USE_X_PREFIX=	yes

pre-install:
	@wish8.0 ${SCRIPTDIR}/mktclIndex ${WRKSRC}

do-install:
	@${MKDIR} ${PREFIX}/lib/X11/X-Files
	@${INSTALL_SCRIPT} ${WRKSRC}/X-Files.tcl ${PREFIX}/bin/X-Files
.for file in be.tcl ee.tcl re.tcl vfs.tcl xf_sel.tcl xfiles.buttons xfiles.extensions tclIndex \
xfiles.faq xfiles.headers xfiles.main_pophelp xfiles.manual xfiles.user_pophelp \
xfilesrc xflogo.gif
	@${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/lib/X11/X-Files
.endfor
	@${INSTALL_DATA} ${WRKSRC}/X-Files.xpm ${X11BASE}/include/X11/pixmaps
	@${INSTALL_MAN} ${WRKSRC}/X-Files.1x ${X11BASE}/man/man1

.include <bsd.port.mk>