summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2012-07-11 09:25:22 +0000
committerwiz <wiz@pkgsrc.org>2012-07-11 09:25:22 +0000
commit97b1c7a6fdd2c930fd8666dd8972807fc06b43ec (patch)
treeb506ff7cc0f50bc9eca917bed88f54907a13c314 /misc
parent31a8c91b4b60b879193c4f58929868fb6809efe6 (diff)
downloadpkgsrc-97b1c7a6fdd2c930fd8666dd8972807fc06b43ec.tar.gz
Add missing build dependencies when using doxygen-1.8.x.
Closes PR 46664 by Makoto Fujiwara using his patch. While here, rename option to "doc" instead of unconventional "doxygen".
Diffstat (limited to 'misc')
-rw-r--r--misc/libcarddav/PLIST6
-rw-r--r--misc/libcarddav/options.mk18
2 files changed, 14 insertions, 10 deletions
diff --git a/misc/libcarddav/PLIST b/misc/libcarddav/PLIST
index 011917890c7..7a45bf4673a 100644
--- a/misc/libcarddav/PLIST
+++ b/misc/libcarddav/PLIST
@@ -1,6 +1,6 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2012/01/08 15:18:40 wiz Exp $
+@comment $NetBSD: PLIST,v 1.2 2012/07/11 09:25:22 wiz Exp $
include/libcarddav-0.6.1/carddav.h
lib/libcarddav.la
lib/pkgconfig/libcarddav.pc
-${PLIST.doxygen}man/man3/carddav.h.3
-${PLIST.doxygen}share/doc/libcarddav/libcarddav.pdf
+${PLIST.doc}man/man3/carddav.h.3
+${PLIST.doc}share/doc/libcarddav/libcarddav.pdf
diff --git a/misc/libcarddav/options.mk b/misc/libcarddav/options.mk
index 64deb267690..f2ad0ad999c 100644
--- a/misc/libcarddav/options.mk
+++ b/misc/libcarddav/options.mk
@@ -1,18 +1,22 @@
-# $NetBSD: options.mk,v 1.1.1.1 2012/01/08 15:18:40 wiz Exp $
+# $NetBSD: options.mk,v 1.2 2012/07/11 09:25:22 wiz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.libcarddav
-PKG_SUPPORTED_OPTIONS= doxygen
-PKG_SUGGESTED_OPTIONS= doxygen
+PKG_SUPPORTED_OPTIONS= doc
+PKG_SUGGESTED_OPTIONS= doc
+PKG_OPTIONS_LEGACY_OPTS+= doxygen:doc
.include "../../mk/bsd.options.mk"
-PLIST_VARS+= doxygen
+PLIST_VARS+= doc
-.if !empty(PKG_OPTIONS:Mdoxygen)
-BUILD_DEPENDS+= doxygen-[0-9]*:../../devel/doxygen
+.if !empty(PKG_OPTIONS:Mdoc)
+BUILD_DEPENDS+= doxygen>=1.8.1.1:../../devel/doxygen
BUILD_DEPENDS+= tex-ec-[0-9]*:../../fonts/tex-ec
+BUILD_DEPENDS+= tex-tocloft-[0-9]*:../../print/tex-tocloft
+# only xtab.sty is necessary from following
+BUILD_DEPENDS+= teTeX-texmf-[0-9]*:../../print/teTeX3-texmf
CONFIGURE_ARGS+= --enable-doc
-PLIST.doxygen= yes
+PLIST.doc= yes
.else
CONFIGURE_ARGS+= --disable-doxygen-doc
.endif