Date: Mon, 5 May 2003 14:57:38 +0200 From: Cyrille Lefevre <cyrille.lefevre@laposte.net> To: FreeBSD-gnats-submit@FreeBSD.org Cc: tg@FreeBSD.org Subject: ports/51791: Change-request: shell/pdksh (pdksh-5.2.14p2 -> pdksh-5.2.14.p2) Message-ID: <20030505125738.GA57622@gits.dyndns.org> Resent-Message-ID: <200305051300.h45D0KxO077433@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 51791 >Category: ports >Synopsis: Change-request: shell/pdksh (pdksh-5.2.14p2 -> pdksh-5.2.14.p2) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon May 05 06:00:20 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Cyrille Lefevre >Release: FreeBSD 5.0-RELEASE-p4 i386 >Organization: ACME >Environment: System: FreeBSD gits 5.0-RELEASE-p4 FreeBSD 5.0-RELEASE-p4 #8: Thu Apr 24 19:09:07 CEST 2003 root@gits:/disk3/freebsd/current/obj/disk3/freebsd/current/src/sys/CUSTOM i386 >Description: regarding the porters handbook, this port should be named pdksh-5.2.14.p2 and not pdksh-5.2.14p2. see the following URL for details : http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/makefile-naming.html#PORTING-PKGNAME Makefile PORTVERSION and DISTNAME changed USE_REINPLACE added "ed" changed to REINPLACE_CMD >How-To-Repeat: n/a >Fix: Index: Makefile =================================================================== RCS file: /home/ncvs/ports/shells/pdksh/Makefile,v retrieving revision 1.28 diff -u -I$Id.*$ -I$.+BSD.*$ -r1.28 Makefile --- Makefile 7 Mar 2003 06:10:39 -0000 1.28 +++ Makefile 29 Apr 2003 06:23:06 -0000 @@ -6,14 +6,14 @@ # PORTNAME= pdksh -PORTVERSION= 5.2.14p2 +PORTVERSION= 5.2.14.p2 CATEGORIES= shells MASTER_SITES= ftp://ftp.cs.mun.ca/pub/pdksh/ \ http://gd.tuwien.ac.at/utils/shells/pdksh/ \ ftp://ftp.lip6.fr/pub/unix/shells/pdksh/ \ ftp://ftp.demon.net/pub/mirrors/pdksh/ \ ftp://ftp.rge.com/pub/shells/pdksh/ -DISTNAME= ${PORTNAME}-${PORTVERSION:C/p.*//} +DISTNAME= ${PORTNAME}-${PORTVERSION:R} PATCH_SITES= ${MASTER_SITES} PATCHFILES= ${DISTNAME}-patches.1 ${DISTNAME}-patches.2 @@ -22,13 +22,17 @@ MAINTAINER= tg@FreeBSD.org COMMENT= The Public Domain Korn Shell +USE_REINPLACE= yes GNU_CONFIGURE= yes CONFIGURE_ENV= LDSTATIC=-static MAN1= ksh.1 post-patch: - @(${ECHO_CMD} ",s/v${PORTVERSION:C/p.*//}/v${PORTVERSION:S/p/./}/"; \ - ${ECHO_CMD} "wq") | ed -s ${WRKSRC}/version.c +.for file in ksh.Man version.c + @${REINPLACE_CMD} -e \ + "s/v${PORTVERSION:N*p*}${PORTVERSION:M*p*:R} /v${PORTVERSION:S/p//} /"\ + ${WRKSRC}/${file} +.endfor post-install: @${ECHO} "Updating /etc/shells" >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030505125738.GA57622>