From tkato432@yahoo.com  Fri Aug 13 14:02:13 2004
Return-Path: <tkato432@yahoo.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 7AB3816A4CE
	for <FreeBSD-gnats-submit@FreeBSD.org>; Fri, 13 Aug 2004 14:02:13 +0000 (GMT)
Received: from hfep04.dion.ne.jp (hfep04.dion.ne.jp [203.181.105.70])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 59B7643D54
	for <FreeBSD-gnats-submit@FreeBSD.org>; Fri, 13 Aug 2004 14:02:12 +0000 (GMT)
	(envelope-from tkato432@yahoo.com)
Received: from localhost ([61.198.217.248]) by hfep04.dion.ne.jp with SMTP
          id <20040813140207691.PDOG@hfep04.dion.ne.jp>
          for <FreeBSD-gnats-submit@FreeBSD.org>;
          Fri, 13 Aug 2004 23:02:07 +0900
Message-Id: <20040813230031.6aac7f28.tkato432@yahoo.com>
Date: Fri, 13 Aug 2004 23:00:31 +0900
From: KATO Tsuguru <tkato432@yahoo.com>
To: FreeBSD-gnats-submit@FreeBSD.org
Subject: Update port: x11/bbrun

>Number:         70414
>Category:       ports
>Synopsis:       Update port: x11/bbrun
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 13 14:10:26 GMT 2004
>Closed-Date:    Fri Aug 13 15:55:02 GMT 2004
>Last-Modified:  Fri Aug 13 15:55:02 GMT 2004
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.10-RELEASE-p2 i386
>Organization:
>Environment:
>Description:
- Support CFLAGS properly
- Support PLIST_FILES
- Fix WWW: line

Remove file:
pkg-plist

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/x11/bbrun/Makefile x11/bbrun/Makefile
--- /usr/ports/x11/bbrun/Makefile	Thu Jun  3 13:30:50 2004
+++ x11/bbrun/Makefile	Fri Aug 13 22:20:52 2004
@@ -7,27 +7,29 @@
 
 PORTNAME=	bbrun
 PORTVERSION=	1.6
+PORTREVISION=	1
 CATEGORIES=	x11
 MASTER_SITES=	http://www.darkops.net/bbrun/
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	A Run box for Blackbox
 
-USE_GETOPT_LONG=yes
+WRKSRC=		${WRKDIR}/${DISTNAME}/bbrun
+
 USE_X_PREFIX=	yes
 USE_GNOME=	gtk20
+USE_GETOPT_LONG=	yes
 USE_GMAKE=	yes
-WRKSRC=		${WRKDIR}/${DISTNAME}/bbrun
-MAKE_ENV=	CPPFLAGS="${CPPFLAGS}" \
-		LDFLAGS="${LDFLAGS}"
+MAKE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
 
-do-install:
-	@${INSTALL_PROGRAM} ${WRKSRC}/bbrun ${PREFIX}/bin
+PORTDOCS=	README
+PLIST_FILES=	bin/bbrun
 
-post-install:
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/bbrun ${PREFIX}/bin
 .if !defined(NOPORTDOCS)
 	@${MKDIR} ${DOCSDIR}
-	@${INSTALL_DATA} ${WRKSRC}/../README ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/../README ${DOCSDIR}
 .endif
 
 .include <bsd.port.mk>
diff -urN /usr/ports/x11/bbrun/files/patch-Makefile x11/bbrun/files/patch-Makefile
--- /usr/ports/x11/bbrun/files/patch-Makefile	Mon Jun  7 13:40:45 2004
+++ x11/bbrun/files/patch-Makefile	Wed Aug 11 03:15:22 2004
@@ -1,13 +1,16 @@
---- Makefile.orig	Wed Jun  2 23:54:33 2004
-+++ Makefile	Wed Jun  2 23:55:08 2004
-@@ -1,5 +1,4 @@
+--- Makefile.orig	Wed Feb 11 13:57:17 2004
++++ Makefile	Wed Aug 11 03:14:43 2004
+@@ -1,7 +1,6 @@
 -CC     = gcc
 -LIBDIR = -L/usr/lib -L/usr/X11R6/lib
-+LIBDIR = -L${LOCALBASE}/lib -L${X11BASE}/lib
 -LIBS   = -lXpm `pkg-config --libs gtk+-2.0`
+-CFLAGS = `pkg-config --cflags gtk+-2.0`
++LIBDIR = -L${LOCALBASE}/lib -L${X11BASE}/lib
 +LIBS   = -lXpm `pkg-config --libs gtk+-2.0` ${LDFLAGS}
- CFLAGS = `pkg-config --cflags gtk+-2.0`
++CFLAGS += `pkg-config --cflags gtk+-2.0`
  
+ OBJS   = bbrun.o \
+          ../wmgeneral/wmgeneral.o \
 @@ -11,7 +10,7 @@
  all: bbrun
  
diff -urN /usr/ports/x11/bbrun/pkg-descr x11/bbrun/pkg-descr
--- /usr/ports/x11/bbrun/pkg-descr	Fri Oct 18 16:57:48 2002
+++ x11/bbrun/pkg-descr	Wed Aug 11 03:12:30 2004
@@ -3,6 +3,6 @@
 designed to be a part of the Slit. bbrun will maintain a history
 file in $HOME/.bbrun_history
 
-WWW: http://bbtools.windsofstorm.net/
+WWW: http://www.darkops.net/bbrun/
 
 - Adam Weinberger <adamw@FreeBSD.org>
diff -urN /usr/ports/x11/bbrun/pkg-plist x11/bbrun/pkg-plist
--- /usr/ports/x11/bbrun/pkg-plist	Sun Dec  2 11:28:08 2001
+++ x11/bbrun/pkg-plist	Thu Jan  1 09:00:00 1970
@@ -1,3 +0,0 @@
-bin/bbrun
-%%PORTDOCS%%share/doc/bbrun/README
-%%PORTDOCS%%@dirrm share/doc/bbrun
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: krion 
State-Changed-When: Fri Aug 13 15:54:57 GMT 2004 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=70414 
>Unformatted:
