Date: Sun, 10 Mar 2013 08:26:20 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r313813 - head/astro/cfitsio Message-ID: <201303100826.r2A8QKP2018263@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Sun Mar 10 08:26:20 2013 New Revision: 313813 URL: http://svnweb.freebsd.org/changeset/ports/313813 Log: - Update to 3.33 - Remove LICENSE_FILE for well-known licenses - Use PORTDOCS - Cosmetic change - Take maintainership Changes: http://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/changes.txt Modified: head/astro/cfitsio/Makefile head/astro/cfitsio/distinfo head/astro/cfitsio/pkg-plist (contents, props changed) Modified: head/astro/cfitsio/Makefile ============================================================================== --- head/astro/cfitsio/Makefile Sun Mar 10 07:01:48 2013 (r313812) +++ head/astro/cfitsio/Makefile Sun Mar 10 08:26:20 2013 (r313813) @@ -2,56 +2,51 @@ # $FreeBSD$ PORTNAME= cfitsio -PORTVERSION= 3.310 +PORTVERSION= 3.330 CATEGORIES= astro -MASTER_SITES= ftp://heasarc.gsfc.nasa.gov/software/fitsio/c/%SUBDIR%/ \ - http://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/%SUBDIR%/ -MASTER_SITE_SUBDIR= . oldvers -DISTNAME= ${PORTNAME}${PORTVERSION:S/.//} +MASTER_SITES= http://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/ \ + http://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/oldvers/ \ + ftp://heasarc.gsfc.nasa.gov/software/fitsio/c/ \ + ftp://heasarc.gsfc.nasa.gov/software/fitsio/c/oldvers/ \ + LOCAL/sunpoet +DISTNAME= ${PORTNAME}${PORTVERSION:R}${PORTVERSION:E} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= sunpoet@FreeBSD.org COMMENT= Library for reading and writing files in FITS data format LICENSE= MIT -LICENSE_FILE= ${WRKSRC}/License.txt LIB_DEPENDS= f2c:${PORTSDIR}/lang/f2c OPTIONS_DEFINE= DOCS -WRKSRC= ${WRKDIR}/${PORTNAME} - -USE_PKGCONFIG= build -GNU_CONFIGURE= yes -CONFIGURE_ARGS= ac_cv_prog_FC="f2c" ALL_TARGET= shared -USE_LDCONFIG= yes +CONFIGURE_ARGS= ac_cv_prog_FC="f2c" +GNU_CONFIGURE= yes MAKE_JOBS_SAFE= yes +USE_LDCONFIG= yes +USE_PKGCONFIG= build +WRKSRC= ${WRKDIR}/${PORTNAME} -.include <bsd.port.options.mk> +PORTDOCS= * -post-extract: - @cd ${WRKSRC} && ${MV} zlib.h zlib.h.dist +.include <bsd.port.options.mk> post-patch: + @${REINPLACE_CMD} -e 's|="\.so"|=".so.0"|g' ${WRKSRC}/configure + @${MV} ${WRKSRC}/zlib.h ${WRKSRC}/zlib.h.dist @${GREP} -lR "<malloc.\h>" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \ 's|<malloc\.h>|<stdlib.h>|g' - @${REINPLACE_CMD} -e 's|="\.so"|=".so.0"|g' ${WRKSRC}/configure do-install: -.for file in drvrsmem.h fitsio.h fitsio2.h longnam.h - ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/include -.endfor -.for f in libcfitsio.so.0 - ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/lib -.endfor - @${LN} -sf libcfitsio.so.0 ${PREFIX}/lib/libcfitsio.so -.for f in cfitsio.pc - ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/libdata/pkgconfig -.endfor + cd ${WRKSRC}/ && \ + ${INSTALL_DATA} drvrsmem.h fitsio.h fitsio2.h longnam.h ${PREFIX}/include/ && \ + ${INSTALL_LIB} libcfitsio.so.0 ${PREFIX}/lib/ && \ + ${INSTALL_DATA} cfitsio.pc ${PREFIX}/libdata/pkgconfig/ + ${LN} -fs libcfitsio.so.0 ${PREFIX}/lib/libcfitsio.so .if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/*.doc ${DOCSDIR} + ${MKDIR} ${DOCSDIR}/ + ${INSTALL_DATA} ${WRKSRC}/*.doc ${DOCSDIR}/ .endif .include <bsd.port.mk> Modified: head/astro/cfitsio/distinfo ============================================================================== --- head/astro/cfitsio/distinfo Sun Mar 10 07:01:48 2013 (r313812) +++ head/astro/cfitsio/distinfo Sun Mar 10 08:26:20 2013 (r313813) @@ -1,2 +1,2 @@ -SHA256 (cfitsio3310.tar.gz) = e8a70bca202caa4773c4a50288622ef5398752de5a5e8fcfc232859f928ff5d9 -SIZE (cfitsio3310.tar.gz) = 4664559 +SHA256 (cfitsio3330.tar.gz) = ed686cc776641d4352f8670d3dd9a4750bdb54f2fe04c8d81fb8eeb79c1d2b25 +SIZE (cfitsio3330.tar.gz) = 4481323 Modified: head/astro/cfitsio/pkg-plist ============================================================================== --- head/astro/cfitsio/pkg-plist Sun Mar 10 07:01:48 2013 (r313812) +++ head/astro/cfitsio/pkg-plist Sun Mar 10 08:26:20 2013 (r313813) @@ -5,7 +5,3 @@ include/longnam.h lib/libcfitsio.so lib/libcfitsio.so.0 libdata/pkgconfig/cfitsio.pc -%%PORTDOCS%%%%DOCSDIR%%/cfitsio.doc -%%PORTDOCS%%%%DOCSDIR%%/cfortran.doc -%%PORTDOCS%%%%DOCSDIR%%/fitsio.doc -%%PORTDOCS%%@dirrm %%DOCSDIR%%
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303100826.r2A8QKP2018263>