diff options
author | obraun <obraun@FreeBSD.org> | 2003-05-21 23:59:29 +0800 |
---|---|---|
committer | obraun <obraun@FreeBSD.org> | 2003-05-21 23:59:29 +0800 |
commit | 1c4afffca77ee4dcf20a5037adc8c8453a4e32b6 (patch) | |
tree | 43c1483c8a305af65d101b00e3d9c823ab2fa0a0 /devel/buildtool | |
parent | f1bd7b8aae650021c17d5bcce6d059e850a707e2 (diff) | |
download | freebsd-ports-graphics-1c4afffca77ee4dcf20a5037adc8c8453a4e32b6.tar.gz freebsd-ports-graphics-1c4afffca77ee4dcf20a5037adc8c8453a4e32b6.tar.zst freebsd-ports-graphics-1c4afffca77ee4dcf20a5037adc8c8453a4e32b6.zip |
- 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
Diffstat (limited to 'devel/buildtool')
-rw-r--r-- | devel/buildtool/Makefile | 15 | ||||
-rw-r--r-- | devel/buildtool/pkg-plist | 11 |
2 files changed, 20 insertions, 6 deletions
diff --git a/devel/buildtool/Makefile b/devel/buildtool/Makefile index ccc5861b7a1..a6a12920ab7 100644 --- a/devel/buildtool/Makefile +++ b/devel/buildtool/Makefile @@ -14,10 +14,19 @@ MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= jos@catnook.com COMMENT= A set of portable software build utilities +HAS_CONFIGURE= yes +CONFIGURE_ARGS= -p ${PREFIX} +.if defined(NOPORTDOCS) +CONFIGURE_ARGS+= -n doc +.endif + MAN1= buildtool.1 +DOCS= CHANGES PEOPLE README TODO -do-configure: - @cd ${WRKSRC} \ - && ./configure -p ${PREFIX} +.if !defined(NOPORTDOCS) +post-install: + @${MKDIR} ${DOCSDIR} + cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR} +.endif .include <bsd.port.mk> diff --git a/devel/buildtool/pkg-plist b/devel/buildtool/pkg-plist index 5cf7c978ef5..1d4c65786ea 100644 --- a/devel/buildtool/pkg-plist +++ b/devel/buildtool/pkg-plist @@ -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%% |