Date: Wed, 29 Nov 2006 03:03:31 GMT From: Jeremy Karlson<karlj000@unbc.ca> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/105988: Update Port: x11/wmenu Message-ID: <200611290303.kAT33Vg0071980@www.freebsd.org> Resent-Message-ID: <200611290730.kAT7UD1P094112@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 105988 >Category: ports >Synopsis: Update Port: x11/wmenu >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Nov 29 07:30:13 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Jeremy Karlson >Release: FreeBSD 5 STABLE >Organization: >Environment: >Description: This PR is in response to an email I received stating the port won't build when X moves to /usr/local. >How-To-Repeat: >Fix: Replace the existing port with the contents of this shell archive. This patch SHOULD correct the problem, but I don't have a machine where X is installed in /usr/local to confirm this 100%. Please test this first, if at all within your ability. Thanks. Patch attached with submission follows: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # wmmenu # wmmenu/Makefile # wmmenu/distinfo # wmmenu/pkg-descr # wmmenu/pkg-message # wmmenu/pkg-plist # wmmenu/files # wmmenu/files/patch-aa # wmmenu/files/patch-ab # wmmenu/files/patch-Makefile # wmmenu/patch-ac # echo c - wmmenu mkdir -p wmmenu > /dev/null 2>&1 echo x - wmmenu/Makefile sed 's/^X//' >wmmenu/Makefile << 'END-of-wmmenu/Makefile' X# New ports collection makefile for: wmmenu X# Date created: 16 November 2000 X# Whom: Jeremy <karlj000@unbc.ca> X# X# $FreeBSD: ports/x11/wmmenu/Makefile,v 1.15 2006/03/07 08:27:52 ade Exp $ X# X XPORTNAME= wmmenu XPORTVERSION= 1.2 XPORTREVISION= 3 XCATEGORIES= x11 gnome XMASTER_SITES= http://www.fcoutant.freesurf.fr/download/ X XMAINTAINER= karlj000@unbc.ca XCOMMENT= A popup menu of icons that launch programs for the WindowMaker dock X XLIB_DEPENDS= dockapp.2:${PORTSDIR}/x11-wm/libdockapp:install X XWRKSRC= ${WRKDIR}/${PORTNAME} XUSE_X_PREFIX= yes XUSE_GNOME= libcapplet gdkpixbuf XUSE_GMAKE= yes X XMAN1= wmmenu.1 X Xpost-patch: X @${MV} ${WRKSRC}/example/defaults ${WRKSRC}/example/defaults.presed X @${SED} -e 's#%%PREFIX%%#${PREFIX}#' ${WRKSRC}/example/defaults.presed \ X > ${WRKSRC}/example/defaults X Xpost-install: X.ifndef(NOPORTDOCS) X ${MKDIR} ${PREFIX}/share/doc/wmmenu X ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/wmmenu X ${INSTALL_DATA} ${WRKSRC}/example/apps ${PREFIX}/share/doc/wmmenu/apps.sample X ${INSTALL_DATA} ${WRKSRC}/example/defaults ${PREFIX}/share/doc/wmmenu/defaults.sample X.endif X @${SED} -e 's#%%PREFIX%%#${PREFIX}#g' ${PKGMESSAGE} | ${SED} -e 's#%%PORTNAME%%#${PORTNAME}#g' X X.include <bsd.port.mk> END-of-wmmenu/Makefile echo x - wmmenu/distinfo sed 's/^X//' >wmmenu/distinfo << 'END-of-wmmenu/distinfo' XMD5 (wmmenu-1.2.tar.gz) = 0cc8970ff54182a08fe848d65546f70f XSHA256 (wmmenu-1.2.tar.gz) = c2270fdd636e82bcddbd3a43c4ae7b8dc2f5f0f8890cf8f404ce024d5f7dab87 XSIZE (wmmenu-1.2.tar.gz) = 32845 END-of-wmmenu/distinfo echo x - wmmenu/pkg-descr sed 's/^X//' >wmmenu/pkg-descr << 'END-of-wmmenu/pkg-descr' XA dockapp for WindowMaker that provides a popup menu of icons that launch Xapplications, like in AfterStep. The program can be run more than once at Xthe same time, which allows many different menus, each one described in a Xseperate file. X XWWW: http://www.fcoutant.freesurf.fr/wmmenu.html X XJeremy Xkarlj000@unbc.ca END-of-wmmenu/pkg-descr echo x - wmmenu/pkg-message sed 's/^X//' >wmmenu/pkg-message << 'END-of-wmmenu/pkg-message' XRead man page on "%%PORTNAME%%" and see samples in %%PREFIX%%/share/doc/wmmenu for info on configuring this dockapp. END-of-wmmenu/pkg-message echo x - wmmenu/pkg-plist sed 's/^X//' >wmmenu/pkg-plist << 'END-of-wmmenu/pkg-plist' Xbin/wmmenu X%%PORTDOCS%%share/doc/wmmenu/apps.sample X%%PORTDOCS%%share/doc/wmmenu/defaults.sample X%%PORTDOCS%%share/doc/wmmenu/README X%%PORTDOCS%%@dirrm share/doc/wmmenu END-of-wmmenu/pkg-plist echo c - wmmenu/files mkdir -p wmmenu/files > /dev/null 2>&1 echo x - wmmenu/files/patch-aa sed 's/^X//' >wmmenu/files/patch-aa << 'END-of-wmmenu/files/patch-aa' X--- example/apps.Dist Sat Aug 5 00:40:31 2000 X+++ example/apps Sun Nov 19 18:32:02 2000 X@@ -4,8 +4,6 @@ X X "GNUstep.xpm" Menu title X "linuxterm.xpm" xterm -T Terminal -name terminal -geometry 80x50 & X-"HomeNeighborOpen.xpm" xterm -T "Login terminal" -name loginxterm -e bin/rloginsession & X-"FileManager.xpm" xterm -T "Midnight Commander" -name mc -geometry 100x50 -sl 1000 -e mc -c & X "mixer.xpm" gaumix & X "HP-16C-48.xpm" kcalc & X END-of-wmmenu/files/patch-aa echo x - wmmenu/files/patch-ab sed 's/^X//' >wmmenu/files/patch-ab << 'END-of-wmmenu/files/patch-ab' X--- example/defaults.Dist Sat Aug 5 00:40:06 2000 X+++ example/defaults Sun Nov 19 18:28:53 2000 X@@ -12,4 +12,10 @@ X X xpmpath /usr/local/share/WindowMaker/Icons X xpmpath /usr/local/share/pixmaps X+ X+xpmpath %%PREFIX%%/share/WindowMaker/Backgrounds X+xpmpath %%PREFIX%%/share/WindowMaker/Icons X+xpmpath %%PREFIX%%/share/WindowMaker/Pixmaps X+xpmpath %%PREFIX%%/include/X11/pixmaps X+ X tile tile2.xpm END-of-wmmenu/files/patch-ab echo x - wmmenu/files/patch-Makefile sed 's/^X//' >wmmenu/files/patch-Makefile << 'END-of-wmmenu/files/patch-Makefile' X--- Makefile.orig Mon Nov 27 22:50:17 2006 X+++ Makefile Mon Nov 27 23:00:33 2006 X@@ -1,4 +1,4 @@ X-prefix = /usr/local X+prefix = $(PREFIX) X BINDIR = $(prefix)/bin X MANDIR = $(prefix)/man X ETCDIR = $(prefix)/etc END-of-wmmenu/files/patch-Makefile echo x - wmmenu/patch-ac sed 's/^X//' >wmmenu/patch-ac << 'END-of-wmmenu/patch-ac' X--- Makefile.orig Sun Dec 2 21:01:18 2001 X+++ Makefile Sun Dec 2 21:01:49 2001 X@@ -1,4 +1,5 @@ X-prefix = /usr/local X+PREFIX ?= /usr/local X+prefix = $(PREFIX) X BINDIR = $(prefix)/bin X MANDIR = $(prefix)/man X ETCDIR = $(prefix)/etc END-of-wmmenu/patch-ac exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200611290303.kAT33Vg0071980>