From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Mar 9 18:10:02 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 15DB01065673 for ; Tue, 9 Mar 2010 18:10:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D00658FC0A for ; Tue, 9 Mar 2010 18:10:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o29IA1Ng010080 for ; Tue, 9 Mar 2010 18:10:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o29IA1mw010079; Tue, 9 Mar 2010 18:10:01 GMT (envelope-from gnats) Resent-Date: Tue, 9 Mar 2010 18:10:01 GMT Resent-Message-Id: <201003091810.o29IA1mw010079@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, KATO Tsuguru Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 57594106564A for ; Tue, 9 Mar 2010 18:01:04 +0000 (UTC) (envelope-from tkato432@yahoo.com) Received: from msa103lp.auone-net.jp (msa103lp.auone-net.jp [222.3.140.166]) by mx1.freebsd.org (Postfix) with ESMTP id 1148C8FC0C for ; Tue, 9 Mar 2010 18:01:03 +0000 (UTC) Received: from localhost.localdomain (ZT037186.ppp.dion.ne.jp [59.128.37.186]) by msa103lp.auone-net.jp (au one net msa) with ESMTP id 9066747C036 for ; Wed, 10 Mar 2010 03:00:57 +0900 (JST) Message-Id: <20100310030014.88d59792.tkato432@yahoo.com> Date: Wed, 10 Mar 2010 03:00:14 +0900 From: KATO Tsuguru To: FreeBSD-gnats-submit@FreeBSD.org Cc: Subject: ports/144587: Update port: games/biorythm to 1.1.3 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Mar 2010 18:10:02 -0000 >Number: 144587 >Category: ports >Synopsis: Update port: games/biorythm to 1.1.3 >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: Tue Mar 09 18:10:01 UTC 2010 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 7.2-RELEASE-p7 i386 >Organization: >Environment: >Description: - Update to version 1.1.3 Remove file: files/patch-aa files/patch-ab pkg-plist >How-To-Repeat: >Fix: diff -urN /usr/ports/games/biorythm/Makefile games/biorythm/Makefile --- /usr/ports/games/biorythm/Makefile 2004-02-04 18:58:31.000000000 +0900 +++ games/biorythm/Makefile 2010-03-10 02:54:17.000000000 +0900 @@ -6,8 +6,7 @@ # PORTNAME= biorythm -PORTVERSION= 1.1.2 -PORTREVISION= 1 +PORTVERSION= 1.1.3 CATEGORIES= games MASTER_SITES= http://shh.thathost.com/pub-unix/files/ @@ -17,11 +16,22 @@ LIB_DEPENDS= shhmsg.1:${PORTSDIR}/devel/libshhmsg \ shhopt.1:${PORTSDIR}/devel/libshhopt -USE_GMAKE= yes - -MAN6= biorythm.6 - -post-install: +MAN6= ${PORTNAME}.6 +PORTDOCS= CREDITS ChangeLog README +PLIST_FILES= bin/${PORTNAME} + +post-patch: + @${REINPLACE_CMD} -e '/VERSION/s|[[:space:]]"$$|\\n"| ; \ + /COMPILED_DATE/d' ${WRKSRC}/biorythm.c + +do-build: + cd ${WRKSRC} && ${CC} ${CFLAGS} -I. -I${LOCALBASE}/include \ + -DVERSION=\"${PORTVERSION}\" -D_ANSI_SOURCE *.c \ + -o ${PORTNAME} -L${LOCALBASE}/lib -lshhmsg -lshhopt -lm + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.6 ${MAN6PREFIX}/man/man6 .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} .for file in CREDITS ChangeLog README diff -urN /usr/ports/games/biorythm/distinfo games/biorythm/distinfo --- /usr/ports/games/biorythm/distinfo 2005-11-25 13:34:46.000000000 +0900 +++ games/biorythm/distinfo 2010-03-10 00:12:01.000000000 +0900 @@ -1,3 +1,3 @@ -MD5 (biorythm-1.1.2.tar.gz) = 4a85612ec675ce9fae4bb77cc48a6143 -SHA256 (biorythm-1.1.2.tar.gz) = 39037605c34e05d72ba6a1fecb5d7bae4cc43acdad1c6c2281e0a5ae0c400c79 -SIZE (biorythm-1.1.2.tar.gz) = 6481 +MD5 (biorythm-1.1.3.tar.gz) = 5138036284617e783e1ee6901b441739 +SHA256 (biorythm-1.1.3.tar.gz) = 53a510b28eaa3308e4bd84b9e5c71c02580cbb9556ab23652aaf71839a4a2d35 +SIZE (biorythm-1.1.3.tar.gz) = 6490 diff -urN /usr/ports/games/biorythm/files/patch-aa games/biorythm/files/patch-aa --- /usr/ports/games/biorythm/files/patch-aa 2004-06-15 22:47:38.000000000 +0900 +++ games/biorythm/files/patch-aa 1970-01-01 09:00:00.000000000 +0900 @@ -1,48 +0,0 @@ ---- Makefile.orig Sat Mar 2 21:32:42 2002 -+++ Makefile Wed May 8 21:34:35 2002 -@@ -5,33 +5,29 @@ - VERMIN = 1 - VERPAT = 2 - VERSION = $(VERMAJ).$(VERMIN).$(VERPAT) --COMPILED_DATE = `date '+%Y-%m-%d %H:%M:%S'` --COMPILED_BY = `whoami` - - ########################################################################### - - # where are shhmsg and shhopt? --INCDIR = -I/usr/local/include --LIBDIR = -L/usr/local/lib -+INCDIR = -I${LOCALBASE}/include -+LIBDIR = -L${LOCALBASE}/lib - --INSTBASEDIR = /usr/local --INSTBINDIR = $(INSTBASEDIR)/games -+INSTBASEDIR = ${PREFIX} -+INSTBINDIR = $(INSTBASEDIR)/bin - INSTMANDIR = $(INSTBASEDIR)/man/man6 --INSTALL = install -m 644 --INSTALLPROG = install -s -m 755 --MKDIRP = install -d -m 755 -- --DEFINES = -DVERSION=\"$(VERSION)\" \ -- "-DCOMPILED_DATE=\"$(COMPILED_DATE)\"" \ -- "-DCOMPILED_BY=\"$(COMPILED_BY)\"" -+INSTALL = ${BSD_INSTALL_DATA} -+INSTALLPROG = ${BSD_INSTALL_PROGRAM} -+MKDIRP = mkdir -p -+ -+DEFINES = -DVERSION=\"$(VERSION)\" -D_ANSI_SOURCE - - ########################################################################### - --CC = gcc -+#CC = gcc - - OPTIM = -O2 --CCOPT = -Wall $(OPTIM) $(INCDIR) $(DEFINES) $(CFLAGS) --LDOPT = -s $(LIBDIR) $(LDFLAGS) -+CCOPT = $(INCDIR) $(DEFINES) $(CFLAGS) -+LDOPT = $(LIBDIR) $(LDFLAGS) - - LIBS = -lshhmsg -lshhopt -lm - OBJS = $(PROG).o date.o diff -urN /usr/ports/games/biorythm/files/patch-ab games/biorythm/files/patch-ab --- /usr/ports/games/biorythm/files/patch-ab 2002-05-21 17:13:17.000000000 +0900 +++ games/biorythm/files/patch-ab 1970-01-01 09:00:00.000000000 +0900 @@ -1,12 +0,0 @@ ---- biorythm.c.orig Sat Mar 2 21:31:53 2002 -+++ biorythm.c Wed May 8 21:52:41 2002 -@@ -148,8 +148,7 @@ - version(void) - { - printf( -- "biorythm " VERSION ", by Sverre H. Huseby " -- "(compiled " COMPILED_DATE " by " COMPILED_BY ")\n" -+ "biorythm " VERSION ", by Sverre H. Huseby\n" - ); - exit(0); - } diff -urN /usr/ports/games/biorythm/pkg-plist games/biorythm/pkg-plist --- /usr/ports/games/biorythm/pkg-plist 2001-12-24 11:14:34.000000000 +0900 +++ games/biorythm/pkg-plist 1970-01-01 09:00:00.000000000 +0900 @@ -1,5 +0,0 @@ -bin/biorythm -%%PORTDOCS%%share/doc/biorythm/CREDITS -%%PORTDOCS%%share/doc/biorythm/ChangeLog -%%PORTDOCS%%share/doc/biorythm/README -%%PORTDOCS%%@dirrm share/doc/biorythm >Release-Note: >Audit-Trail: >Unformatted: