diff options
author | asau <asau@pkgsrc.org> | 2009-12-12 20:22:01 +0000 |
---|---|---|
committer | asau <asau@pkgsrc.org> | 2009-12-12 20:22:01 +0000 |
commit | fe8f8c4e0eebe7f6b61de429e2fe2c6fd039f3e8 (patch) | |
tree | b7f548da40c7dcd2d3a169cfea5b5dc403c6ffb9 /math/sc | |
parent | 2c05015de874d30260a624b0957cd7d7a07f9a85 (diff) | |
download | pkgsrc-fe8f8c4e0eebe7f6b61de429e2fe2c6fd039f3e8.tar.gz |
Support staged installation.
Diffstat (limited to 'math/sc')
-rw-r--r-- | math/sc/Makefile | 5 | ||||
-rw-r--r-- | math/sc/distinfo | 4 | ||||
-rw-r--r-- | math/sc/patches/patch-aa | 74 |
3 files changed, 77 insertions, 6 deletions
diff --git a/math/sc/Makefile b/math/sc/Makefile index 55e529d5380..f899cc2b7e9 100644 --- a/math/sc/Makefile +++ b/math/sc/Makefile @@ -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 @@ EXTRACT_SUFX= .tar.Z MAINTAINER= eric@fox.phoenix.az.us 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 --git a/math/sc/distinfo b/math/sc/distinfo index 083dc0da7f2..f8fad392b04 100644 --- a/math/sc/distinfo +++ b/math/sc/distinfo @@ -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 --git a/math/sc/patches/patch-aa b/math/sc/patches/patch-aa index a08b762a85b..8d678ebfd65 100644 --- a/math/sc/patches/patch-aa +++ b/math/sc/patches/patch-aa @@ -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 @@ $NetBSD: patch-aa,v 1.3 2000/01/12 20:29:56 wiz Exp $ # 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} ;\ |