Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 May 2001 00:35:59 +0200 (CEST)
From:      Anders Nordby <anders@fix.no>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/27671: Update port: x11-clocks/wmfishtime
Message-ID:  <20010526223559.B5F533C9C@totem.fix.no>

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

>Number:         27671
>Category:       ports
>Synopsis:       Update port: x11-clocks/wmfishtime
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 26 15:40:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Anders Nordby
>Release:        FreeBSD 4.3-STABLE i386
>Organization:
Fluxpod Information eXchange
>Environment:

	<Relevant environment information (multiple lines)>

>Description:

Update the port to the latest version, 1.23. Add patch patch-Makefile.

>How-To-Repeat:

	<Code/input/activities to reproduce the problem (multiple lines)>

>Fix:

diff -Nur wmfishtime.old/Makefile wmfishtime/Makefile
--- wmfishtime.old/Makefile	Thu Apr 19 17:41:06 2001
+++ wmfishtime/Makefile	Sun May 27 00:35:00 2001
@@ -6,19 +6,22 @@
 #
 
 PORTNAME=	wmfishtime
-PORTVERSION=	1.21
+PORTVERSION=	1.23
 CATEGORIES=	x11-clocks windowmaker
 MASTER_SITES=	http://www.ne.jp/asahi/linux/timecop/software/ \
 		http://www.freenix.no/~anders/
 
 MAINTAINER=	anders@fix.no
 
+LIB_DEPENDS=	gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
+
 USE_GTK=	yes
 USE_X_PREFIX=	yes
 
-pre-build:
-	${PERL} -pi -e "s@gcc@${CC}@g; s@-O3@${CFLAGS}@g; \
-			s@gtk-config@${GTK_CONFIG}@g; s@-lgtk@-lgtk12@g" ${WRKSRC}/Makefile
+GTK_LIBS?=	`${GTK_CONFIG} --libs`
+GTK_CFLAGS?=	`${GTK_CONFIG} --cflags`
+MAKE_ARGS+=	CFLAGS="${CFLAGS} -Wall -I${LOCALBASE}/include ${GTK_CFLAGS}" \
+		GTK_LIBS="${GTK_LIBS}"
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/wmfishtime ${PREFIX}/bin
diff -Nur wmfishtime.old/distinfo wmfishtime/distinfo
--- wmfishtime.old/distinfo	Thu Apr 19 17:41:06 2001
+++ wmfishtime/distinfo	Sat May 26 23:18:56 2001
@@ -1 +1 @@
-MD5 (wmfishtime-1.21.tar.gz) = a9f690aff8bf188f6e9bfab4f008623c
+MD5 (wmfishtime-1.23.tar.gz) = ec10376dfb9b43eb7b519b20a1da71e6
diff -Nur wmfishtime.old/files/patch-Makefile wmfishtime/files/patch-Makefile
--- wmfishtime.old/files/patch-Makefile	Thu Jan  1 01:00:00 1970
+++ wmfishtime/files/patch-Makefile	Sun May 27 00:14:34 2001
@@ -0,0 +1,21 @@
+--- Makefile.orig	Sat May 26 22:49:41 2001
++++ Makefile	Sun May 27 00:14:26 2001
+@@ -6,17 +6,15 @@
+ 
+ # no user serviceable parts below this line
+ # optimization cflags
+-CFLAGS = -O3 -Wall `gtk-config --cflags` ${EXTRA}
+ # profiling cflags
+ # CFLAGS=-ansi -pedantic -Wall -pg -O3 `gtk-config --cflags` ${EXTRA} -DPRO
+ # test coverage cflags
+ # CFLAGS=-fprofile-arcs -ftest-coverage -Wall -ansi -pedantic -g `gtk-config --cflags` ${EXTRA} -DPRO
+ 
+ 
+-CC = gcc
+ SHELL = sh
+ OBJS = fishmon.o
+-LIBS = `gtk-config --libs | sed "s/-lgtk//g"`
++LIBS = `echo $(GTK_LIBS) | sed "s/-lgtk12//g"` -lgnugetopt
+ INSTALL = -m 755
+ 
+ all: wmfishtime
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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