1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/x11-fm/x-files/Makefile
Steve Price a64a2d930f Fix the following problems noticed by maintainer:
1)  The port contains hard-coded paths and does not properly respect
        ${PREFIX}/${X11BASE}.
    2)  The port is marked broken if $DISPLAY is not set.
    3)  My email address is wrong in the MAINTAINER line.

PR:		10068
Submitted by:	maintainer
1999-03-08 20:55:39 +00:00

40 lines
1.2 KiB
Makefile

# New ports collection makefile for: x-files
# Version required: 1.43
# Date created: 14 April 1998
# Whom: Donald J. Maddox <dmaddox@conterra.com>
#
# $Id: Makefile,v 1.7 1999/02/12 08:25:16 flathill Exp $
#
DISTNAME= X-Files-1.43
PKGNAME= x-files-1.43
CATEGORIES= x11-fm tk80
MASTER_SITES= http://java.inf.tu-dresden.de/X-Files/data/
MAINTAINER= dmaddox@conterra.com
BUILD_DEPENDS= tclsh8.0:${PORTSDIR}/lang/tcl80
RUN_DEPENDS= wish8.0:${PORTSDIR}/x11-toolkits/tk80
WRKSRC= ${WRKDIR}/X-Files
NO_BUILD= yes
USE_X_PREFIX= yes
pre-install:
@tclsh8.0 ${SCRIPTDIR}/mktclIndex ${WRKSRC}
@sed s#@X11BASE@#${X11BASE}# <${WRKSRC}/X-Files.tcl >${WRKSRC}/tmpfile
@mv ${WRKSRC}/tmpfile ${WRKSRC}/X-Files.tcl
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>