1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-21 20:38:45 +00:00

Strip the gosh binary.

Obtained from:	ports/40901
Submitted by:	Erik Greenwald <erik@smluc.org>
This commit is contained in:
Akinori MUSHA 2002-09-09 19:34:32 +00:00
parent 71e74c4dd9
commit 1904d7cde5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=65942

View File

@ -34,6 +34,7 @@ PLIST_SUB= VERSION="${PORTVERSION}" \
INFOSECTION="${INFOSECTION}"
post-install:
${STRIP_CMD} ${PREFIX}/bin/gosh
-${PREFIX}/bin/gosh -u slib -e "(require 'logical)" -e "(exit 0)" > /dev/null 2>&1
.if !defined(NOPORTDOCS)
${INSTALL_MAN} ${WRKSRC}/doc/*.1 ${MANPREFIX}/man/man1/