2004-06-22 10:24:19 +02:00
|
|
|
PORTNAME= v7sh
|
|
|
|
PORTVERSION= 1.0
|
2014-06-11 19:42:36 +02:00
|
|
|
PORTREVISION= 1
|
2004-06-22 10:24:19 +02:00
|
|
|
CATEGORIES= shells
|
2019-11-02 21:44:33 +01:00
|
|
|
MASTER_SITES= https://BSDforge.com/projects/source/shells/v7sh/
|
|
|
|
DISTFILES= args.c blok.c brkincr.h builtin.c cmd.c \
|
|
|
|
ctype.c ctype.h defs.h error.c expand.c \
|
|
|
|
fault.c io.c mac.h macro.c main.c mode.h \
|
|
|
|
msg.c name.c name.h print.c service.c \
|
|
|
|
setbrk.c stak.c stak.h string.c sym.h \
|
|
|
|
timeout.h word.c xec.c sh.1
|
2004-06-22 10:24:19 +02:00
|
|
|
DIST_SUBDIR= ${PORTNAME}
|
|
|
|
|
2019-11-02 21:44:33 +01:00
|
|
|
MAINTAINER= portmaster@BSDforge.com
|
2013-12-27 10:20:54 +01:00
|
|
|
COMMENT= Implementation of the UNIX 7th Edition shell
|
2004-06-22 10:24:19 +02:00
|
|
|
|
2016-11-10 02:21:43 +01:00
|
|
|
BROKEN_aarch64= Fails to link: missing sbrk
|
2021-01-02 00:51:48 +01:00
|
|
|
BROKEN_riscv64= Fails to link: missing sbrk
|
2016-11-10 02:21:43 +01:00
|
|
|
|
2013-12-27 10:20:54 +01:00
|
|
|
USES= uidfix
|
2004-06-22 10:24:19 +02:00
|
|
|
EXTRACT_CMD= ${CP}
|
|
|
|
EXTRACT_BEFORE_ARGS=
|
2015-11-05 13:36:25 +01:00
|
|
|
EXTRACT_AFTER_ARGS= ${WRKSRC}
|
2004-06-22 10:24:19 +02:00
|
|
|
|
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
|
2012-07-21 00:16:38 +02:00
|
|
|
OPTIONS_DEFINE= SYSIII RENO ULTRIX
|
|
|
|
OPTIONS_DEFAULT= SYSIII RENO ULTRIX
|
|
|
|
SYSIII_DESC= System III enhancements
|
|
|
|
RENO_DESC= 4.3BSD-Reno enhancements
|
|
|
|
ULTRIX_DESC= Ultrix 3.1 enhancements
|
2013-12-27 10:20:54 +01:00
|
|
|
SYSIII_CFLAGS= -DSYSIII
|
|
|
|
RENO_CFLAGS= -DRENO
|
|
|
|
ULTRIX_CFLAGS= -DULTRIX
|
2004-06-22 10:24:19 +02:00
|
|
|
|
|
|
|
post-extract:
|
|
|
|
@${MV} ${WRKSRC}/sh.1 ${WRKSRC}/${PORTNAME}.1
|
|
|
|
@${CP} ${FILESDIR}/Makefile ${WRKSRC}
|
|
|
|
@${CP} ${FILESDIR}/test.c ${WRKSRC} # sysIII
|
|
|
|
@${CP} ${FILESDIR}/pathnames.h ${WRKSRC} # 43reno
|
|
|
|
|
2012-07-21 00:16:38 +02:00
|
|
|
.include <bsd.port.mk>
|