aboutsummaryrefslogtreecommitdiffstats
path: root/finance
diff options
context:
space:
mode:
authoreadler <eadler@FreeBSD.org>2012-10-07 00:06:39 +0800
committereadler <eadler@FreeBSD.org>2012-10-07 00:06:39 +0800
commitf71b030d031a4aa3d8de166def60a985e27d5b30 (patch)
tree5117dcda799f93df92ab97ddf935f41d3252d29b /finance
parent1179492848cb0371a128e452bcd9858d518ca172 (diff)
downloadfreebsd-ports-gnome-f71b030d031a4aa3d8de166def60a985e27d5b30.tar.gz
freebsd-ports-gnome-f71b030d031a4aa3d8de166def60a985e27d5b30.tar.zst
freebsd-ports-gnome-f71b030d031a4aa3d8de166def60a985e27d5b30.zip
Convert to OptionsNG
Trim header Remove non-needed LICENSE_FILE Approved by: jhale (maintainer)
Diffstat (limited to 'finance')
-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