1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

Make installation of documentation optional and install to DOCSDIR.

This commit is contained in:
Emanuel Haupt 2021-02-09 08:36:30 +00:00
parent 51ed15601f
commit 530e46f76b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=564775
2 changed files with 26 additions and 22 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= chafa
PORTVERSION= 1.6.0
PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= https://hpjansson.org/chafa/releases/ \
https://github.com/hpjansson/chafa/releases/download/${PORTVERSION}/
@ -23,9 +24,12 @@ USES= gettext-runtime gnome libtool tar:xz
USE_GNOME= glib20
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-html-dir=${DOCSDIR}/html
INSTALL_TARGET= install-strip
OPTIONS_DEFINE= DOCS
post-install:
${INSTALL_MAN} ${WRKSRC}/docs/${PORTNAME}.1 \
${STAGEDIR}${MANPREFIX}/share/man/man1

View File

@ -16,26 +16,26 @@ lib/libchafa.so
lib/libchafa.so.0
lib/libchafa.so.0.5.0
libdata/pkgconfig/chafa.pc
share/gtk-doc/html/chafa/api-index-full.html
share/gtk-doc/html/chafa/ch01.html
share/gtk-doc/html/chafa/ch02.html
share/gtk-doc/html/chafa/chafa-ChafaCanvas.html
share/gtk-doc/html/chafa/chafa-ChafaCanvasConfig.html
share/gtk-doc/html/chafa/chafa-ChafaSymbolMap.html
share/gtk-doc/html/chafa/chafa-ChafaTermDb.html
share/gtk-doc/html/chafa/chafa-ChafaTermInfo.html
share/gtk-doc/html/chafa/chafa-Features.html
share/gtk-doc/html/chafa/chafa-Miscellaneous.html
share/gtk-doc/html/chafa/chafa-building.html
share/gtk-doc/html/chafa/chafa-using.html
share/gtk-doc/html/chafa/chafa.devhelp2
share/gtk-doc/html/chafa/home.png
share/gtk-doc/html/chafa/index.html
share/gtk-doc/html/chafa/left-insensitive.png
share/gtk-doc/html/chafa/left.png
share/gtk-doc/html/chafa/right-insensitive.png
share/gtk-doc/html/chafa/right.png
share/gtk-doc/html/chafa/style.css
share/gtk-doc/html/chafa/up-insensitive.png
share/gtk-doc/html/chafa/up.png
%%PORTDOCS%%%%DOCSDIR%%/html/chafa/api-index-full.html
%%PORTDOCS%%%%DOCSDIR%%/html/chafa/ch01.html
%%PORTDOCS%%%%DOCSDIR%%/html/chafa/ch02.html
%%PORTDOCS%%%%DOCSDIR%%/html/chafa/chafa-ChafaCanvas.html
%%PORTDOCS%%%%DOCSDIR%%/html/chafa/chafa-ChafaCanvasConfig.html
%%PORTDOCS%%%%DOCSDIR%%/html/chafa/chafa-ChafaSymbolMap.html
%%PORTDOCS%%%%DOCSDIR%%/html/chafa/chafa-ChafaTermDb.html
%%PORTDOCS%%%%DOCSDIR%%/html/chafa/chafa-ChafaTermInfo.html
%%PORTDOCS%%%%DOCSDIR%%/html/chafa/chafa-Features.html
%%PORTDOCS%%%%DOCSDIR%%/html/chafa/chafa-Miscellaneous.html
%%PORTDOCS%%%%DOCSDIR%%/html/chafa/chafa-building.html
%%PORTDOCS%%%%DOCSDIR%%/html/chafa/chafa-using.html
%%PORTDOCS%%%%DOCSDIR%%/html/chafa/chafa.devhelp2
%%PORTDOCS%%%%DOCSDIR%%/html/chafa/home.png
%%PORTDOCS%%%%DOCSDIR%%/html/chafa/index.html
%%PORTDOCS%%%%DOCSDIR%%/html/chafa/left-insensitive.png
%%PORTDOCS%%%%DOCSDIR%%/html/chafa/left.png
%%PORTDOCS%%%%DOCSDIR%%/html/chafa/right-insensitive.png
%%PORTDOCS%%%%DOCSDIR%%/html/chafa/right.png
%%PORTDOCS%%%%DOCSDIR%%/html/chafa/style.css
%%PORTDOCS%%%%DOCSDIR%%/html/chafa/up-insensitive.png
%%PORTDOCS%%%%DOCSDIR%%/html/chafa/up.png
share/man/man1/chafa.1.gz