mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
- Support staging
maintainer timeout. PR: ports/183196 Submitted by: mat
This commit is contained in:
parent
12130d01c3
commit
56df0506f2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=332973
@ -34,7 +34,6 @@ HELP_DESC= Install the help files
|
||||
|
||||
USES+= bison
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MIMPLICITCD}
|
||||
@ -45,7 +44,6 @@ EXTRA_PATCHES+= ${PATCHDIR}/xpatch-implicitcd
|
||||
EXTRA_PATCHES+= ${PATCHDIR}/xpatch-colonbreakswords
|
||||
.endif
|
||||
|
||||
MAN1= bash.1 bashbug.1
|
||||
INFO= bash
|
||||
|
||||
MAKE_JOBS_UNSAFE= yes
|
||||
@ -117,26 +115,24 @@ pre-build:
|
||||
@${ECHO_CMD} $$((${PORTREVISION}-1)) > ${WRKSRC}/.build
|
||||
|
||||
pre-install:
|
||||
@${SETENV} PKG_PREFIX="${PREFIX}" \
|
||||
@${SETENV} PKG_PREFIX="${STAGEDIR}${PREFIX}" \
|
||||
${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
|
||||
|
||||
post-install:
|
||||
@cd ${PREFIX}/bin ; ${LN} -sf bash rbash
|
||||
@cd ${STAGEDIR}${PREFIX}/bin ; ${LN} -sf bash rbash
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
.if !defined(WITH_INCLUDED_FAQ)
|
||||
@${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/FAQ \
|
||||
${WRKSRC}/doc/INTRO ${DOCSDIR}
|
||||
${WRKSRC}/doc/INTRO ${STAGEDIR}${DOCSDIR}
|
||||
.else
|
||||
@${INSTALL_DATA} ${WRKSRC}/doc/FAQ \
|
||||
${WRKSRC}/doc/INTRO ${DOCSDIR}
|
||||
${WRKSRC}/doc/INTRO ${STAGEDIR}${DOCSDIR}
|
||||
.endif
|
||||
@for d in ${PORTDOCS:NFAQ:NINTRO}; do \
|
||||
${INSTALL_DATA} ${WRKSRC}/$${d} ${DOCSDIR}; \
|
||||
${INSTALL_DATA} ${WRKSRC}/$${d} ${STAGEDIR}${DOCSDIR}; \
|
||||
done
|
||||
.endif
|
||||
@${SETENV} PKG_PREFIX="${PREFIX}" PKG_DESTDIR="${DESTDIR}" \
|
||||
${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
|
||||
|
||||
regress: build
|
||||
cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_ARGS} test
|
||||
|
@ -2,6 +2,8 @@
|
||||
bin/bash
|
||||
bin/rbash
|
||||
bin/bashbug
|
||||
man/man1/bash.1.gz
|
||||
man/man1/bashbug.1.gz
|
||||
%%HELP%%%%DATADIR%%/alias
|
||||
%%HELP%%%%DATADIR%%/arith
|
||||
%%HELP%%%%DATADIR%%/arith_for
|
||||
|
Loading…
Reference in New Issue
Block a user