Introduce DOCS option to net-im/libaccounts-glib.
This allows the documentation -- HTML produced through gtkdoc -- to be removed from the package. It also tightens up the build requirements a little bit. Committed with some changes from the submitted patch. PR: 236257 Submitted by: rozhuk.im@gmail.com
This commit is contained in:
parent
7ef47d8ddb
commit
b89d14e6ca
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=495352
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= libaccounts-glib
|
||||
PORTVERSION= 1.21
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= net-im
|
||||
DIST_SUBDIR= KDE/${GL_ACCOUNT}
|
||||
|
||||
@ -13,11 +13,10 @@ COMMENT= Accounts and SSO framework for Linux and POSIX based platforms
|
||||
LICENSE= LGPL21
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
BUILD_DEPENDS= gtkdocize:textproc/gtk-doc
|
||||
LIB_DEPENDS= libdbus-glib-1.so:devel/dbus-glib
|
||||
|
||||
GNU_CONFIGURE= YES
|
||||
CONFIGURE_ARGS= --disable-tests --enable-gtk-doc
|
||||
CONFIGURE_ARGS= --disable-tests
|
||||
INSTALL_TARGET= install-strip
|
||||
|
||||
USES= autoreconf gmake gnome libtool pathfix pkgconfig python sqlite:3
|
||||
@ -30,7 +29,22 @@ USE_GITLAB= yes
|
||||
GL_ACCOUNT= accounts-sso
|
||||
GL_COMMIT= 00254a604a7c7bd38c41794a80ad8930e90f21aa
|
||||
|
||||
pre-configure:
|
||||
cd ${WRKSRC} && gtkdocize --copy --flavour no-tmpl
|
||||
OPTIONS_DEFINE= DOCS
|
||||
OPTIONS_SUB= yes
|
||||
|
||||
DOCS_BUILD_DEPENDS= gtkdocize:textproc/gtk-doc
|
||||
DOCS_CONFIGURE_ENABLE= gtk-doc
|
||||
|
||||
# Run gtdocize as done in autogen.sh. When DOCS is off, the
|
||||
# unexpanded GTK_DOC_CHECK macro remains, so comment it out instead.
|
||||
# Also drop the docs/ files from AC_CONFIG_FILES.
|
||||
pre-configure-DOCS-on:
|
||||
cd ${CONFIGURE_WRKSRC} && gtkdocize --copy --flavour no-tmpl
|
||||
|
||||
pre-configure-DOCS-off:
|
||||
@${TOUCH} ${WRKSRC}/gtk-doc.make
|
||||
@${REINPLACE_CMD} -e 's/docs//g' ${WRKSRC}/Makefile.am
|
||||
@${REINPLACE_CMD} -e 's/^GTK_DOC_CHECK/# GTK_DOC_CHECK/' \
|
||||
-e '/^.docs\//d' ${WRKSRC}/configure.ac
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -22,50 +22,50 @@ libdata/pkgconfig/libaccounts-glib.pc
|
||||
share/backup-framework/applications/accounts.conf
|
||||
share/dbus-1/interfaces/com.google.code.AccountsSSO.Accounts.Manager.xml
|
||||
share/gir-1.0/Accounts-1.0.gir
|
||||
share/gtk-doc/html/libaccounts-glib/AgAccount.html
|
||||
share/gtk-doc/html/libaccounts-glib/AgAccountService.html
|
||||
share/gtk-doc/html/libaccounts-glib/AgApplication.html
|
||||
share/gtk-doc/html/libaccounts-glib/AgAuthData.html
|
||||
share/gtk-doc/html/libaccounts-glib/AgManager.html
|
||||
share/gtk-doc/html/libaccounts-glib/AgProvider.html
|
||||
share/gtk-doc/html/libaccounts-glib/AgService.html
|
||||
share/gtk-doc/html/libaccounts-glib/AgServiceType.html
|
||||
share/gtk-doc/html/libaccounts-glib/account-management.html
|
||||
share/gtk-doc/html/libaccounts-glib/ag-backup.html
|
||||
share/gtk-doc/html/libaccounts-glib/ag-tool.html
|
||||
share/gtk-doc/html/libaccounts-glib/annotation-glossary.html
|
||||
share/gtk-doc/html/libaccounts-glib/api-index-1-1.html
|
||||
share/gtk-doc/html/libaccounts-glib/api-index-1-2.html
|
||||
share/gtk-doc/html/libaccounts-glib/api-index-1-4.html
|
||||
share/gtk-doc/html/libaccounts-glib/api-index-1-5.html
|
||||
share/gtk-doc/html/libaccounts-glib/api-index-deprecated.html
|
||||
share/gtk-doc/html/libaccounts-glib/api-index-full.html
|
||||
share/gtk-doc/html/libaccounts-glib/appendices.html
|
||||
share/gtk-doc/html/libaccounts-glib/gettext-xml-files.html
|
||||
share/gtk-doc/html/libaccounts-glib/glossary.html
|
||||
share/gtk-doc/html/libaccounts-glib/home.png
|
||||
share/gtk-doc/html/libaccounts-glib/index.html
|
||||
share/gtk-doc/html/libaccounts-glib/left-insensitive.png
|
||||
share/gtk-doc/html/libaccounts-glib/left.png
|
||||
share/gtk-doc/html/libaccounts-glib/libaccounts-compiling.html
|
||||
share/gtk-doc/html/libaccounts-glib/libaccounts-glib-objects.html
|
||||
share/gtk-doc/html/libaccounts-glib/libaccounts-glib-overview.html
|
||||
share/gtk-doc/html/libaccounts-glib/libaccounts-glib-tools.html
|
||||
share/gtk-doc/html/libaccounts-glib/libaccounts-glib.devhelp2
|
||||
share/gtk-doc/html/libaccounts-glib/libaccounts-overview.html
|
||||
share/gtk-doc/html/libaccounts-glib/libaccounts-running.html
|
||||
share/gtk-doc/html/libaccounts-glib/object-tree.html
|
||||
share/gtk-doc/html/libaccounts-glib/provider-file-format.html
|
||||
share/gtk-doc/html/libaccounts-glib/right-insensitive.png
|
||||
share/gtk-doc/html/libaccounts-glib/right.png
|
||||
share/gtk-doc/html/libaccounts-glib/service-file-format.html
|
||||
share/gtk-doc/html/libaccounts-glib/service-type-file-format.html
|
||||
share/gtk-doc/html/libaccounts-glib/style.css
|
||||
share/gtk-doc/html/libaccounts-glib/up-insensitive.png
|
||||
share/gtk-doc/html/libaccounts-glib/up.png
|
||||
share/gtk-doc/html/libaccounts-glib/validating-xml-files.html
|
||||
share/gtk-doc/html/libaccounts-glib/xml-file-formats.html
|
||||
share/gtk-doc/html/libaccounts-glib/xml-files.html
|
||||
%%DOCS%%share/gtk-doc/html/libaccounts-glib/AgAccount.html
|
||||
%%DOCS%%share/gtk-doc/html/libaccounts-glib/AgAccountService.html
|
||||
%%DOCS%%share/gtk-doc/html/libaccounts-glib/AgApplication.html
|
||||
%%DOCS%%share/gtk-doc/html/libaccounts-glib/AgAuthData.html
|
||||
%%DOCS%%share/gtk-doc/html/libaccounts-glib/AgManager.html
|
||||
%%DOCS%%share/gtk-doc/html/libaccounts-glib/AgProvider.html
|
||||
%%DOCS%%share/gtk-doc/html/libaccounts-glib/AgService.html
|
||||
%%DOCS%%share/gtk-doc/html/libaccounts-glib/AgServiceType.html
|
||||
%%DOCS%%share/gtk-doc/html/libaccounts-glib/account-management.html
|
||||
%%DOCS%%share/gtk-doc/html/libaccounts-glib/ag-backup.html
|
||||
%%DOCS%%share/gtk-doc/html/libaccounts-glib/ag-tool.html
|
||||
%%DOCS%%share/gtk-doc/html/libaccounts-glib/annotation-glossary.html
|
||||
%%DOCS%%share/gtk-doc/html/libaccounts-glib/api-index-1-1.html
|
||||
%%DOCS%%share/gtk-doc/html/libaccounts-glib/api-index-1-2.html
|
||||
%%DOCS%%share/gtk-doc/html/libaccounts-glib/api-index-1-4.html
|
||||
%%DOCS%%share/gtk-doc/html/libaccounts-glib/api-index-1-5.html
|
||||
%%DOCS%%share/gtk-doc/html/libaccounts-glib/api-index-deprecated.html
|
||||
%%DOCS%%share/gtk-doc/html/libaccounts-glib/api-index-full.html
|
||||
%%DOCS%%share/gtk-doc/html/libaccounts-glib/appendices.html
|
||||
%%DOCS%%share/gtk-doc/html/libaccounts-glib/gettext-xml-files.html
|
||||
%%DOCS%%share/gtk-doc/html/libaccounts-glib/glossary.html
|
||||
%%DOCS%%share/gtk-doc/html/libaccounts-glib/home.png
|
||||
%%DOCS%%share/gtk-doc/html/libaccounts-glib/index.html
|
||||
%%DOCS%%share/gtk-doc/html/libaccounts-glib/left-insensitive.png
|
||||
%%DOCS%%share/gtk-doc/html/libaccounts-glib/left.png
|
||||
%%DOCS%%share/gtk-doc/html/libaccounts-glib/libaccounts-compiling.html
|
||||
%%DOCS%%share/gtk-doc/html/libaccounts-glib/libaccounts-glib-objects.html
|
||||
%%DOCS%%share/gtk-doc/html/libaccounts-glib/libaccounts-glib-overview.html
|
||||
%%DOCS%%share/gtk-doc/html/libaccounts-glib/libaccounts-glib-tools.html
|
||||
%%DOCS%%share/gtk-doc/html/libaccounts-glib/libaccounts-glib.devhelp2
|
||||
%%DOCS%%share/gtk-doc/html/libaccounts-glib/libaccounts-overview.html
|
||||
%%DOCS%%share/gtk-doc/html/libaccounts-glib/libaccounts-running.html
|
||||
%%DOCS%%share/gtk-doc/html/libaccounts-glib/object-tree.html
|
||||
%%DOCS%%share/gtk-doc/html/libaccounts-glib/provider-file-format.html
|
||||
%%DOCS%%share/gtk-doc/html/libaccounts-glib/right-insensitive.png
|
||||
%%DOCS%%share/gtk-doc/html/libaccounts-glib/right.png
|
||||
%%DOCS%%share/gtk-doc/html/libaccounts-glib/service-file-format.html
|
||||
%%DOCS%%share/gtk-doc/html/libaccounts-glib/service-type-file-format.html
|
||||
%%DOCS%%share/gtk-doc/html/libaccounts-glib/style.css
|
||||
%%DOCS%%share/gtk-doc/html/libaccounts-glib/up-insensitive.png
|
||||
%%DOCS%%share/gtk-doc/html/libaccounts-glib/up.png
|
||||
%%DOCS%%share/gtk-doc/html/libaccounts-glib/validating-xml-files.html
|
||||
%%DOCS%%share/gtk-doc/html/libaccounts-glib/xml-file-formats.html
|
||||
%%DOCS%%share/gtk-doc/html/libaccounts-glib/xml-files.html
|
||||
share/vala/vapi/libaccounts-glib.deps
|
||||
share/vala/vapi/libaccounts-glib.vapi
|
||||
share/xml/accounts/schema/dtd/accounts-application.dtd
|
||||
|
Loading…
Reference in New Issue
Block a user