mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
- Install some documentation
- Respect NOPORTDOCS - Use HAS_CONFIGURE and CONFIGURE_ARGS instead of redefining do-configure target PR: ports/52502 Submitted by: Sergei Kolobov <sergei@kolobov.com> Approved by: maintainer
This commit is contained in:
parent
e3fcc7d3d5
commit
f0aab0e8a3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=81630
@ -14,10 +14,19 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
MAINTAINER= jos@catnook.com
|
||||
COMMENT= A set of portable software build utilities
|
||||
|
||||
MAN1= buildtool.1
|
||||
HAS_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= -p ${PREFIX}
|
||||
.if defined(NOPORTDOCS)
|
||||
CONFIGURE_ARGS+= -n doc
|
||||
.endif
|
||||
|
||||
do-configure:
|
||||
@cd ${WRKSRC} \
|
||||
&& ./configure -p ${PREFIX}
|
||||
MAN1= buildtool.1
|
||||
DOCS= CHANGES PEOPLE README TODO
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
post-install:
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -39,6 +39,11 @@ share/buildtool-0/templates/mk_top
|
||||
@dirrm share/buildtool-0/licenses
|
||||
@dirrm share/buildtool-0/bt_config
|
||||
@dirrm share/buildtool-0
|
||||
@unexec install-info --delete %D/info/buildtool.info %D/info/dir
|
||||
info/buildtool.info
|
||||
@exec install-info %D/info/buildtool.info %D/info/dir
|
||||
%%PORTDOCS%%@unexec install-info --delete %D/info/buildtool.info %D/info/dir
|
||||
%%PORTDOCS%%info/buildtool.info
|
||||
%%PORTDOCS%%@exec install-info %D/info/buildtool.info %D/info/dir
|
||||
%%PORTDOCS%%%%DOCSDIR%%/CHANGES
|
||||
%%PORTDOCS%%%%DOCSDIR%%/PEOPLE
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||
%%PORTDOCS%%%%DOCSDIR%%/TODO
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
|
Loading…
Reference in New Issue
Block a user