summaryrefslogtreecommitdiff
path: root/devel/sgb
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2010-01-29 01:34:06 +0000
committerminskim <minskim@pkgsrc.org>2010-01-29 01:34:06 +0000
commitf085c19280471bc49a87ee00d9fd111895d1a8b2 (patch)
treed4b38ace1c785dfbfc96422feba13dc815185062 /devel/sgb
parenta87f841129927fc9359284d1a1b66d0817da4865 (diff)
downloadpkgsrc-f085c19280471bc49a87ee00d9fd111895d1a8b2.tar.gz
- Reduce dependencies of sgb.
- Use an absolute path in invoking ctangle.
Diffstat (limited to 'devel/sgb')
-rw-r--r--devel/sgb/Makefile9
-rw-r--r--devel/sgb/distinfo4
-rw-r--r--devel/sgb/patches/patch-aa11
3 files changed, 18 insertions, 6 deletions
diff --git a/devel/sgb/Makefile b/devel/sgb/Makefile
index f27027fc88d..7d35737f3b9 100644
--- a/devel/sgb/Makefile
+++ b/devel/sgb/Makefile
@@ -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 @@ MAINTAINER= minskim@NetBSD.org
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_CLASSES+= paths
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 --git a/devel/sgb/distinfo b/devel/sgb/distinfo
index 09a06e57aaf..2aa58f03e78 100644
--- a/devel/sgb/distinfo
+++ b/devel/sgb/distinfo
@@ -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 --git a/devel/sgb/patches/patch-aa b/devel/sgb/patches/patch-aa
index 1de47fb3d61..b4456d52590 100644
--- a/devel/sgb/patches/patch-aa
+++ b/devel/sgb/patches/patch-aa
@@ -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 @@ $NetBSD: patch-aa,v 1.1.1.1 2006/05/04 09:35:33 minskim Exp $
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