1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00
freebsd-ports/finance/libofx/Makefile
John Marino eb06a64599 finance/libobx: Fix numerous issues
I came to fix only one problem with libofx, but when it failed to pass
stage-QA checks, I found others.

  1) CXXFLAGS not propagated (PHB 12.9) due to bug in configure (blanket)
  2) DragonFly iconv support (blanket, taken from DPorts)
  3) DOXYGEN option was no implemented
     * --disable-doxygen was set rather than DOXYGEN_CONFIGURE_ENABLE
     * DOXYGEN_BUILD_DEPENDS was not set
  4) disable doxygen setting, html documentation got installed
     unconditionally, but this was not reflected in plist

I decided that --disable-doxygen was the correct option because html files
were already provided an installed, so the DOXYGEN option was removed.  I
used PORTDOCS to fix the pkg-plist.  This port passes stage-QA now.

Approved by:	blanket and just-fix-it
2015-03-20 10:00:24 +00:00

37 lines
865 B
Makefile

# Created by: Glenn Johnson <glennpj@charter.net>
# $FreeBSD$
PORTNAME= libofx
PORTVERSION= 0.9.10
PORTREVISION= 1
CATEGORIES= finance
MASTER_SITES= SF
MAINTAINER= jhale@FreeBSD.org
COMMENT= OpenSource implementation of the OFX (Open Financial eXchange)
LICENSE= GPLv2
LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl \
libxml++-2.6.so:${PORTSDIR}/textproc/libxml++26 \
libosp.so:${PORTSDIR}/textproc/opensp
USES= gmake iconv pkgconfig pathfix libtool
CONFIGURE_ARGS= --disable-doxygen --disable-dot --disable-gengetopt \
--with-opensp-includes=${LOCALBASE}/include/OpenSP \
--with-opensp-libs=${LOCALBASE}/lib
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
INSTALL_TARGET= install-strip
PORTDOCS= *
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
OPTIONS_DEFINE= DOCS
post-install:
${RM} -f ${STAGEDIR}${DOCSDIR}/COPYING
.include <bsd.port.mk>