From owner-svn-ports-all@freebsd.org Sun Dec 6 17:51:40 2015 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 393F89A074D; Sun, 6 Dec 2015 17:51:40 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 04D5915ED; Sun, 6 Dec 2015 17:51:39 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id tB6Hpdwd073624; Sun, 6 Dec 2015 17:51:39 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id tB6HpdPu073623; Sun, 6 Dec 2015 17:51:39 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201512061751.tB6HpdPu073623@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Sun, 6 Dec 2015 17:51:39 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r403130 - head/astro/cfitsio X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Dec 2015 17:51:40 -0000 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@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}/