1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/shells/heirloom-sh/Makefile
Mathieu Arnold e1bfdfbe56 Add DOCS options to ports that should have one.
Also various fixes related to said option.

PR:		230864
Submitted by:	mat
exp-runs by:	antoine
2018-09-10 13:14:50 +00:00

32 lines
798 B
Makefile

# Created by: Danijel Tasov <danielt@pilgerer.org>
# $FreeBSD$
PORTNAME= heirloom-sh
PORTVERSION= 050706
CATEGORIES= shells
MASTER_SITES= SF/heirloom/${PORTNAME}/${PORTVERSION}
MAINTAINER= danielt@pilgerer.org
COMMENT= Portable version of OpenSolaris' Bourne Shell
BROKEN_aarch64= Fails to link: missing sbrk
USES= tar:bzip2
MAKEFILE= makefile
PLIST_FILES= bin/jsh \
man/man1/jsh.1.gz
PORTDOCS= CALDERA.LICENSE OPENSOLARIS.LICENSE CHANGES README
PKGINSTALL= pkg-install
PKGDEINSTALL= pkg-deinstall
OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/jsh ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/sh.1.out ${STAGEDIR}${MANPREFIX}/man/man1/jsh.1
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>