Add stage support.
Approved by: bdrewery
This commit is contained in:
parent
a96fe7cc44
commit
0f3996304a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=329995
2 changed files with 10 additions and 7 deletions
|
@ -3,6 +3,7 @@
|
|||
|
||||
PORTNAME= mk-configure
|
||||
PORTVERSION= 0.24.0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
||||
|
||||
|
@ -21,18 +22,12 @@ INSTALL_TARGET= installdirs install
|
|||
PORTDOCS= README NEWS TODO COPYRIGHT FAQ presentation.pdf
|
||||
PORTEXAMPLES= *
|
||||
|
||||
MAN1= mkc_check_funclib.1 mkc_check_header.1 mkc_check_sizeof.1 \
|
||||
mkc_check_decl.1 mkc_check_prog.1 mkc_check_custom.1 \
|
||||
mkcmake.1
|
||||
MAN7= mk-configure.7
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
MAKE_ENV+= EXTRAFILES="${PORTDOCS:C|.*\.pdf|doc/&|}"
|
||||
.else
|
||||
MAKE_ENV+= EXTRAFILES=""
|
||||
.endif
|
||||
|
||||
NO_STAGE= yes
|
||||
post-patch:
|
||||
@${ECHO_CMD} "MKDEP ?= bmkdep" >> ${WRKSRC}/sys.mk
|
||||
|
||||
|
@ -44,7 +39,7 @@ do-install:
|
|||
@${SETENV} ${MAKE_ENV} ${BMAKE} -C ${INSTALL_WRKSRC} ${MAKE_FLAGS} ${MAKEFILE} \
|
||||
${_MAKE_JOBS} ${MAKE_ARGS} ${INSTALL_TARGET}
|
||||
.if !defined(NOPORTEXAMPLES)
|
||||
cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}
|
||||
cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -16,6 +16,14 @@ bin/mkcmake
|
|||
%%DATADIR%%/custom/prog_flex
|
||||
%%DATADIR%%/custom/prog_gawk
|
||||
%%DATADIR%%/custom/prog_gm4
|
||||
man/man1/mkc_check_custom.1.gz
|
||||
man/man1/mkc_check_decl.1.gz
|
||||
man/man1/mkc_check_funclib.1.gz
|
||||
man/man1/mkc_check_header.1.gz
|
||||
man/man1/mkc_check_prog.1.gz
|
||||
man/man1/mkc_check_sizeof.1.gz
|
||||
man/man1/mkcmake.1.gz
|
||||
man/man7/mk-configure.7.gz
|
||||
@dirrm %%DATADIR%%/custom
|
||||
@dirrm %%DATADIR%%
|
||||
share/mkc-mk/configure.mk
|
||||
|
|
Loading…
Reference in a new issue