1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00
freebsd-ports/shells/dash/Makefile

34 lines
767 B
Makefile

PORTNAME= dash
PORTVERSION= 0.5.11.5
CATEGORIES= shells
MASTER_SITES= http://gondor.apana.org.au/~herbert/dash/files/
MAINTAINER= bdrewery@FreeBSD.org
COMMENT= POSIX-compliant implementation of /bin/sh
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING
GNU_CONFIGURE= yes
# SIGRTMAX is larger than NSIG*2 which mksignames.c does not support. Just
# disable RT signal handling.
CFLAGS+= -DUNUSABLE_RT_SIGNALS
USES= cpe gmake
PLIST_FILES= bin/dash \
man/man1/dash.1.gz
PORTDOCS= ChangeLog
OPTIONS_DEFINE= DOCS
post-patch:
${REINPLACE_CMD} -e '/COMMON_CFLAGS =/ s|$$| ${CFLAGS}|' \
${WRKSRC}/src/Makefile.in
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>