summaryrefslogtreecommitdiff
path: root/shells/es
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2010-02-12 00:21:17 +0000
committerjoerg <joerg@pkgsrc.org>2010-02-12 00:21:17 +0000
commit061e88eb855d2241cde697bcd9e5af55a242e8ca (patch)
treee4123f8c4395eef438ed43df814720a578f93396 /shells/es
parentdf5a8303dae37eb2059058de44e9bd9a7e6b2802 (diff)
downloadpkgsrc-061e88eb855d2241cde697bcd9e5af55a242e8ca.tar.gz
DESTDIR support
Diffstat (limited to 'shells/es')
-rw-r--r--shells/es/Makefile6
-rw-r--r--shells/es/distinfo4
-rw-r--r--shells/es/patches/patch-aa8
3 files changed, 11 insertions, 7 deletions
diff --git a/shells/es/Makefile b/shells/es/Makefile
index 07b23045076..31ec8b72600 100644
--- a/shells/es/Makefile
+++ b/shells/es/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2007/12/02 08:32:25 rillig Exp $
+# $NetBSD: Makefile,v 1.22 2010/02/12 00:23:34 joerg Exp $
DISTNAME= es-0.9-alpha1
PKGNAME= es-0.9a1
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://hawkwind.cs.toronto.edu:8001/mlists/es.html
COMMENT= Extensible shell, derived from plan9's rc
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_TOOLS+= yacc
PKG_SHELL= bin/es
@@ -20,4 +22,6 @@ SUBST_MESSAGE.path= Fixing path to es in scripts.
SUBST_FILES.path= esdebug
SUBST_SED.path= -e 's|^\#! /bin/es|\#! ${PREFIX:Q}/bin/es|'
+INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1
+
.include "../../mk/bsd.pkg.mk"
diff --git a/shells/es/distinfo b/shells/es/distinfo
index c052e1206f5..761a9795647 100644
--- a/shells/es/distinfo
+++ b/shells/es/distinfo
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.12 2008/09/19 20:02:23 joerg Exp $
+$NetBSD: distinfo,v 1.13 2010/02/12 00:23:34 joerg Exp $
SHA1 (es-0.9-alpha1.tar.gz) = 5027c9dade742c437b8e471a356d15883ebc4732
RMD160 (es-0.9-alpha1.tar.gz) = ca2307202ab6e65c49188e3228d1af6426a23952
Size (es-0.9-alpha1.tar.gz) = 125913 bytes
-SHA1 (patch-aa) = 0ecb437885e77c07ef9c6d677cefe9d0ae6b86d8
+SHA1 (patch-aa) = a6488aa2ca69332f0d22943befcd8d022ab01ef2
SHA1 (patch-ab) = bd58fbbf71d5c9dc76bdc380cb7b93ad3f5f1c72
SHA1 (patch-ac) = 978debd8079eedf7d09862e9946bfd9957c46732
SHA1 (patch-ad) = 63bf69c25dc9e610b9375685459a1fd05ea66e1e
diff --git a/shells/es/patches/patch-aa b/shells/es/patches/patch-aa
index cef0bacee8a..025c4f01d65 100644
--- a/shells/es/patches/patch-aa
+++ b/shells/es/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.5 2005/03/10 16:58:39 tv Exp $
+$NetBSD: patch-aa,v 1.6 2010/02/12 00:23:34 joerg Exp $
--- Makefile.orig 1995-05-30 07:14:14.000000000 -0400
+++ Makefile
@@ -20,9 +20,9 @@ $NetBSD: patch-aa,v 1.5 2005/03/10 16:58:39 tv Exp $
+all: es
+
+install:
-+ ${BSD_INSTALL_PROGRAM} es $(PREFIX)/bin
-+ ${BSD_INSTALL_SCRIPT} esdebug $(PREFIX)/bin/esdebug
-+ ${BSD_INSTALL_MAN} es.1 $(PREFIX)/man/man1
++ ${BSD_INSTALL_PROGRAM} es ${DESTDIR}$(PREFIX)/bin
++ ${BSD_INSTALL_SCRIPT} esdebug ${DESTDIR}$(PREFIX)/bin/esdebug
++ ${BSD_INSTALL_MAN} es.1 ${DESTDIR}$(PREFIX)/man/man1
+
es : ${OFILES} initial.o
${CC} -o es ${LDFLAGS} ${OFILES} initial.o ${LIBS}