diff options
author | rakuco <rakuco@FreeBSD.org> | 2012-09-02 17:58:32 +0800 |
---|---|---|
committer | rakuco <rakuco@FreeBSD.org> | 2012-09-02 17:58:32 +0800 |
commit | a57555c8f302496a4990b1ab41aa883a53ecd1b1 (patch) | |
tree | e496b202508b315293988aaa93791b300bec06fc /devel/gwenhywfar | |
parent | a7d7931980220b08cb822a8c867149a8a8eb046a (diff) | |
download | freebsd-ports-gnome-a57555c8f302496a4990b1ab41aa883a53ecd1b1.tar.gz freebsd-ports-gnome-a57555c8f302496a4990b1ab41aa883a53ecd1b1.tar.zst freebsd-ports-gnome-a57555c8f302496a4990b1ab41aa883a53ecd1b1.zip |
In devel/gwenhywfar and finance/aqbanking, the documentation installed by
doxygen is massive and shouldn't be installed by default. [1] This was the
behavior prior to the last update, but while converting to OPTIONSng the
logic got lost.
Use the DOXYGEN option instead but we still need to check if DOCS is enabled
since the PORTDOCS macro is being used to generate the plist for the
documentation.
Also, fix typos s/DOC/DOCS/ in devel/gwenhywfar.
Bump PORTREVISION.
[1] Reported by: Jan Henrik Sylvester <me@janh.de>
PR: ports/171238
Submitted by: Jason E. Hale <bsdkaffee@gmail.com> (maintainer)
Diffstat (limited to 'devel/gwenhywfar')
-rw-r--r-- | devel/gwenhywfar/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/devel/gwenhywfar/Makefile b/devel/gwenhywfar/Makefile index 25c114f964ae..ebadb6e93a78 100644 --- a/devel/gwenhywfar/Makefile +++ b/devel/gwenhywfar/Makefile @@ -2,7 +2,7 @@ PORTNAME= gwenhywfar PORTVERSION= 4.3.3 -PORTREVISION?= 2 +PORTREVISION?= 3 CATEGORIES= devel net security MASTER_SITES= http://www.aquamaniac.de/sites/download/download.php?package=01&release=67&file=01&dummy=/ @@ -15,7 +15,7 @@ LIB_DEPENDS= gcrypt:${PORTSDIR}/security/libgcrypt \ gnutls:${PORTSDIR}/security/gnutls .if !defined(SLAVEPORT) -OPTIONS_DEFINE= DOC MEMDEBUG +OPTIONS_DEFINE= DOXYGEN MEMDEBUG MEMDEBUG_DESC= Enable memory debugger statistic .endif @@ -40,7 +40,7 @@ GWEN_SHLIB_VER= 60 .include <bsd.port.options.mk> -.if ${PORT_OPTIONS:MDOC} +.if ${PORT_OPTIONS:MDOCS} && ${PORT_OPTIONS:MDOXYGEN} BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen \ dot:${PORTSDIR}/graphics/graphviz CONFIGURE_ARGS+=--enable-full-doc @@ -79,12 +79,12 @@ post-patch: .endif post-build: -.if ${PORT_OPTIONS:MDOC} +.if ${PORT_OPTIONS:MDOCS} && ${PORT_OPTIONS:MDOXYGEN} @cd ${WRKSRC} && ${GMAKE} srcdoc .endif post-install: -.if ${PORT_OPTIONS:MDOC} +.if ${PORT_OPTIONS:MDOCS} && ${PORT_OPTIONS:MDOXYGEN} ${MKDIR} ${DOCSDIR}/apidoc cd ${WRKSRC}/apidoc && \ ${COPYTREE_SHARE} \* ${DOCSDIR}/apidoc |