pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/math/sc Support staged installation.
details: https://anonhg.NetBSD.org/pkgsrc/rev/ad9b891075fd
branches: trunk
changeset: 568411:ad9b891075fd
user: asau <asau%pkgsrc.org@localhost>
date: Sat Dec 12 20:22:01 2009 +0000
description:
Support staged installation.
diffstat:
math/sc/Makefile | 5 ++-
math/sc/distinfo | 4 +-
math/sc/patches/patch-aa | 74 ++++++++++++++++++++++++++++++++++++++++++++++-
3 files changed, 77 insertions(+), 6 deletions(-)
diffs (121 lines):
diff -r 6da2dda201dd -r ad9b891075fd math/sc/Makefile
--- a/math/sc/Makefile Sat Dec 12 20:11:24 2009 +0000
+++ b/math/sc/Makefile Sat Dec 12 20:22:01 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2007/02/22 19:26:47 wiz Exp $
+# $NetBSD: Makefile,v 1.15 2009/12/12 20:22:01 asau Exp $
DISTNAME= sc-6.21
PKGREVISION= 2
@@ -9,8 +9,11 @@
MAINTAINER= eric%fox.phoenix.az.us@localhost
COMMENT= Curses-based spreadsheet program
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}
USE_TOOLS+= yacc
MAKE_FLAGS+= MANDIR=${PREFIX}/${PKGMANDIR}/man1
+INSTALLATION_DIRS= bin lib ${PKGMANDIR}/man1
.include "../../mk/bsd.pkg.mk"
diff -r 6da2dda201dd -r ad9b891075fd math/sc/distinfo
--- a/math/sc/distinfo Sat Dec 12 20:11:24 2009 +0000
+++ b/math/sc/distinfo Sat Dec 12 20:22:01 2009 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.6 2006/12/11 14:52:04 obache Exp $
+$NetBSD: distinfo,v 1.7 2009/12/12 20:22:01 asau Exp $
SHA1 (sc-6.21.tar.Z) = 80d8972bcd1b5adcbc00345b6866954603dadf31
RMD160 (sc-6.21.tar.Z) = 24abfaea2e5ef644394efd5e13ad1850280abbd6
Size (sc-6.21.tar.Z) = 180360 bytes
-SHA1 (patch-aa) = d9092f0d2b996f2e9b89b708bc59d3bcffe8f18a
+SHA1 (patch-aa) = 24cb53e798d3b923ff370b29d8de5bbb9e4127b2
SHA1 (patch-ab) = 2055f81bbabaa2752ed6dc18ce66ca857b9654f4
SHA1 (patch-ac) = 1b3628ae0bf881c8c3e9886210d23d63207f912f
SHA1 (patch-ad) = e579f8e29ebba4d653e83741a829262c2b7d8d2b
diff -r 6da2dda201dd -r ad9b891075fd math/sc/patches/patch-aa
--- a/math/sc/patches/patch-aa Sat Dec 12 20:11:24 2009 +0000
+++ b/math/sc/patches/patch-aa Sat Dec 12 20:22:01 2009 +0000
@@ -1,6 +1,7 @@
-$NetBSD: patch-aa,v 1.3 2000/01/12 20:29:56 wiz Exp $
---- Makefile.orig Mon May 11 11:43:33 1992
-+++ Makefile Sun Jun 20 23:06:49 1999
+$NetBSD: patch-aa,v 1.4 2009/12/12 20:22:01 asau Exp $
+
+--- Makefile.orig 1992-05-11 22:43:33.000000000 +0400
++++ Makefile 2009-12-12 23:19:38.000000000 +0300
@@ -18,18 +18,18 @@
# This is where the install step puts it.
@@ -136,3 +137,70 @@
# Use this for SunOS 4.X if you have the System V package installed.
# This will link with the System V curses which is preferable to the
+@@ -440,36 +440,36 @@
+ p$(name).man: p$(name).1
+ nroff -man p$(name).1 > p$(name).man
+
+-install: $(EXDIR)/$(name) $(EXDIR)/$(name)qref $(EXDIR)/p$(name) \
+- $(LIBDIR)/tutorial \
+- $(MANDIR)/$(name).$(MANEXT) $(MANDIR)/p$(name).$(MANEXT)
+-
+-$(EXDIR)/$(name): $(name)
+- cp $(name) $(EXDIR)
+- strip $(EXDIR)/$(name)
+-
+-$(EXDIR)/$(name)qref: $(name)qref
+- cp $(name)qref $(EXDIR)
+- strip $(EXDIR)/$(name)qref
+-
+-$(EXDIR)/p$(name): p$(name)
+- cp p$(name) $(EXDIR)
+- strip $(EXDIR)/p$(name)
+-
+-$(LIBDIR)/tutorial: tutorial.sc $(LIBDIR)
+- cp tutorial.sc $(LIBDIR)/tutorial.$(name)
+- chmod $(MANMODE) $(LIBDIR)/tutorial.$(name)
+-
+-$(LIBDIR):
+- mkdir $(LIBDIR)
+-
+-$(MANDIR)/$(name).$(MANEXT): $(name).1
+- cp $(name).1 $(MANDIR)/$(name).$(MANEXT)
+- chmod $(MANMODE) $(MANDIR)/$(name).$(MANEXT)
+-
+-$(MANDIR)/p$(name).$(MANEXT): p$(name).1
+- cp p$(name).1 $(MANDIR)/p$(name).$(MANEXT)
+- chmod $(MANMODE) $(MANDIR)/p$(name).$(MANEXT)
++install: $(DESTDIR)$(EXDIR)/$(name) $(DESTDIR)$(EXDIR)/$(name)qref $(DESTDIR)$(EXDIR)/p$(name) \
++ $(DESTDIR)$(LIBDIR)/tutorial \
++ $(DESTDIR)$(MANDIR)/$(name).$(MANEXT) $(DESTDIR)$(MANDIR)/p$(name).$(MANEXT)
++
++$(DESTDIR)$(EXDIR)/$(name): $(name)
++ cp $(name) $(DESTDIR)$(EXDIR)
++ strip $(DESTDIR)$(EXDIR)/$(name)
++
++$(DESTDIR)$(EXDIR)/$(name)qref: $(name)qref
++ cp $(name)qref $(DESTDIR)$(EXDIR)
++ strip $(DESTDIR)$(EXDIR)/$(name)qref
++
++$(DESTDIR)$(EXDIR)/p$(name): p$(name)
++ cp p$(name) $(DESTDIR)$(EXDIR)
++ strip $(DESTDIR)$(EXDIR)/p$(name)
++
++$(DESTDIR)$(LIBDIR)/tutorial: tutorial.sc $(DESTDIR)$(LIBDIR)
++ cp tutorial.sc $(DESTDIR)$(LIBDIR)/tutorial.$(name)
++ chmod $(MANMODE) $(DESTDIR)$(LIBDIR)/tutorial.$(name)
++
++$(DESTDIR)$(LIBDIR):
++ mkdir $(DESTDIR)$(LIBDIR)
++
++$(DESTDIR)$(MANDIR)/$(name).$(MANEXT): $(name).1
++ cp $(name).1 $(DESTDIR)$(MANDIR)/$(name).$(MANEXT)
++ chmod $(MANMODE) $(DESTDIR)$(MANDIR)/$(name).$(MANEXT)
++
++$(DESTDIR)$(MANDIR)/p$(name).$(MANEXT): p$(name).1
++ cp p$(name).1 $(DESTDIR)$(MANDIR)/p$(name).$(MANEXT)
++ chmod $(MANMODE) $(DESTDIR)$(MANDIR)/p$(name).$(MANEXT)
+
+ diffs: ${SRC}
+ for i in ${DOCS} ${SRC} ;\
Home |
Main Index |
Thread Index |
Old Index