Add some more dependencies for the 'doc' option; additionally needs ! LaTeX Error: File `tc-pgf.def' not found. which doesn't seem to be packaged yet; so disable doc option by default. Bump PKGREVISION.diff -r1.10 -r1.11 pkgsrc/misc/libcarddav/Makefile
(wiz)
@@ -1,18 +1,18 @@ | @@ -1,18 +1,18 @@ | |||
1 | # $NetBSD: Makefile,v 1.10 2014/02/12 23:18:14 tron Exp $ | 1 | # $NetBSD: Makefile,v 1.11 2015/02/10 08:12:43 wiz Exp $ | |
2 | 2 | |||
3 | DISTNAME= libcarddav_0.6.2-2debian2 | 3 | DISTNAME= libcarddav_0.6.2-2debian2 | |
4 | PKGNAME= ${DISTNAME:S/_/-/:S/-2debian2/.2.2/} | 4 | PKGNAME= ${DISTNAME:S/_/-/:S/-2debian2/.2.2/} | |
5 | PKGREVISION= 6 | 5 | PKGREVISION= 7 | |
6 | CATEGORIES= misc | 6 | CATEGORIES= misc | |
7 | MASTER_SITES= https://quickbuild.pearsoncomputing.net/~trinity/+archive/trinity-builddeps/+files/ | 7 | MASTER_SITES= https://quickbuild.pearsoncomputing.net/~trinity/+archive/trinity-builddeps/+files/ | |
8 | 8 | |||
9 | MAINTAINER= pkgsrc-users@NetBSD.org | 9 | MAINTAINER= pkgsrc-users@NetBSD.org | |
10 | HOMEPAGE= https://quickbuild.pearsoncomputing.net/~trinity/+archive/trinity-builddeps/+packages?field.name_filter=libcarddav&field.status_filter=published&field.series_filter= | 10 | HOMEPAGE= https://quickbuild.pearsoncomputing.net/~trinity/+archive/trinity-builddeps/+packages?field.name_filter=libcarddav&field.status_filter=published&field.series_filter= | |
11 | COMMENT= CardDAV library | 11 | COMMENT= CardDAV library | |
12 | LICENSE= gnu-gpl-v3 | 12 | LICENSE= gnu-gpl-v3 | |
13 | 13 | |||
14 | WRKSRC= ${WRKDIR}/${DISTNAME:S/_/-/:C/-[0-9]debian[0-9]//} | 14 | WRKSRC= ${WRKDIR}/${DISTNAME:S/_/-/:C/-[0-9]debian[0-9]//} | |
15 | 15 | |||
16 | GNU_CONFIGURE= yes | 16 | GNU_CONFIGURE= yes | |
17 | USE_TOOLS+= pkg-config | 17 | USE_TOOLS+= pkg-config | |
18 | USE_LIBTOOL= yes | 18 | USE_LIBTOOL= yes |
@@ -1,22 +1,26 @@ | @@ -1,22 +1,26 @@ | |||
1 | # $NetBSD: options.mk,v 1.3 2012/07/11 14:47:23 wiz Exp $ | 1 | # $NetBSD: options.mk,v 1.4 2015/02/10 08:12:43 wiz Exp $ | |
2 | 2 | |||
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.libcarddav | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.libcarddav | |
4 | PKG_SUPPORTED_OPTIONS= doc | 4 | PKG_SUPPORTED_OPTIONS= doc | |
5 | PKG_SUGGESTED_OPTIONS= doc | 5 | # TODO: tc-pgf.def needs packaging before PDF output works | |
6 | #PKG_SUGGESTED_OPTIONS= doc | |||
6 | PKG_OPTIONS_LEGACY_OPTS+= doxygen:doc | 7 | PKG_OPTIONS_LEGACY_OPTS+= doxygen:doc | |
7 | 8 | |||
8 | .include "../../mk/bsd.options.mk" | 9 | .include "../../mk/bsd.options.mk" | |
9 | 10 | |||
10 | PLIST_VARS+= doc | 11 | PLIST_VARS+= doc | |
11 | 12 | |||
12 | .if !empty(PKG_OPTIONS:Mdoc) | 13 | .if !empty(PKG_OPTIONS:Mdoc) | |
13 | BUILD_DEPENDS+= doxygen>=1.8.1.1:../../devel/doxygen | 14 | BUILD_DEPENDS+= doxygen>=1.8.1.1:../../devel/doxygen | |
15 | BUILD_DEPENDS+= tex-adjustbox-[0-9]*:../../print/tex-adjustbox | |||
14 | BUILD_DEPENDS+= tex-ec-[0-9]*:../../fonts/tex-ec | 16 | BUILD_DEPENDS+= tex-ec-[0-9]*:../../fonts/tex-ec | |
15 | BUILD_DEPENDS+= tex-tocloft-[0-9]*:../../print/tex-tocloft | 17 | BUILD_DEPENDS+= tex-tocloft-[0-9]*:../../print/tex-tocloft | |
16 | BUILD_DEPENDS+= tex-xtab-[0-9]*:../../print/tex-xtab | 18 | BUILD_DEPENDS+= tex-xtab-[0-9]*:../../print/tex-xtab | |
17 | BUILD_DEPENDS+= tex-multirow-[0-9]*:../../print/tex-multirow | 19 | BUILD_DEPENDS+= tex-multirow-[0-9]*:../../print/tex-multirow | |
20 | BUILD_DEPENDS+= tex-xkeyval-[0-9]*:../../print/tex-xkeyval | |||
21 | BUILD_DEPENDS+= tex-collectbox-[0-9]*:../../print/tex-collectbox | |||
18 | CONFIGURE_ARGS+= --enable-doc | 22 | CONFIGURE_ARGS+= --enable-doc | |
19 | PLIST.doc= yes | 23 | PLIST.doc= yes | |
20 | .else | 24 | .else | |
21 | CONFIGURE_ARGS+= --disable-doxygen-doc | 25 | CONFIGURE_ARGS+= --disable-doxygen-doc | |
22 | .endif | 26 | .endif |