diff options
author | miwi <miwi@FreeBSD.org> | 2008-04-20 01:56:05 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2008-04-20 01:56:05 +0800 |
commit | bce9b81f9d6099820f3839d7809d6b08c1d2ae7b (patch) | |
tree | f5dd7c3a8dbebad79bdb5e844aeb69c59a9fd12c /x11-fm/x-files | |
parent | 2eea5f1d2e44418020f8f4db08d40bea6915b6e8 (diff) | |
download | freebsd-ports-gnome-bce9b81f9d6099820f3839d7809d6b08c1d2ae7b.tar.gz freebsd-ports-gnome-bce9b81f9d6099820f3839d7809d6b08c1d2ae7b.tar.zst freebsd-ports-gnome-bce9b81f9d6099820f3839d7809d6b08c1d2ae7b.zip |
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
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 |