From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Mar 7 06:40:14 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 81F8816A4DE for ; Sun, 7 Mar 2004 06:40:14 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 75D4143D2F for ; Sun, 7 Mar 2004 06:40:14 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i27EeEbv071133 for ; Sun, 7 Mar 2004 06:40:14 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i27EeESR071132; Sun, 7 Mar 2004 06:40:14 -0800 (PST) (envelope-from gnats) Resent-Date: Sun, 7 Mar 2004 06:40:14 -0800 (PST) Resent-Message-Id: <200403071440.i27EeESR071132@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 [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2CF4E16A4CE for ; Sun, 7 Mar 2004 06:32:23 -0800 (PST) Received: from hfep03.dion.ne.jp (hfep03.dion.ne.jp [203.181.105.69]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A25D43D2D for ; Sun, 7 Mar 2004 06:32:22 -0800 (PST) (envelope-from tkato@prontomail.com) Received: from localhost ([218.222.54.254]) by hfep03.dion.ne.jp with SMTP id <20040307143217892.QIMP@hfep03.dion.ne.jp> for ; Sun, 7 Mar 2004 23:32:17 +0900 Message-Id: <20040307233021.2142b94d.tkato@prontomail.com> Date: Sun, 7 Mar 2004 23:30:21 +0900 From: KATO Tsuguru To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/63879: Update port: math/eukleides to 0.9.2.2 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Mar 2004 14:40:14 -0000 >Number: 63879 >Category: ports >Synopsis: Update port: math/eukleides to 0.9.2.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 Mar 07 06:40:14 PST 2004 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 4.9-RELEASE-p3 i386 >Organization: >Environment: >Description: - Update to version 0.9.2.2 Remove file: files/patch-Makefile pkg-plist >How-To-Repeat: >Fix: diff -urN /usr/ports/math/eukleides/Makefile math/eukleides/Makefile --- /usr/ports/math/eukleides/Makefile Wed Feb 4 19:01:31 2004 +++ math/eukleides/Makefile Sun Mar 7 20:38:39 2004 @@ -7,8 +7,7 @@ # PORTNAME= eukleides -PORTVERSION= 0.9.2.1 -PORTREVISION= 1 +PORTVERSION= 0.9.2.2 CATEGORIES= math MASTER_SITES= http://perso.wanadoo.fr/obrecht/download/ DISTNAME= ${PORTNAME}.${PORTVERSION:R}rev${PORTVERSION:E} @@ -19,12 +18,28 @@ RUN_DEPENDS= pstoedit:${PORTSDIR}/graphics/pstoedit \ epstopdf:${PORTSDIR}/print/teTeX -WRKSRC= ${WRKDIR}/${PORTNAME}.${PORTVERSION:R} - USE_BISON= yes +USE_REINPLACE= yes USE_GMAKE= yes +MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} -c" +ALL_TARGET= eukleides info + +MAN1= eukleides.1 +MLINKS= eukleides.1 euk2eps.1 \ + eukleides.1 euk2edit.1 +INFO= eukleides +PLIST_FILES= bin/euk2edit bin/euk2eps bin/eukleides + +post-patch: + ${GREP} -lR "#!/bin/bash" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \ + 's|#!/bin/bash|#!/bin/sh|g' -MAN1= eukleides.1 -MLINKS= eukleides.1 euk2eps.1 eukleides.1 euk2edit.1 +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/eukleides ${PREFIX}/bin/eukleides + ${INSTALL_SCRIPT} ${WRKSRC}/euk2edit ${PREFIX}/bin/euk2edit + ${INSTALL_SCRIPT} ${WRKSRC}/euk2eps ${PREFIX}/bin/euk2eps + ${INSTALL_MAN} ${WRKSRC}/eukleides.man ${MANPREFIX}/man/man1/eukleides.1 + ${INSTALL_DATA} ${WRKSRC}/eukleides.info ${PREFIX}/info/eukleides.info + @install-info ${PREFIX}/info/eukleides.info ${PREFIX}/info/dir .include diff -urN /usr/ports/math/eukleides/distinfo math/eukleides/distinfo --- /usr/ports/math/eukleides/distinfo Fri Jan 30 14:49:26 2004 +++ math/eukleides/distinfo Sun Mar 7 19:58:41 2004 @@ -1,2 +1,2 @@ -MD5 (eukleides.0.9.2rev1.tar.gz) = 241018c6eabfcb653962eed750936d0e -SIZE (eukleides.0.9.2rev1.tar.gz) = 46114 +MD5 (eukleides.0.9.2rev2.tar.gz) = d2284b3fcdd4dae8c864c39a29176ac1 +SIZE (eukleides.0.9.2rev2.tar.gz) = 46260 diff -urN /usr/ports/math/eukleides/files/patch-Makefile math/eukleides/files/patch-Makefile --- /usr/ports/math/eukleides/files/patch-Makefile Mon Jan 6 16:00:42 2003 +++ math/eukleides/files/patch-Makefile Thu Jan 1 09:00:00 1970 @@ -1,52 +0,0 @@ ---- Makefile.orig Tue Nov 12 06:25:09 2002 -+++ Makefile Sat Dec 14 08:42:59 2002 -@@ -1,18 +1,20 @@ - # Eukleides 0.9.2 makefile - # Copyright (c) Christian Obrecht 2000-2002 - --CC = gcc --CFLAGS = -c -O2 -+CC ?= gcc -+CFLAGS += -c - OBJECTS = lex.yy.o parser.tab.o main.o geometry.o drawing.o - LEX = flex - YACC = bison -d --PREFIX = /usr/local/ --BIN = $(PREFIX)bin/ --MAN = $(PREFIX)man/man1/ --INFO = $(PREFIX)info/ -+PREFIX ?= /usr/local/ -+BIN = $(PREFIX)/bin/ -+MAN = $(PREFIX)/man/man1/ -+INFO = $(PREFIX)/info/ - PAPER = --texinfo=@afourpaper - DOC = eukleides.info eukleides.dvi eukleides.ps - -+all : eukleides info -+ - eukleides : $(OBJECTS) - $(CC) -o $@ -lm $(OBJECTS) - -@@ -42,15 +44,13 @@ - book : dvi - dvips -f eukleides.dvi > eukleides.ps - --install : eukleides man info -- strip eukleides ; \ -- cp -f eukleides $(BIN)eukleides ; \ -- chmod +x euk2eps ; \ -- cp -f euk2eps $(BIN)euk2eps ; \ -- chmod +x euk2edit ; \ -- cp -f euk2edit $(BIN)euk2edit ; \ -- install-info eukleides.info $(INFO)dir ; \ -- cp -f eukleides.info $(INFO)eukleides.info -+install : eukleides info -+ ${BSD_INSTALL_PROGRAM} eukleides $(BIN)eukleides -+ ${BSD_INSTALL_SCRIPT} euk2eps $(BIN)euk2eps -+ ${BSD_INSTALL_SCRIPT} euk2edit $(BIN)euk2edit -+ ${BSD_INSTALL_MAN} eukleides.man $(MAN)eukleides.1 -+ ${BSD_INSTALL_DATA} eukleides.info $(INFO)eukleides.info -+ install-info eukleides.info $(INFO)dir - - uninstall : - rm -f $(BIN)eukleides ; \ diff -urN /usr/ports/math/eukleides/pkg-plist math/eukleides/pkg-plist --- /usr/ports/math/eukleides/pkg-plist Wed Jun 5 03:40:20 2002 +++ math/eukleides/pkg-plist Thu Jan 1 09:00:00 1970 @@ -1,6 +0,0 @@ -bin/eukleides -bin/euk2eps -bin/euk2edit -@unexec install-info --delete %D/info/eukleides.info %D/info/dir -info/eukleides.info -@exec install-info %D/info/eukleides.info %D/info/dir >Release-Note: >Audit-Trail: >Unformatted: