1
0
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:
Oliver Braun 2003-05-21 15:59:29 +00:00
parent e3fcc7d3d5
commit f0aab0e8a3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=81630
2 changed files with 21 additions and 7 deletions

View File

@ -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>

View File

@ -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%%