From tkato@prontomail.com  Sun Aug 17 16:31:02 2003
Return-Path: <tkato@prontomail.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id B1E9C37B401
	for <FreeBSD-gnats-submit@FreeBSD.org>; Sun, 17 Aug 2003 16:31:02 -0700 (PDT)
Received: from hfep03.dion.ne.jp (hfep03.dion.ne.jp [203.181.105.69])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 0098F43F3F
	for <FreeBSD-gnats-submit@FreeBSD.org>; Sun, 17 Aug 2003 16:31:02 -0700 (PDT)
	(envelope-from tkato@prontomail.com)
Received: from localhost ([61.198.241.116]) by hfep03.dion.ne.jp with SMTP
          id <20030817233059222.HWWS@hfep03.dion.ne.jp>
          for <FreeBSD-gnats-submit@FreeBSD.org>;
          Mon, 18 Aug 2003 08:30:59 +0900
Message-Id: <20030818083013.7e9a5006.tkato@prontomail.com>
Date: Mon, 18 Aug 2003 08:30:13 +0900
From: KATO Tsuguru <tkato@prontomail.com>
To: FreeBSD-gnats-submit@FreeBSD.org
Subject: Update port: x11-clocks/xtu to 1.2

>Number:         55688
>Category:       ports
>Synopsis:       Update port: x11-clocks/xtu to 1.2
>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:   Sun Aug 17 16:40:17 PDT 2003
>Closed-Date:    Mon Aug 18 02:03:18 PDT 2003
>Last-Modified:  Mon Aug 18 02:03:18 PDT 2003
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.8-RELEASE-p3 i386
>Organization:
>Environment:
>Description:
- Update to version 1.2 

New file:
files/patch-Imakefile

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/x11-clocks/xtu/Makefile x11-clocks/xtu/Makefile
--- /usr/ports/x11-clocks/xtu/Makefile	Sat Apr 12 23:32:52 2003
+++ x11-clocks/xtu/Makefile	Sun Aug 17 23:37:55 2003
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	xtu
-PORTVERSION=	1.1
+PORTVERSION=	1.2
 CATEGORIES=	x11-clocks
 MASTER_SITES=	http://core.de/~coto/projects/xtu/
 
@@ -14,9 +14,21 @@
 COMMENT=	Transparent analog clock for X11
 
 USE_IMAKE=	yes
-USE_XPM=	yes
+WANT_GNOME=	yes
+USE_REINPLACE=	yes
+MAKE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
+NO_INSTALL_MANPAGES=	yes
+
+.include <bsd.port.pre.mk>
 
-#post-install:
-#		strip ${PREFIX}/bin/xtu
+.if ${HAVE_GNOME:Mimlib}!=""
+USE_GNOME=	imlib
+CPPFLAGS=	-DUSE_IMLIB `${IMLIB_CONFIG} --cflags`
+LDFLAGS=	`${IMLIB_CONFIG} --libs`
+.else
+USE_XPM=	yes
+CPPFLAGS=	-DUSE_XPM
+LDFLAGS=	-lXpm -lX11 -lXext
+.endif
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff -urN /usr/ports/x11-clocks/xtu/distinfo x11-clocks/xtu/distinfo
--- /usr/ports/x11-clocks/xtu/distinfo	Fri Oct 20 22:49:53 2000
+++ x11-clocks/xtu/distinfo	Sun Aug 17 23:12:16 2003
@@ -1 +1 @@
-MD5 (xtu-1.1.tar.gz) = 3b1ee9eefa18991d9fcffab1c1521d4a
+MD5 (xtu-1.2.tar.gz) = 20da1edc11f1b05d72cf9e22c7925cab
diff -urN /usr/ports/x11-clocks/xtu/files/patch-Imakefile x11-clocks/xtu/files/patch-Imakefile
--- /usr/ports/x11-clocks/xtu/files/patch-Imakefile	Thu Jan  1 09:00:00 1970
+++ x11-clocks/xtu/files/patch-Imakefile	Sun Aug 17 23:39:11 2003
@@ -0,0 +1,21 @@
+--- Imakefile.orig	Fri Oct 20 21:12:09 2000
++++ Imakefile	Sun Aug 17 23:39:01 2003
+@@ -1,13 +1,15 @@
+ XCOMM LOCAL_LIBRARIES = -lImlib -lX11 -lXext
+-LOCAL_LIBRARIES = -lXpm -lX11 -lXext
++XCOMM LOCAL_LIBRARIES = -lXpm -lX11 -lXext
++LOCAL_LIBRARIES = ${LDFLAGS}
+ 
+ SRCS = TolleUhr.c XCC.c
+ OBJS = TolleUhr.o XCC.o
+ 
+-CDEBUGFLAGS = -O2 -g -Wall
++XCOMM CDEBUGFLAGS = -O2 -g -Wall
+ 
+ XCOMM CCOPTIONS= -DUSE_IMLIB
+-CCOPTIONS= -DUSE_XPM
++XCOMM CCOPTIONS= -DUSE_XPM
++CCOPTIONS = ${CPPFLAGS}
+ 
+ ComplexProgramTargetNoMan(xtu)
+ 
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed  
State-Changed-By: krion 
State-Changed-When: Mon Aug 18 02:03:06 PDT 2003 
State-Changed-Why:  
Committed, thanks! 

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