mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-06 06:30:19 +00:00
- Install documentation into DOCSDIR
PR: ports/144545 Submitted by: Rob Farmer <rfarmer@predatorlabs.net> (maintainer)
This commit is contained in:
parent
e0bc892a0e
commit
49f22ad877
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=251155
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
PORTNAME= fish
|
PORTNAME= fish
|
||||||
PORTVERSION= 1.23.1
|
PORTVERSION= 1.23.1
|
||||||
PORTREVISION= 2
|
PORTREVISION= 3
|
||||||
CATEGORIES= shells
|
CATEGORIES= shells
|
||||||
MASTER_SITES= SF
|
MASTER_SITES= SF
|
||||||
|
|
||||||
@ -24,6 +24,7 @@ CPPFLAGS+= -I${LOCALBASE}/include
|
|||||||
LDFLAGS+= -L${LOCALBASE}/lib
|
LDFLAGS+= -L${LOCALBASE}/lib
|
||||||
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LIBS="${LDFLAGS}" \
|
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LIBS="${LDFLAGS}" \
|
||||||
LDFLAGS="${LDFLAGS}"
|
LDFLAGS="${LDFLAGS}"
|
||||||
|
CONFIGURE_ARGS= --docdir=${DOCSDIR}
|
||||||
|
|
||||||
OPTIONS= XSEL "Build with xsel" on \
|
OPTIONS= XSEL "Build with xsel" on \
|
||||||
DOXYGEN "Build docs with doxygen" on
|
DOXYGEN "Build docs with doxygen" on
|
||||||
@ -50,15 +51,14 @@ CONFIGURE_ARGS+= --without-xsel
|
|||||||
RUN_DEPENDS= xsel:${PORTSDIR}/x11/xsel-conrad
|
RUN_DEPENDS= xsel:${PORTSDIR}/x11/xsel-conrad
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if defined(WITHOUT_DOXYGEN) || defined(NOPORTDOCS)
|
.if defined(WITHOUT_DOXYGEN)
|
||||||
PLIST_SUB+= DOCS="@comment "
|
NOPORTDOCS= yes
|
||||||
.else
|
.else
|
||||||
BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen
|
BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen
|
||||||
PLIST_SUB+= DOCS=""
|
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
.if defined(WITHOUT_DOXYGEN) || defined(NOPORTDOCS)
|
.if defined(NOPORTDOCS)
|
||||||
@${REINPLACE_CMD} -e 's|$(PROGRAMS) user_doc|$(PROGRAMS)|' \
|
@${REINPLACE_CMD} -e 's|$(PROGRAMS) user_doc|$(PROGRAMS)|' \
|
||||||
${WRKSRC}/Makefile.in
|
${WRKSRC}/Makefile.in
|
||||||
@${REINPLACE_CMD} -e 589,593d ${WRKSRC}/Makefile.in
|
@${REINPLACE_CMD} -e 589,593d ${WRKSRC}/Makefile.in
|
||||||
|
@ -2,25 +2,25 @@ bin/fish
|
|||||||
bin/fish_indent
|
bin/fish_indent
|
||||||
bin/fish_pager
|
bin/fish_pager
|
||||||
bin/fishd
|
bin/fishd
|
||||||
bin/mimedb
|
|
||||||
bin/seq
|
bin/seq
|
||||||
|
bin/mimedb
|
||||||
bin/set_color
|
bin/set_color
|
||||||
%%ETCDIR%%/config.fish
|
%%ETCDIR%%/config.fish
|
||||||
%%DOCS%%share/doc/ChangeLog
|
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
|
||||||
%%DOCS%%share/doc/commands.html
|
%%PORTDOCS%%%%DOCSDIR%%/commands.html
|
||||||
%%DOCS%%share/doc/design.html
|
%%PORTDOCS%%%%DOCSDIR%%/design.html
|
||||||
%%DOCS%%share/doc/doc_8h-source.html
|
%%PORTDOCS%%%%DOCSDIR%%/doc_8h-source.html
|
||||||
%%DOCS%%share/doc/doxygen.css
|
%%PORTDOCS%%%%DOCSDIR%%/doxygen.css
|
||||||
%%DOCS%%share/doc/doxygen.png
|
%%PORTDOCS%%%%DOCSDIR%%/doxygen.png
|
||||||
%%DOCS%%share/doc/faq.html
|
%%PORTDOCS%%%%DOCSDIR%%/faq.html
|
||||||
%%DOCS%%share/doc/files.html
|
%%PORTDOCS%%%%DOCSDIR%%/files.html
|
||||||
%%DOCS%%share/doc/index.html
|
%%PORTDOCS%%%%DOCSDIR%%/index.html
|
||||||
%%DOCS%%share/doc/license.html
|
%%PORTDOCS%%%%DOCSDIR%%/license.html
|
||||||
%%DOCS%%share/doc/pages.html
|
%%PORTDOCS%%%%DOCSDIR%%/pages.html
|
||||||
%%DOCS%%share/doc/tab_b.gif
|
%%PORTDOCS%%%%DOCSDIR%%/tab_b.gif
|
||||||
%%DOCS%%share/doc/tab_l.gif
|
%%PORTDOCS%%%%DOCSDIR%%/tab_l.gif
|
||||||
%%DOCS%%share/doc/tab_r.gif
|
%%PORTDOCS%%%%DOCSDIR%%/tab_r.gif
|
||||||
%%DOCS%%share/doc/tabs.css
|
%%PORTDOCS%%%%DOCSDIR%%/tabs.css
|
||||||
%%DATADIR%%/completions/acpi.fish
|
%%DATADIR%%/completions/acpi.fish
|
||||||
%%DATADIR%%/completions/adduser.fish
|
%%DATADIR%%/completions/adduser.fish
|
||||||
%%DATADIR%%/completions/and.fish
|
%%DATADIR%%/completions/and.fish
|
||||||
@ -353,6 +353,7 @@ share/locale/sv/LC_MESSAGES/fish.mo
|
|||||||
@dirrm %%DATADIR%%/functions
|
@dirrm %%DATADIR%%/functions
|
||||||
@dirrm %%DATADIR%%/completions
|
@dirrm %%DATADIR%%/completions
|
||||||
@dirrm %%DATADIR%%
|
@dirrm %%DATADIR%%
|
||||||
|
@dirrm %%DOCSDIR%%
|
||||||
@dirrm %%ETCDIR%%
|
@dirrm %%ETCDIR%%
|
||||||
@exec cp /etc/shells /etc/shells.bak; (grep -v %D/bin/fish /etc/shells.bak; echo %D/bin/fish) > /etc/shells; rm -f /etc/shells.bak
|
@exec cp /etc/shells /etc/shells.bak; (grep -v %D/bin/fish /etc/shells.bak; echo %D/bin/fish) > /etc/shells; rm -f /etc/shells.bak
|
||||||
@unexec cp /etc/shells /etc/shells.bak; (grep -v %D/bin/fish /etc/shells.bak) > /etc/shells; rm -f /etc/shells.bak
|
@unexec cp /etc/shells /etc/shells.bak; (grep -v %D/bin/fish /etc/shells.bak) > /etc/shells; rm -f /etc/shells.bak
|
||||||
|
Loading…
Reference in New Issue
Block a user