aboutsummaryrefslogtreecommitdiffstats
path: root/shells/pdksh/Makefile
blob: 1fe98469afefe3b7c2009b24964b7f5553e48674 (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
29
30
31
32
33
34
35
# Created by: Thomas Gellekum <tg@FreeBSD.org>
# $FreeBSD$

PORTNAME=   pdksh
PORTVERSION=    5.2.14p2
PORTREVISION=   6
CATEGORIES= shells
MASTER_SITES=   http://gd.tuwien.ac.at/utils/shells/pdksh/ \
        ftp://ftp.lip6.fr/pub/unix/shells/pdksh/ \
        ftp://ftp.demon.net/pub/mirrors/pdksh/
DISTNAME=   ${PORTNAME}-${PORTVERSION:C/p.*//}

PATCH_SITES=    ${MASTER_SITES}
PATCHFILES= ${DISTNAME}-patches.1 ${DISTNAME}-patches.2
PATCH_DIST_STRIP=   -p2

MAINTAINER= rodrigo@FreeBSD.org
COMMENT=    The Public Domain Korn Shell

LICENSE=    BSD3CLAUSE

BROKEN_powerpc64=   fails to compile siglist.in

OPTIONS_DEFINE= STATIC

GNU_CONFIGURE=  yes
CPP+=       -P

STATIC_CONFIGURE_ENV+=  LDSTATIC=-static

post-patch:
    @(${ECHO_CMD} ",s/v${PORTVERSION:C/p.*//}/v${PORTVERSION:S/p/./}/"; \
        ${ECHO_CMD} "wq") | ed -s ${WRKSRC}/version.c

.include <bsd.port.mk>