aboutsummaryrefslogtreecommitdiffstats
path: root/shells/bash
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2013-11-06 20:18:54 +0800
committermat <mat@FreeBSD.org>2013-11-06 20:18:54 +0800
commit5305322f0156f4541f365bf9cce59ebc7540cde6 (patch)
treec5b2873e87f9b1431aa0ef4c79c1b177e619666e /shells/bash
parent3a20b5b0682e9947eb48933523f7af46206818f4 (diff)
downloadfreebsd-ports-gnome-5305322f0156f4541f365bf9cce59ebc7540cde6.tar.gz
freebsd-ports-gnome-5305322f0156f4541f365bf9cce59ebc7540cde6.tar.zst
freebsd-ports-gnome-5305322f0156f4541f365bf9cce59ebc7540cde6.zip
- Support staging
maintainer timeout. PR: ports/183196 Submitted by: mat
Diffstat (limited to 'shells/bash')
-rw-r--r--shells/bash/Makefile16
-rw-r--r--shells/bash/pkg-plist2
2 files changed, 8 insertions, 10 deletions
diff --git a/shells/bash/Makefile b/shells/bash/Makefile
index c2ae8f30584a..bb5d1910efbf 100644
--- a/shells/bash/Makefile
+++ b/shells/bash/Makefile
@@ -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
diff --git a/shells/bash/pkg-plist b/shells/bash/pkg-plist
index adcd3062adbe..bae702a598b2 100644
--- a/shells/bash/pkg-plist
+++ b/shells/bash/pkg-plist
@@ -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