From 8621be38c0ce6585dabb8cc71fbd7e45c0c74221 Mon Sep 17 00:00:00 2001 From: wen Date: Wed, 11 Jul 2012 07:42:19 +0000 Subject: - Update to 3.300 [1] - Pet portlint: remove ABI version number from LIB_DEPENDS [1] - Convert to new options framework [1] - Reset maintainer PR: 169769 [1] Submitted by: sunpoet@ [1] --- astro/cfitsio/Makefile | 12 ++++++++---- astro/cfitsio/distinfo | 4 ++-- 2 files changed, 10 insertions(+), 6 deletions(-) (limited to 'astro') diff --git a/astro/cfitsio/Makefile b/astro/cfitsio/Makefile index bf12c1ae14f5..e57434ea2a0d 100644 --- a/astro/cfitsio/Makefile +++ b/astro/cfitsio/Makefile @@ -6,16 +6,18 @@ # 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/ DISTNAME= ${PORTNAME}${PORTVERSION:S/.//} -MAINTAINER= wenheping@gmail.com +MAINTAINER= ports@FreeBSD.org 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 @@ CONFIGURE_ARGS= ac_cv_prog_FC="f2c" ALL_TARGET= shared USE_LDCONFIG= yes +.include + post-patch: @${GREP} -lR "" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \ 's|||g' @@ -41,7 +45,7 @@ do-install: .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 diff --git a/astro/cfitsio/distinfo b/astro/cfitsio/distinfo index f0fe60767b36..9c42a82108e1 100644 --- a/astro/cfitsio/distinfo +++ b/astro/cfitsio/distinfo @@ -1,2 +1,2 @@ -SHA256 (cfitsio3250.tar.gz) = 2c9f6f34e539306778b114cdd72cf7b52a2229591cf661778f84a8a7eac95154 -SIZE (cfitsio3250.tar.gz) = 2606242 +SHA256 (cfitsio3300.tar.gz) = 7a2b5401c184297df1e44a4f4de564feff74d64d038918213526aa454db03f3e +SIZE (cfitsio3300.tar.gz) = 4660623 -- cgit