Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Oct 2012 16:06:39 +0000 (UTC)
From:      Eitan Adler <eadler@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r305381 - head/finance/libofx
Message-ID:  <201210061606.q96G6drx094051@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: eadler
Date: Sat Oct  6 16:06:39 2012
New Revision: 305381
URL: http://svn.freebsd.org/changeset/ports/305381

Log:
  Convert to OptionsNG
  Trim header
  Remove non-needed LICENSE_FILE
  
  Approved by:	jhale (maintainer)

Modified:
  head/finance/libofx/Makefile

Modified: head/finance/libofx/Makefile
==============================================================================
--- head/finance/libofx/Makefile	Sat Oct  6 16:02:55 2012	(r305380)
+++ head/finance/libofx/Makefile	Sat Oct  6 16:06:39 2012	(r305381)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:   libofx
-# Date created:        February 16 2003
-# Whom:                Glenn Johnson <glennpj@charter.net>
-#
+# Created by: Glenn Johnson <glennpj@charter.net>
 # $FreeBSD$
-#
 
 PORTNAME=	libofx
 PORTVERSION=	0.9.5
@@ -31,24 +27,24 @@ CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 
 LICENSE=	GPLv2
-LICENSE_FILE=	${WRKSRC}/COPYING
 
 MAN1=		ofxconnect.1 \
 		ofxdump.1
 
 PORTDOCS=	*
 
-OPTIONS=	APIDOC "Install full API documentation" off
+OPTIONS_DEFINE=	APIDOC
+APIDOC_DESC=	Install full API documentation
 
 .include <bsd.port.options.mk>
 
 post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}
 .for file in AUTHORS ChangeLog INSTALL NEWS README totest.txt
 	${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
 .endfor
-.if defined(WITH_APIDOC)
+.if ${PORT_OPTIONS:MAPIDOC}
 	@(cd ${WRKSRC}/doc; ${COPYTREE_SHARE} html ${DOCSDIR})
 .endif
 .endif



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210061606.q96G6drx094051>