diff options
author | Greg Larkin <glarkin@FreeBSD.org> | 2008-11-11 21:20:09 +0000 |
---|---|---|
committer | Greg Larkin <glarkin@FreeBSD.org> | 2008-11-11 21:20:09 +0000 |
commit | 13f2f46944cf3658725655b40b6ba09c4d0f36aa (patch) | |
tree | 2f7deef4607648e440cc2b85a46bda00ca9a1248 /finance/kmymoney2/Makefile | |
parent | 12ddb34ac66f02fb2a10347614ef4689d9371f9e (diff) |
Notes
Diffstat (limited to 'finance/kmymoney2/Makefile')
-rw-r--r-- | finance/kmymoney2/Makefile | 32 |
1 files changed, 18 insertions, 14 deletions
diff --git a/finance/kmymoney2/Makefile b/finance/kmymoney2/Makefile index 0d520ee004a8..731e3442a46a 100644 --- a/finance/kmymoney2/Makefile +++ b/finance/kmymoney2/Makefile @@ -7,7 +7,7 @@ PORTNAME= kmymoney2 PORTVERSION= 0.8.9 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= finance MASTER_SITES= SF @@ -19,18 +19,6 @@ BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash LIB_DEPENDS+= ofx.4:${PORTSDIR}/finance/libofx -.if defined(NOPORTDOCS) -CONFIGURE_ARGS= --enable-ofxplugin --enable-ofxbanking -.else -CONFIGURE_ARGS= --enable-ofxplugin --enable-ofxbanking --enable-pdf-docs - -# Add more build-time dependencies to generate the PDF docs -BUILD_DEPENDS+= jade:${PORTSDIR}/textproc/jade \ - pdfjadetex:${PORTSDIR}/print/jadetex \ - html2ps:${PORTSDIR}/print/html2ps-letter \ - dsssl-docbook-modular>=0:${PORTSDIR}/textproc/dsssl-docbook-modular -.endif - USE_KDELIBS_VER=3 USE_GMAKE= yes GNU_CONFIGURE= yes @@ -48,4 +36,20 @@ MANCOMPRESSED= yes DATADIR= ${PREFIX}/share/apps/${PORTNAME} DOCSDIR= ${PREFIX}/share/doc/HTML/en/${PORTNAME} -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if defined(NOPORTDOCS) +CONFIGURE_ARGS= --enable-ofxplugin --enable-ofxbanking +EXTRA_PATCHES= ${FILESDIR}/extra-patch-Makefile.in \ + ${FILESDIR}/extra-patch-doc__en__Makefile.in +.else +CONFIGURE_ARGS= --enable-ofxplugin --enable-ofxbanking --enable-pdf-docs + +# Add more build-time dependencies to generate the PDF docs +BUILD_DEPENDS+= jade:${PORTSDIR}/textproc/jade \ + pdfjadetex:${PORTSDIR}/print/jadetex \ + html2ps:${PORTSDIR}/print/html2ps-letter \ + dsssl-docbook-modular>=0:${PORTSDIR}/textproc/dsssl-docbook-modular +.endif + +.include <bsd.port.post.mk> |