svn commit: r305381 - head/finance/libofx
Eitan Adler
eadler at FreeBSD.org
Sat Oct 6 16:06:40 UTC 2012
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 at charter.net>
-#
+# Created by: Glenn Johnson <glennpj at 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
More information about the svn-ports-head
mailing list