Options NG Changes Fix: Patch attached with submission follows:
Maintainer of astro/wcslib, Please note that PR ports/173818 has just been submitted. If it contains a patch for an upgrade, an enhancement or a bug fix you agree on, reply to this email stating that you approve the patch and a committer will take care of it. The full text of the PR can be found at: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/173818 -- Edwin Groothuis via the GNATS Auto Assign Tool edwin@FreeBSD.org
State Changed From-To: open->feedback Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Responsible Changed From-To: freebsd-ports-bugs->wxs I'll take it.
Author: wxs Date: Tue Jan 8 16:31:50 2013 New Revision: 310100 URL: http://svnweb.freebsd.org/changeset/ports/310100 Log: Trim header. Convert to new options. PR: ports/173818 Submitted by: Chris Petrik <c.petrik.sosa@gmail.com> Approved by: maintainer timeout Modified: head/astro/wcslib/Makefile (contents, props changed) Modified: head/astro/wcslib/Makefile ============================================================================== --- head/astro/wcslib/Makefile Tue Jan 8 16:24:07 2013 (r310099) +++ head/astro/wcslib/Makefile Tue Jan 8 16:31:50 2013 (r310100) @@ -1,8 +1,4 @@ -# ex:ts=4 -# New ports collection makefile for: wcslib -# Date created: Wed Jul 15 10:09:45 EST 2009 -# Whom: Tony Maher <tonymaher@optusnet.com.au> -# +# Created by: Tony Maher <tonymaher@optusnet.com.au> # $FreeBSD$ PORTNAME= wcslib @@ -25,20 +21,23 @@ MAN1= fitshdr.1 # See makedefs.in which describes why you want to set the extra support. # For most users it will not be required. -OPTIONS= CFITSIO "Add cfitsio support (for tests only)" Off \ - PGPLOT "Add pgplot support (for tests only)" Off +OPTIONS_DEFINE= CFITSIO PGPLOT +CFITSIO_DESC= Add cfitsio support (for tests only) +PGPLOT_DESC= Add pgplot support (for tests only) + +.include <bsd.port.options.mk> # The configure script unconditionally searches for the cftisio library # and uses it if found. -.if defined(WITH_CFITSIO) || exists(${LOCALBASE}/lib/libcfitsio.so) +.if ${PORT_OPTIONS:MCFITSIO} || exists(${LOCALBASE}/lib/libcfitsio.so) PLIST_SUB+= HPXCVT="" LIB_DEPENDS+= cfitsio:${PORTSDIR}/astro/cfitsio .else PLIST_SUB+= HPXCVT="@comment " .endif -.if defined(WITH_PGPLOT) +.if ${PORT_OPTIONS:MPGPLOT} LIB_DEPENDS+= pgplot.5:${PORTSDIR}/graphics/pgplot .endif @@ -47,7 +46,7 @@ post-patch: ${WRKSRC}/GNUmakefile post-install: -.if !defined(NOPORTDOCS) +.if ! ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} (cd ${WRKSRC}/ && ${INSTALL_DATA} CHANGES README COPYING COPYING.LESSER wcslib.pdf ${DOCSDIR}) @${MKDIR} ${DOCSDIR}/html _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
State Changed From-To: feedback->closed Committed, with minor changes. Thanks!