1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00
freebsd-ports/shells/44bsd-csh/Makefile
2021-04-06 16:31:07 +02:00

42 lines
1005 B
Makefile

# Created by: David O'Brien <obrien@NUXI.com>
PORTNAME= 44bsd-csh
PORTVERSION= 20001106
PORTREVISION= 5
CATEGORIES= shells
MASTER_SITES= LOCAL/cy
MAINTAINER= cy@FreeBSD.org
COMMENT= The traditional 4.4BSD /bin/csh C-shell
BROKEN_aarch64= Fails to link: missing sbrk
BROKEN_riscv64= Fails to link: missing sbrk
EXTRACT_DEPENDS= rcs:devel/rcs57
USES= tar:bzip2
LDFLAGS= -Wl,--allow-multiple-definition
NO_WRKSUBDIR= yes
PORTDOCS= paper.ascii.gz
OPTIONS_DEFINE= DOCS
post-extract:
cd ${WRKSRC} ; co RCS/*,v; chmod u+w *
cd ${WRKSRC}/USD.doc ; co RCS/*,v
post-build:
cd ${WRKSRC}/USD.doc ; ${MAKE}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/csh ${STAGEDIR}${PREFIX}/bin/44bsd-csh
${INSTALL_MAN} ${WRKSRC}/csh.1 ${STAGEDIR}${PREFIX}/man/man1/44bsd-csh.1
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/USD.doc/paper.ascii.gz ${STAGEDIR}${DOCSDIR}
tarup:
cd ${WRKSRC} ; rm * USD.doc/*
cd ${WRKSRC} ; ${TAR} cvyf /tmp/${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}
.include <bsd.port.mk>