svn commit: r403130 - head/astro/cfitsio
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun Dec 6 17:51:40 UTC 2015
Author: sunpoet
Date: Sun Dec 6 17:51:38 2015
New Revision: 403130
URL: https://svnweb.freebsd.org/changeset/ports/403130
Log:
- Fix LICENSE
- Convert to new options target helper
Modified:
head/astro/cfitsio/Makefile
Modified: head/astro/cfitsio/Makefile
==============================================================================
--- head/astro/cfitsio/Makefile Sun Dec 6 16:21:47 2015 (r403129)
+++ head/astro/cfitsio/Makefile Sun Dec 6 17:51:38 2015 (r403130)
@@ -15,8 +15,6 @@ DISTNAME= ${PORTNAME}${PORTVERSION:R}${P
MAINTAINER= sunpoet at FreeBSD.org
COMMENT= Library for reading and writing files in FITS data format
-LICENSE= MIT
-
LIB_DEPENDS= libf2c.so:${PORTSDIR}/lang/f2c
OPTIONS_DEFINE= DOCS
@@ -36,7 +34,7 @@ PLIST_SUB= SHLIB_MAJOR_VER=${SHLIB_MAJOR
PORTDOCS= *
SHLIB_MAJOR_VER=2
-SHLIB_MINOR_VER=${PORTVERSION:S/0$//}
+SHLIB_MINOR_VER=${PORTVERSION:S|0$||}
do-install:
cd ${WRKSRC}/ && ${INSTALL_DATA} drvrsmem.h fitsio.h fitsio2.h longnam.h ${STAGEDIR}${PREFIX}/include/
@@ -45,6 +43,8 @@ do-install:
cd ${WRKSRC}/ && ${INSTALL_DATA} cfitsio.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig/
${LN} -fs libcfitsio.so.${SHLIB_MAJOR_VER}.${SHLIB_MINOR_VER} ${STAGEDIR}${PREFIX}/lib/libcfitsio.so.${SHLIB_MAJOR_VER}
${LN} -fs libcfitsio.so.${SHLIB_MAJOR_VER} ${STAGEDIR}${PREFIX}/lib/libcfitsio.so
+
+do-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}/
${INSTALL_DATA} ${WRKSRC}/docs/*.doc ${STAGEDIR}${DOCSDIR}/
More information about the svn-ports-all
mailing list