aboutsummaryrefslogtreecommitdiffstats
path: root/shells/dash/Makefile
blob: 52e8fc9a626ba92cb7212b6aa0a7d45e4f653bc8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# $FreeBSD$

PORTNAME=   dash
PORTVERSION=    0.5.10.2
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=       gmake

PLIST_FILES=    bin/dash \
        man/man1/dash.1.gz

post-patch:
    ${REINPLACE_CMD} -e '/COMMON_CFLAGS =/ s|$$| ${CFLAGS}|' \
        ${WRKSRC}/src/Makefile.in

.include <bsd.port.mk>