aboutsummaryrefslogtreecommitdiffstats
path: root/astro/cfitsio
diff options
context:
space:
mode:
authorwen <wen@FreeBSD.org>2012-07-11 15:42:19 +0800
committerwen <wen@FreeBSD.org>2012-07-11 15:42:19 +0800
commit8621be38c0ce6585dabb8cc71fbd7e45c0c74221 (patch)
treed93b97240ad26778632589ae665eb7724b0a3d9c /astro/cfitsio
parentd6ff319b25aa57339cfc2e204a53d990c7ab2193 (diff)
downloadfreebsd-ports-gnome-8621be38c0ce6585dabb8cc71fbd7e45c0c74221.tar.gz
freebsd-ports-gnome-8621be38c0ce6585dabb8cc71fbd7e45c0c74221.tar.zst
freebsd-ports-gnome-8621be38c0ce6585dabb8cc71fbd7e45c0c74221.zip
- 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]
Diffstat (limited to 'astro/cfitsio')
-rw-r--r--astro/cfitsio/Makefile12
-rw-r--r--astro/cfitsio/distinfo4
2 files changed, 10 insertions, 6 deletions
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 <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 @@ 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