From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Aug 21 17:10:07 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 8F35916A4CE for ; Sat, 21 Aug 2004 17:10:07 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7547743D55 for ; Sat, 21 Aug 2004 17:10:07 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i7LHA7hm058614 for ; Sat, 21 Aug 2004 17:10:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i7LHA7GA058613; Sat, 21 Aug 2004 17:10:07 GMT (envelope-from gnats) Resent-Date: Sat, 21 Aug 2004 17:10:07 GMT Resent-Message-Id: <200408211710.i7LHA7GA058613@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 8FD7316A4CE for ; Sat, 21 Aug 2004 17:00:52 +0000 (GMT) Received: from hfep03.dion.ne.jp (hfep03.dion.ne.jp [203.181.105.69]) by mx1.FreeBSD.org (Postfix) with ESMTP id 923E243D5E for ; Sat, 21 Aug 2004 17:00:51 +0000 (GMT) (envelope-from tkato432@yahoo.com) Received: from localhost ([61.198.241.25]) by hfep03.dion.ne.jp with SMTP id <20040821170048880.LJYG@hfep03.dion.ne.jp> for ; Sun, 22 Aug 2004 02:00:48 +0900 Message-Id: <20040822020010.7ed23a17.tkato432@yahoo.com> Date: Sun, 22 Aug 2004 02:00:10 +0900 From: KATO Tsuguru To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/70781: Update port: astro/cfitsio to 2.500 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: Sat, 21 Aug 2004 17:10:07 -0000 >Number: 70781 >Category: ports >Synopsis: Update port: astro/cfitsio to 2.500 >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: Sat Aug 21 17:10:07 GMT 2004 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 4.10-RELEASE-p2 i386 >Organization: >Environment: >Description: - Update to version 2.500 >How-To-Repeat: >Fix: diff -urN /usr/ports/astro/cfitsio/Makefile astro/cfitsio/Makefile --- /usr/ports/astro/cfitsio/Makefile Sat May 1 00:33:40 2004 +++ astro/cfitsio/Makefile Sun Aug 22 01:37:46 2004 @@ -6,7 +6,7 @@ # PORTNAME= cfitsio -PORTVERSION= 2.490 +PORTVERSION= 2.500 CATEGORIES= astro MASTER_SITES= ftp://heasarc.gsfc.nasa.gov/software/fitsio/c/ DISTNAME= ${PORTNAME}${PORTVERSION:S/.//} @@ -15,17 +15,29 @@ COMMENT= Library for reading and writing files in FITS data format WRKSRC= ${WRKDIR}/${PORTNAME} + +USE_REINPLACE= yes GNU_CONFIGURE= yes INSTALLS_SHLIB= yes -ALL_TARGET= shared +ALL_TARGET= stand_alone shared + +post-patch: + @${GREP} -lR "" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \ + 's|||g' + @${REINPLACE_CMD} -e 's|="\.so"|=".so.0"|g' ${WRKSRC}/configure -post-install: - ${MV} ${PREFIX}/lib/libcfitsio.so ${PREFIX}/lib/libcfitsio.so.0 - ${LN} -s ${PREFIX}/lib/libcfitsio.so.0 ${PREFIX}/lib/libcfitsio.so -.ifndef(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} - ${CP} -R ${WRKSRC}/*.doc ${DOCSDIR} +do-install: +.for file in drvrsmem.h fitsio.h fitsio2.h longnam.h + ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/include +.endfor +.for file in libcfitsio.a libcfitsio.so.0 + ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/lib +.endfor + @${LN} -sf libcfitsio.so.0 ${PREFIX}/lib/libcfitsio.so +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/*.doc ${DOCSDIR} .endif .include diff -urN /usr/ports/astro/cfitsio/distinfo astro/cfitsio/distinfo --- /usr/ports/astro/cfitsio/distinfo Sat May 1 00:33:40 2004 +++ astro/cfitsio/distinfo Sun Aug 22 01:14:36 2004 @@ -1,2 +1,2 @@ -MD5 (cfitsio2490.tar.gz) = 271b07dcfe3e928e5138d64672eb77d9 -SIZE (cfitsio2490.tar.gz) = 2032914 +MD5 (cfitsio2500.tar.gz) = 5447664f2948de94a180f447c2b15a5f +SIZE (cfitsio2500.tar.gz) = 2050459 >Release-Note: >Audit-Trail: >Unformatted: