1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/shells/pdksh/Makefile
Rodrigo Osorio 4f7963799c Fix build with gcc5
PR:		197920
Submitted by:	marino
2015-04-03 23:50:15 +00:00

34 lines
774 B
Makefile

# 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
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>