summaryrefslogtreecommitdiff
path: root/finance/libofx
diff options
context:
space:
mode:
authorEitan Adler <eadler@FreeBSD.org>2012-10-06 16:06:39 +0000
committerEitan Adler <eadler@FreeBSD.org>2012-10-06 16:06:39 +0000
commitb3f3b4028107fedc7980e06cff72170476c78147 (patch)
tree5117dcda799f93df92ab97ddf935f41d3252d29b /finance/libofx
parent- trim Makefile header (diff)
Convert to OptionsNG
Trim header Remove non-needed LICENSE_FILE Approved by: jhale (maintainer)
Notes
Notes: svn path=/head/; revision=305381
Diffstat (limited to 'finance/libofx')
-rw-r--r--finance/libofx/Makefile14
1 files changed, 5 insertions, 9 deletions
diff --git a/finance/libofx/Makefile b/finance/libofx/Makefile
index 2410d99000da..ed37c0e6aa6c 100644
--- a/finance/libofx/Makefile
+++ b/finance/libofx/Makefile
@@ -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