diff options
| author | adamw <adamw@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-06-13 09:15:18 +0800 |
|---|---|---|
| committer | adamw <adamw@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-06-13 09:15:18 +0800 |
| commit | 1a76e270f75287f5da42b8c19c7fd6c9d299cac3 (patch) | |
| tree | 02d17997d19ad7072cdcc343b060e9eab226f876 /x11-toolkits/gtkmm20/Makefile | |
| parent | 5db964eb689b39808bc0ed7eb6b7be88650be992 (diff) | |
| download | marcuscom-ports-1a76e270f75287f5da42b8c19c7fd6c9d299cac3.tar.gz marcuscom-ports-1a76e270f75287f5da42b8c19c7fd6c9d299cac3.tar.zst marcuscom-ports-1a76e270f75287f5da42b8c19c7fd6c9d299cac3.zip | |
Let glibmm and gtkmm compile without documentation being built. Furthermore,
make that the default unless WITH_DOCUMENTATION is defined.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@2395 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11-toolkits/gtkmm20/Makefile')
| -rw-r--r-- | x11-toolkits/gtkmm20/Makefile | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/x11-toolkits/gtkmm20/Makefile b/x11-toolkits/gtkmm20/Makefile index b5d5ab13e..c85da2366 100644 --- a/x11-toolkits/gtkmm20/Makefile +++ b/x11-toolkits/gtkmm20/Makefile @@ -33,6 +33,12 @@ CONFIGURE_ARGS= --enable-static=yes \ PLIST_SUB= VERSION="2.3" API_VERSION="2.4" +.include <bsd.port.pre.mk> + +.if !exists(${LOCALBASE}/bin/doxygen) && !defined (WITH_DOCUMENTATION) +NOPORTDOCS= yes +.endif + .if !defined(NOPORTDOCS) BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen .endif @@ -50,8 +56,8 @@ post-patch: @${REINPLACE_CMD} -e '/^SUBDIRS =/s/examples//' \ ${WRKSRC}/Makefile.in .endif -.if defined(NOPORTDOCS) - @${REINPLACE_CMD} -e 's|^\(SUBDIRS =\)\(docs\)\(.*\)|\1\3|' ${WRKSRC}/Makefile.in +.if !defined(NOPORTDOCS) + @${REINPLACE_CMD} -e '/^SUBDIRS =/s/docs//' ${WRKSRC}/Makefile.in .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> |
