ports/55688: Update port: x11-clocks/xtu to 1.2
KATO Tsuguru
tkato at prontomail.com
Sun Aug 17 23:40:22 UTC 2003
>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: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun Aug 17 16:40:17 PDT 2003
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list