pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/sgb - Reduce dependencies of sgb.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fb170830689a
branches:  trunk
changeset: 570342:fb170830689a
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Fri Jan 29 01:34:06 2010 +0000

description:
- Reduce dependencies of sgb.
- Use an absolute path in invoking ctangle.

diffstat:

 devel/sgb/Makefile         |   9 ++++++---
 devel/sgb/distinfo         |   4 ++--
 devel/sgb/patches/patch-aa |  11 ++++++++++-
 3 files changed, 18 insertions(+), 6 deletions(-)

diffs (70 lines):

diff -r 991e2fb593e5 -r fb170830689a devel/sgb/Makefile
--- a/devel/sgb/Makefile        Thu Jan 28 23:41:02 2010 +0000
+++ b/devel/sgb/Makefile        Fri Jan 29 01:34:06 2010 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.3 2009/03/04 16:54:26 minskim Exp $
+# $NetBSD: Makefile,v 1.4 2010/01/29 01:34:06 minskim Exp $
 
 DISTNAME=      sgb-2007-03.28
 PKGNAME=       sgb-20070328
+PKGREVISION=   1
 CATEGORIES=    devel
 MASTER_SITES=  ftp://ftp.cs.stanford.edu/pub/sgb/
 
@@ -9,7 +10,8 @@
 HOMEPAGE=      http://www-cs-faculty.stanford.edu/~uno/sgb.html
 COMMENT=       The Stanford GraphBase
 
-DEPENDS+=      teTeX-bin-[0-9]*:../../print/teTeX3-bin
+DEPENDS+=      tex-tex-[0-9]*:../../print/tex-tex
+DEPENDS+=      web2c-[0-9]*:../../print/web2c
 
 PKG_DESTDIR_SUPPORT=   user-destdir
 
@@ -23,7 +25,8 @@
 SUBST_MESSAGE.paths=   Fixing hardcoded paths.
 SUBST_STAGE.paths=     pre-configure
 SUBST_FILES.paths=     Makefile
-SUBST_SED.paths=       -e 's,@PREFIX@,$${DESTDIR}${PREFIX},g'
+SUBST_SED.paths=       -e 's,@LOCALBASE@,${LOCALBASE},g' \
+                       -e 's,@PREFIX@,$${DESTDIR}${PREFIX},g'
 
 post-install:
        ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/sgb
diff -r 991e2fb593e5 -r fb170830689a devel/sgb/distinfo
--- a/devel/sgb/distinfo        Thu Jan 28 23:41:02 2010 +0000
+++ b/devel/sgb/distinfo        Fri Jan 29 01:34:06 2010 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2009/01/04 23:14:00 dbj Exp $
+$NetBSD: distinfo,v 1.3 2010/01/29 01:34:06 minskim Exp $
 
 SHA1 (sgb-2007-03.28.tar.gz) = 651cc1ea52a3ea10d00276e7fb09458bb344072c
 RMD160 (sgb-2007-03.28.tar.gz) = 5da2b7835e051f9e4224a9e56ec17aafba54d864
 Size (sgb-2007-03.28.tar.gz) = 493980 bytes
-SHA1 (patch-aa) = 310fb196a09cdc0255d491ebad9d3c2ec1c18c38
+SHA1 (patch-aa) = 4ec26728a8fde000aa8198cd0a0d12e6d4dbc12b
diff -r 991e2fb593e5 -r fb170830689a devel/sgb/patches/patch-aa
--- a/devel/sgb/patches/patch-aa        Thu Jan 28 23:41:02 2010 +0000
+++ b/devel/sgb/patches/patch-aa        Fri Jan 29 01:34:06 2010 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.1.1.1 2006/05/04 09:35:33 minskim Exp $
+$NetBSD: patch-aa,v 1.2 2010/01/29 01:34:06 minskim Exp $
 
 --- Makefile.orig      1999-12-27 14:27:24.000000000 -0800
 +++ Makefile
@@ -44,6 +44,15 @@
  LDLIBS = -lgb
  LOADLIBES = $(LDLIBS)
  
+@@ -50,7 +50,7 @@ LOADLIBES = $(LDLIBS)
+       tex $*.tex
+ 
+ .w.c:
+-      if test -r $*.ch; then ctangle $*.w $*.ch; else ctangle $*.w; fi
++      if test -r $*.ch; then @LOCALBASE@/bin/ctangle $*.w $*.ch; else @LOCALBASE@/bin/ctangle $*.w; fi
+ 
+ .w.tex:
+       if test -r $*.ch; then cweave $*.w $*.ch; else cweave $*.w; fi
 @@ -67,6 +67,12 @@ LOADLIBES = $(LDLIBS)
        make $*.tex
        make $*.dvi



Home | Main Index | Thread Index | Old Index