View | Details | Raw Unified | Return to bug 51791
Collapse All | Expand All

(-)Makefile (-4 / +8 lines)
Lines 6-19 Link Here
6
#
6
#
7
7
8
PORTNAME=	pdksh
8
PORTNAME=	pdksh
9
PORTVERSION=	5.2.14p2
9
PORTVERSION=	5.2.14.p2
10
CATEGORIES=	shells
10
CATEGORIES=	shells
11
MASTER_SITES=	ftp://ftp.cs.mun.ca/pub/pdksh/ \
11
MASTER_SITES=	ftp://ftp.cs.mun.ca/pub/pdksh/ \
12
		http://gd.tuwien.ac.at/utils/shells/pdksh/ \
12
		http://gd.tuwien.ac.at/utils/shells/pdksh/ \
13
		ftp://ftp.lip6.fr/pub/unix/shells/pdksh/ \
13
		ftp://ftp.lip6.fr/pub/unix/shells/pdksh/ \
14
		ftp://ftp.demon.net/pub/mirrors/pdksh/ \
14
		ftp://ftp.demon.net/pub/mirrors/pdksh/ \
15
		ftp://ftp.rge.com/pub/shells/pdksh/
15
		ftp://ftp.rge.com/pub/shells/pdksh/
16
DISTNAME=	${PORTNAME}-${PORTVERSION:C/p.*//}
16
DISTNAME=	${PORTNAME}-${PORTVERSION:R}
17
17
18
PATCH_SITES=	${MASTER_SITES}
18
PATCH_SITES=	${MASTER_SITES}
19
PATCHFILES=	${DISTNAME}-patches.1 ${DISTNAME}-patches.2
19
PATCHFILES=	${DISTNAME}-patches.1 ${DISTNAME}-patches.2
Lines 22-34 Link Here
22
MAINTAINER=	tg@FreeBSD.org
22
MAINTAINER=	tg@FreeBSD.org
23
COMMENT=	The Public Domain Korn Shell
23
COMMENT=	The Public Domain Korn Shell
24
24
25
USE_REINPLACE=	yes
25
GNU_CONFIGURE=	yes
26
GNU_CONFIGURE=	yes
26
CONFIGURE_ENV=	LDSTATIC=-static
27
CONFIGURE_ENV=	LDSTATIC=-static
27
MAN1=		ksh.1
28
MAN1=		ksh.1
28
29
29
post-patch:
30
post-patch:
30
	@(${ECHO_CMD} ",s/v${PORTVERSION:C/p.*//}/v${PORTVERSION:S/p/./}/"; \
31
.for file in ksh.Man version.c
31
		${ECHO_CMD} "wq") | ed -s ${WRKSRC}/version.c
32
	@${REINPLACE_CMD} -e \
33
	"s/v${PORTVERSION:N*p*}${PORTVERSION:M*p*:R} /v${PORTVERSION:S/p//} /"\
34
		${WRKSRC}/${file}
35
.endfor
32
36
33
post-install:
37
post-install:
34
	@${ECHO} "Updating /etc/shells"
38
	@${ECHO} "Updating /etc/shells"

Return to bug 51791