diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2008-04-19 17:56:05 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2008-04-19 17:56:05 +0000 |
commit | 3e4ed01146cfe2bdca465bd0e4d199341f62a0b6 (patch) | |
tree | d573ea09b2bf6be67cb497df199932da9e2707c4 /x11-fm/x-files | |
parent | 40049f4af2200d0dcf33596508688623fc75f764 (diff) | |
download | ports-3e4ed01146cfe2bdca465bd0e4d199341f62a0b6.tar.gz ports-3e4ed01146cfe2bdca465bd0e4d199341f62a0b6.zip |
Notes
Diffstat (limited to 'x11-fm/x-files')
-rw-r--r-- | x11-fm/x-files/Makefile | 11 | ||||
-rw-r--r-- | x11-fm/x-files/files/patch-aa | 2 |
2 files changed, 6 insertions, 7 deletions
diff --git a/x11-fm/x-files/Makefile b/x11-fm/x-files/Makefile index 53150cf1c42f..0b643f867aaa 100644 --- a/x11-fm/x-files/Makefile +++ b/x11-fm/x-files/Makefile @@ -7,7 +7,7 @@ PORTNAME= x-files PORTVERSION= 2.00b1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= x11-fm tk MASTER_SITES= http://users.tkk.fi/~mkivinie/X-Files/data/ DISTNAME= X-Files-${PORTVERSION} @@ -20,13 +20,12 @@ RUN_DEPENDS= wish8.3:${PORTSDIR}/x11-toolkits/tk83 WRKSRC= ${WRKDIR}/X-Files NO_BUILD= yes -USE_X_PREFIX= yes MAN1= X-Files.1x pre-install: @tclsh8.3 ${SCRIPTDIR}/mktclIndex ${WRKSRC} @${RM} -f ${WRKSRC}/xfinstall.tcl - @${SED} s#@X11BASE@#${X11BASE}# <${WRKSRC}/X-Files.tcl >${WRKSRC}/tmpfile + @${SED} s#@PREFIX@#${PREFIX}# <${WRKSRC}/X-Files.tcl >${WRKSRC}/tmpfile @${MV} ${WRKSRC}/tmpfile ${WRKSRC}/X-Files.tcl do-install: @@ -36,8 +35,8 @@ do-install: .endfor @${CHMOD} 0555 ${PREFIX}/lib/X11/X-Files/X-Files.tcl @${LN} -s ${PREFIX}/lib/X11/X-Files/X-Files.tcl ${PREFIX}/bin/X-Files - @${MKDIR} ${X11BASE}/include/X11/pixmaps - @${INSTALL_DATA} ${WRKSRC}/X-Files.xpm ${X11BASE}/include/X11/pixmaps - @${INSTALL_MAN} ${WRKSRC}/X-Files.1x ${X11BASE}/man/man1 + @${MKDIR} ${PREFIX}/include/X11/pixmaps + @${INSTALL_DATA} ${WRKSRC}/X-Files.xpm ${PREFIX}/include/X11/pixmaps + @${INSTALL_MAN} ${WRKSRC}/X-Files.1x ${PREFIX}/man/man1 .include <bsd.port.mk> diff --git a/x11-fm/x-files/files/patch-aa b/x11-fm/x-files/files/patch-aa index f14dfbcd165d..a5158c732859 100644 --- a/x11-fm/x-files/files/patch-aa +++ b/x11-fm/x-files/files/patch-aa @@ -5,7 +5,7 @@ +# The main file for the X-Files +# The next line is executed by /bin/sh, but not Tcl \ +exec wish8.3 $0 ${1+"$@"} -+set xf(xf_home) "@X11BASE@/lib/X11/X-Files/" ++set xf(xf_home) "@PREFIX@/lib/X11/X-Files/" proc MAIN {argc argv} { global xf xf_image env menu tk_version |