From owner-freebsd-ports Sat May 26 15:40:11 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id E595A37B43C for ; Sat, 26 May 2001 15:40:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f4QMe1q04099; Sat, 26 May 2001 15:40:01 -0700 (PDT) (envelope-from gnats) Received: from totem.fix.no (totem.fix.no [213.142.66.130]) by hub.freebsd.org (Postfix) with ESMTP id F0C1737B424 for ; Sat, 26 May 2001 15:36:00 -0700 (PDT) (envelope-from anders@totem.fix.no) Received: by totem.fix.no (Postfix, from userid 1000) id B5F533C9C; Sun, 27 May 2001 00:35:59 +0200 (CEST) Message-Id: <20010526223559.B5F533C9C@totem.fix.no> Date: Sun, 27 May 2001 00:35:59 +0200 (CEST) From: Anders Nordby Reply-To: Anders Nordby To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/27671: Update port: x11-clocks/wmfishtime Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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: >Description: Update the port to the latest version, 1.23. Add patch patch-Makefile. >How-To-Repeat: >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