Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jul 2012 01:27:44 +0800 (CST)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        wenheping@gmail.com
Subject:   ports/169769: [PATCH] astro/cfitsio: update to 3.300
Message-ID:  <3WWr2m29PWz6gX@sunpoet.net>
Resent-Message-ID: <201207101730.q6AHUAf2042974@freefall.freebsd.org>

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

>Number:         169769
>Category:       ports
>Synopsis:       [PATCH] astro/cfitsio: update to 3.300
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 10 17:30:10 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Sunpoet Po-Chuan Hsieh
>Release:        FreeBSD 9.0-STABLE amd64
>Organization:
The FreeBSD Project
>Environment:
System: FreeBSD bonjour.sunpoet.net 9.0-STABLE FreeBSD 9.0-STABLE #0: Sat Jul  7 22:40:22 CST
>Description:
- Update to 3.300
- Pet portlint: remove ABI version number from LIB_DEPENDS
- Convert to new options framework

Changes:	http://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/changes.txt

Port maintainer (wenheping@gmail.com) is cc'd.

Generated with FreeBSD Port Tools 0.99_6 (mode: update, diff: CVS)
>How-To-Repeat:
>Fix:

--- cfitsio-3.300.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/astro/cfitsio/Makefile,v
retrieving revision 1.16
diff -u -u -r1.16 Makefile
--- Makefile	11 Aug 2011 19:18:59 -0000	1.16
+++ Makefile	10 Jul 2012 17:22:19 -0000
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	cfitsio
-PORTVERSION=	3.250
+PORTVERSION=	3.300
 CATEGORIES=	astro
 MASTER_SITES=	ftp://heasarc.gsfc.nasa.gov/software/fitsio/c/ \
 		ftp://heasarc.gsfc.nasa.gov/software/fitsio/c/oldvers/
@@ -15,7 +15,9 @@
 MAINTAINER=	wenheping@gmail.com
 COMMENT=	Library for reading and writing files in FITS data format
 
-LIB_DEPENDS=	f2c.2:${PORTSDIR}/lang/f2c
+LIB_DEPENDS=	f2c:${PORTSDIR}/lang/f2c
+
+OPTIONS_DEFINE=	DOCS
 
 WRKSRC=		${WRKDIR}/${PORTNAME}
 
@@ -25,6 +27,8 @@
 ALL_TARGET=	shared
 USE_LDCONFIG=	yes
 
+.include <bsd.port.options.mk>
+
 post-patch:
 	@${GREP} -lR "<malloc.\h>" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
 		's|<malloc\.h>|<stdlib.h>|g'
@@ -41,7 +45,7 @@
 .for f in cfitsio.pc
 	${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/libdata/pkgconfig
 .endfor
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/*.doc ${DOCSDIR}
 .endif
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/astro/cfitsio/distinfo,v
retrieving revision 1.10
diff -u -u -r1.10 distinfo
--- distinfo	5 Jan 2011 06:52:02 -0000	1.10
+++ distinfo	10 Jul 2012 17:22:19 -0000
@@ -1,2 +1,2 @@
-SHA256 (cfitsio3250.tar.gz) = 2c9f6f34e539306778b114cdd72cf7b52a2229591cf661778f84a8a7eac95154
-SIZE (cfitsio3250.tar.gz) = 2606242
+SHA256 (cfitsio3300.tar.gz) = 7a2b5401c184297df1e44a4f4de564feff74d64d038918213526aa454db03f3e
+SIZE (cfitsio3300.tar.gz) = 4660623
--- cfitsio-3.300.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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