From 71177ab598b2b04b48cd4f0626d76dd6fca9a791 Mon Sep 17 00:00:00 2001 From: tnn Date: Fri, 23 May 2008 17:27:09 +0000 Subject: - Adapt to use local distribution. - Add DESTDIR support. --- shells/pdksh/Makefile | 16 ++++++++++++++-- shells/pdksh/distinfo | 7 ------- shells/pdksh/patches/patch-aa | 17 ----------------- shells/pdksh/patches/patch-ab | 12 ------------ 4 files changed, 14 insertions(+), 38 deletions(-) delete mode 100644 shells/pdksh/distinfo delete mode 100644 shells/pdksh/patches/patch-aa delete mode 100644 shells/pdksh/patches/patch-ab (limited to 'shells') diff --git a/shells/pdksh/Makefile b/shells/pdksh/Makefile index 8f25464a43a..c1d6711c445 100644 --- a/shells/pdksh/Makefile +++ b/shells/pdksh/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2007/12/02 12:29:02 wiz Exp $ +# $NetBSD: Makefile,v 1.15 2008/05/23 17:27:09 tnn Exp $ # DISTNAME= pdksh-5.2.14 @@ -8,16 +8,28 @@ 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/ +MASTER_SITES= # maintained locally +DISTFILES= # empty MAINTAINER= schmonz@NetBSD.org HOMEPAGE= http://web.cs.mun.ca/~michael/pdksh/ COMMENT= Free clone of the AT&T Korn shell +PKG_DESTDIR_SUPPORT= user-destdir PKG_INSTALLATION_TYPES= overwrite pkgviews +NO_CHECKSUM= yes GNU_CONFIGURE= yes -CONFIGURE_ARGS+= --program-prefix=pd PKG_SHELL= bin/pdksh +do-extract: + ${CP} -R ${FILESDIR} ${WRKSRC} + +INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/ksh ${DESTDIR}${PREFIX}/bin/pdksh + ${INSTALL_MAN} ${WRKSRC}/ksh.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/pdksh.1 + .include "../../mk/bsd.pkg.mk" diff --git a/shells/pdksh/distinfo b/shells/pdksh/distinfo deleted file mode 100644 index 22272a7b8b3..00000000000 --- a/shells/pdksh/distinfo +++ /dev/null @@ -1,7 +0,0 @@ -$NetBSD: distinfo,v 1.3 2005/11/10 22:21:56 joerg Exp $ - -SHA1 (pdksh-5.2.14.tar.gz) = 8b022e45de7691ef330f13b0981f0cff30b4047d -RMD160 (pdksh-5.2.14.tar.gz) = 3ecb47ac7c7fc43445806a68c740c94278e2368f -Size (pdksh-5.2.14.tar.gz) = 480107 bytes -SHA1 (patch-aa) = 19cbe1ae50ee63549019c55c3eafb2bf138c401e -SHA1 (patch-ab) = d1623335dee7933f3daf612eaf0cfe37c7e96744 diff --git a/shells/pdksh/patches/patch-aa b/shells/pdksh/patches/patch-aa deleted file mode 100644 index 11358396873..00000000000 --- a/shells/pdksh/patches/patch-aa +++ /dev/null @@ -1,17 +0,0 @@ -$NetBSD: patch-aa,v 1.1.1.1 2002/11/28 07:12:09 schmonz Exp $ - ---- Makefile.in.orig Tue Jul 13 13:06:53 1999 -+++ Makefile.in -@@ -82,12 +82,6 @@ all: $(SHELL_PROG)$(exe_suffix) $(SHELL_ - install: installdirs all - $(INSTALL_PROGRAM) $(SHELL_PROG)$(exe_suffix) $(bindir)/`echo $(SHELL_PROG)|sed '$(transform)'`$(exe_suffix) - -$(INSTALL_DATA) $(SHELL_PROG).1 $(mandir)/`echo $(SHELL_PROG)|sed '$(transform)'`.$(manext) -- -@prog=$(bindir)/`echo $(SHELL_PROG)|sed '$(transform)'`$(exe_suffix);\ -- test -f /etc/shells \ -- && (grep "^$$prog\$$" /etc/shells > /dev/null \ -- || echo \ --"NOTE: /etc/shells does not contain $$prog \ -- you should add it if you want to set your shell to $(SHELL_PROG)") - - installdirs: - $(srcdir)/mkinstalldirs $(bindir) $(mandir) diff --git a/shells/pdksh/patches/patch-ab b/shells/pdksh/patches/patch-ab deleted file mode 100644 index f45db149b42..00000000000 --- a/shells/pdksh/patches/patch-ab +++ /dev/null @@ -1,12 +0,0 @@ -$NetBSD: patch-ab,v 1.1 2005/11/10 22:21:56 joerg Exp $ - ---- sh.h.orig 2005-11-10 22:19:37.000000000 +0000 -+++ sh.h -@@ -116,7 +116,6 @@ void *memmove ARGS((void *d, const void - #endif /* HAVE_PROTOTYPES */ - - #include --extern int errno; - - #ifdef HAVE_FCNTL_H - # include -- cgit v1.2.3