Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Nov 2005 02:00:42 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/89021: Update port: x11/xballoon
Message-ID:  <20051115020042.50821543.tkato432@yahoo.com>
Resent-Message-ID: <200511141710.jAEHABWV042977@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         89021
>Category:       ports
>Synopsis:       Update port: x11/xballoon
>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:   Mon Nov 14 17:10:11 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.11-RELEASE-p13 i386
>Organization:
>Environment:
>Description:
- Fix MASTER_SITES
- Support CC/CFLAGS properly
- Add WWW: line

Remove file:
files/patch-aa

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/x11/xballoon/Makefile x11/xballoon/Makefile
--- /usr/ports/x11/xballoon/Makefile	Mon Nov 14 16:02:35 2005
+++ x11/xballoon/Makefile	Mon Nov 14 16:09:19 2005
@@ -8,18 +8,26 @@
 PORTNAME=	xballoon
 PORTVERSION=	1.0
 CATEGORIES=	x11
-MASTER_SITES=	http://wwwmiya.ee.kagu.tus.ac.jp/~sakai/
+MASTER_SITES=	http://www.saturn.dti.ne.jp/~hsakai/myfreesoft/
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Balloons move on root window
 
-ALL_TARGET=	xballoon
-
 USE_X_PREFIX=	yes
 USE_XPM=	yes
+USE_REINPLACE=	yes
+ALL_TARGET=	xballoon
 
 MAN1=		xballoon.1
-MANCOMPRESSED=	yes
 PLIST_FILES=	bin/xballoon
+
+post-patch:
+	@${REINPLACE_CMD} -e 's|/usr/X11R6|$${X11BASE}|g ; \
+		 s|gcc |$${CC} |g ; \
+		 s|-O |$${CFLAGS} |g' ${WRKSRC}/Makefile
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/xballoon ${PREFIX}/bin/xballoon
+	${INSTALL_MAN} ${WRKSRC}/xballoon.man ${MANPREFIX}/man/man1/xballoon.1
 
 .include <bsd.port.mk>
diff -urN /usr/ports/x11/xballoon/distinfo x11/xballoon/distinfo
--- /usr/ports/x11/xballoon/distinfo	Wed Mar 31 18:15:45 2004
+++ x11/xballoon/distinfo	Mon Nov 14 12:55:14 2005
@@ -1,2 +1,3 @@
 MD5 (xballoon-1.0.tar.gz) = ca6ba577cf1f22aaa59e9d081baf5bc1
+SHA256 (xballoon-1.0.tar.gz) = 35a27ff4405b51da5642fc9c7bddc4cf6bf3666a5cfd8a1082e3a6242d47e4e0
 SIZE (xballoon-1.0.tar.gz) = 8796
diff -urN /usr/ports/x11/xballoon/files/patch-aa x11/xballoon/files/patch-aa
--- /usr/ports/x11/xballoon/files/patch-aa	Tue Apr 27 22:09:35 1999
+++ x11/xballoon/files/patch-aa	Thu Jan  1 09:00:00 1970
@@ -1,8 +0,0 @@
---- Makefile~	Thu Feb  4 22:43:59 1999
-+++ Makefile	Thu Feb  4 22:44:17 1999
-@@ -1,4 +1,4 @@
--XBALLOON_PREFIX = /usr/X11R6
-+XBALLOON_PREFIX = ${PREFIX}
- XBALLOON_BIN = ${XBALLOON_PREFIX}/bin
- XBALLOON_LIB = ${XBALLOON_PREFIX}/lib/X11/XBalloon
- XBALLOON_MAN = ${XBALLOON_PREFIX}/man/man1
diff -urN /usr/ports/x11/xballoon/pkg-descr x11/xballoon/pkg-descr
--- /usr/ports/x11/xballoon/pkg-descr	Tue Apr 27 22:09:35 1999
+++ x11/xballoon/pkg-descr	Mon Nov 14 12:53:19 2005
@@ -1,2 +1,4 @@
 XBalloon is a simple demonstration program for X. Balloons move on root
 window. You can use a faborite pixmap as balloons.
+
+WWW: http://www.saturn.dti.ne.jp/~hsakai/myfreesoft/index.html
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051115020042.50821543.tkato432>