From 5d44581a5b26b1abe4e764d76248e45c2a887062 Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Sun, 6 Dec 2015 17:51:38 +0000 Subject: [PATCH] - Fix LICENSE - Convert to new options target helper --- astro/cfitsio/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/astro/cfitsio/Makefile b/astro/cfitsio/Makefile index 2bacb7d68eec..d40374b913b3 100644 --- a/astro/cfitsio/Makefile +++ b/astro/cfitsio/Makefile @@ -15,8 +15,6 @@ DISTNAME= ${PORTNAME}${PORTVERSION:R}${PORTVERSION:E} MAINTAINER= sunpoet@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_VER} \ 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}/