summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsakamoto <sakamoto>1999-06-13 12:54:18 +0000
committersakamoto <sakamoto>1999-06-13 12:54:18 +0000
commitcb1dbc6befac165b816941b72df9458ab8996840 (patch)
tree1dc604f6063beab9ed204b2af71d65f4f3121470
parent13da19138b57fc3073c031adc40c3d30b5be3a0b (diff)
downloadpkgsrc-cb1dbc6befac165b816941b72df9458ab8996840.tar.gz
Adapt this package to NetBSD.
-rw-r--r--graphics/vcg/Makefile37
-rw-r--r--graphics/vcg/files/demo.csh2
-rw-r--r--graphics/vcg/files/globals.h7
-rw-r--r--graphics/vcg/files/md52
-rw-r--r--graphics/vcg/files/tMakefile7
-rw-r--r--graphics/vcg/patches/patch-aa2
-rw-r--r--graphics/vcg/patches/patch-ab2
-rw-r--r--graphics/vcg/patches/patch-ac2
-rw-r--r--graphics/vcg/patches/patch-ad2
-rw-r--r--graphics/vcg/patches/patch-ae2
-rw-r--r--graphics/vcg/patches/patch-af2
-rw-r--r--graphics/vcg/patches/patch-ag2
-rw-r--r--graphics/vcg/patches/patch-ah2
-rw-r--r--graphics/vcg/patches/patch-ai2
-rw-r--r--graphics/vcg/patches/patch-aj2
-rw-r--r--graphics/vcg/patches/patch-ak2
-rw-r--r--graphics/vcg/patches/patch-al2
-rw-r--r--graphics/vcg/patches/patch-am2
-rw-r--r--graphics/vcg/patches/patch-an2
-rw-r--r--graphics/vcg/patches/patch-ao2
-rw-r--r--graphics/vcg/patches/patch-ap2
-rw-r--r--graphics/vcg/pkg/PLIST46
22 files changed, 105 insertions, 28 deletions
diff --git a/graphics/vcg/Makefile b/graphics/vcg/Makefile
index 4c351e50674..5d5b4126b3f 100644
--- a/graphics/vcg/Makefile
+++ b/graphics/vcg/Makefile
@@ -1,25 +1,28 @@
-# New ports collection makefile for: vcg
-# Version required: 1.30.r3.17
-# Date created: 19 February 1995
-# Whom: hsu
-#
-# $Id: Makefile,v 1.1.1.1 1999/06/13 12:47:19 sakamoto Exp $
-#
+# $NetBSD: Makefile,v 1.2 1999/06/13 12:54:18 sakamoto Exp $
+# FreeBSD Id: Makefile,v 1.7 1998/08/05 09:31:14 asami Exp $
-DISTNAME= vcg.1.30
+DISTNAME= vcg.1.30.r3.17
PKGNAME= vcg-1.30
CATEGORIES= graphics
MASTER_SITES= ftp://ftp.cs.uni-sb.de/pub/graphics/vcg/
-DISTFILES= vcg.1.30.r3.17.tgz
+EXTRACT_SUFX= .tgz
-USE_X_PREFIX= yes
-MANL= pbmrot90.l pbmshift.l pbm2hp.l vcgdemomaker.l vcg.l xvcg.l
+MAINTAINER= sakamoto@netbsd.org
+
+USE_X11BASE= yes
+WRKSRC= ${WRKDIR}/vcg.1.30
pre-patch:
- @mkdir -p ${WRKSRC}/preconf/X11ccFreeBSD
- @cp ${FILESDIR}/conf ${WRKSRC}/preconf/X11ccFreeBSD
- @cp ${FILESDIR}/demo.csh ${WRKSRC}/preconf/X11ccFreeBSD
- @cp ${FILESDIR}/globals.h ${WRKSRC}/preconf/X11ccFreeBSD
- @cp ${FILESDIR}/tMakefile ${WRKSRC}/preconf/X11ccFreeBSD
+ @mkdir -p ${WRKSRC}/preconf/X11ccNetBSD
+ @cp ${FILESDIR}/conf ${WRKSRC}/preconf/X11ccNetBSD
+ @cp ${FILESDIR}/demo.csh ${WRKSRC}/preconf/X11ccNetBSD
+ @cp ${FILESDIR}/globals.h ${WRKSRC}/preconf/X11ccNetBSD
+ @cp ${FILESDIR}/tMakefile ${WRKSRC}/preconf/X11ccNetBSD
+
+post-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/vcg
+ ${INSTALL_DATA} ${WRKSRC}/doc/visual.ps ${PREFIX}/share/doc/vcg
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/vcg
+ ${INSTALL_DATA} ${WRKSRC}/expl/*.vcg ${PREFIX}/share/examples/vcg
-.include <bsd.port.mk>
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/vcg/files/demo.csh b/graphics/vcg/files/demo.csh
index d387025fa70..6444de11621 100644
--- a/graphics/vcg/files/demo.csh
+++ b/graphics/vcg/files/demo.csh
@@ -1,7 +1,7 @@
#!/bin/csh
#
# SCCS-info %W% %E%
-# $Id: demo.csh,v 1.1.1.1 1999/06/13 12:47:19 sakamoto Exp $
+# $Id: demo.csh,v 1.2 1999/06/13 12:54:19 sakamoto Exp $
#
# ====================== Change area ============================
diff --git a/graphics/vcg/files/globals.h b/graphics/vcg/files/globals.h
index 48dc1a37dd7..6d9d95922d6 100644
--- a/graphics/vcg/files/globals.h
+++ b/graphics/vcg/files/globals.h
@@ -17,7 +17,7 @@
/* */
/*--------------------------------------------------------------------*/
-/* $Id: globals.h,v 1.1.1.1 1999/06/13 12:47:19 sakamoto Exp $ */
+/* $Id: globals.h,v 1.2 1999/06/13 12:54:19 sakamoto Exp $ */
/*
* Copyright (C) 1993--1995 by Georg Sander, Iris Lemke, and
@@ -43,9 +43,8 @@
/* $Log: globals.h,v $
-/* Revision 1.1.1.1 1999/06/13 12:47:19 sakamoto
-/* Import FreeBSD's "vcg" port:
-/* A Visualization Tool for compiler graphs.
+/* Revision 1.2 1999/06/13 12:54:19 sakamoto
+/* Adapt this package to NetBSD.
/*
* Revision 1.1.1.1 1995/02/19 09:25:43 hsu
* vcg - a visualization tool for compiler graphs
diff --git a/graphics/vcg/files/md5 b/graphics/vcg/files/md5
index eff610c0d42..cf7bab80706 100644
--- a/graphics/vcg/files/md5
+++ b/graphics/vcg/files/md5
@@ -1 +1,3 @@
+$NetBSD: md5,v 1.2 1999/06/13 12:54:19 sakamoto Exp $
+
MD5 (vcg.1.30.r3.17.tgz) = 283faf1a2cc163d5c0e4977b8ec1f658
diff --git a/graphics/vcg/files/tMakefile b/graphics/vcg/files/tMakefile
index b02c6ccceff..8dd8e489b8a 100644
--- a/graphics/vcg/files/tMakefile
+++ b/graphics/vcg/files/tMakefile
@@ -17,12 +17,11 @@
# /* */
# /*--------------------------------------------------------------------*/
#
-# $Id: tMakefile,v 1.1.1.1 1999/06/13 12:47:19 sakamoto Exp $
+# $Id: tMakefile,v 1.2 1999/06/13 12:54:19 sakamoto Exp $
#
# $Log: tMakefile,v $
-# Revision 1.1.1.1 1999/06/13 12:47:19 sakamoto
-# Import FreeBSD's "vcg" port:
-# A Visualization Tool for compiler graphs.
+# Revision 1.2 1999/06/13 12:54:19 sakamoto
+# Adapt this package to NetBSD.
#
# Revision 1.1.1.1 1995/02/19 09:25:45 hsu
# vcg - a visualization tool for compiler graphs
diff --git a/graphics/vcg/patches/patch-aa b/graphics/vcg/patches/patch-aa
index 33aa7cf0592..ec23c65d95a 100644
--- a/graphics/vcg/patches/patch-aa
+++ b/graphics/vcg/patches/patch-aa
@@ -1,3 +1,5 @@
+$NetBSD: patch-aa,v 1.2 1999/06/13 12:54:19 sakamoto Exp $
+
--- 1.1 1995/02/18 16:56:11
+++ demo/Makefile 1995/02/18 16:57:11
@@ -124,7 +124,7 @@
diff --git a/graphics/vcg/patches/patch-ab b/graphics/vcg/patches/patch-ab
index 50ee46c635f..8cafec3494f 100644
--- a/graphics/vcg/patches/patch-ab
+++ b/graphics/vcg/patches/patch-ab
@@ -1,3 +1,5 @@
+$NetBSD: patch-ab,v 1.2 1999/06/13 12:54:19 sakamoto Exp $
+
--- 1.1 1995/02/18 16:57:50
+++ doc/Makefile 1995/02/18 16:58:35
@@ -72,7 +72,7 @@
diff --git a/graphics/vcg/patches/patch-ac b/graphics/vcg/patches/patch-ac
index 5051c266a08..c6d11be7161 100644
--- a/graphics/vcg/patches/patch-ac
+++ b/graphics/vcg/patches/patch-ac
@@ -1,3 +1,5 @@
+$NetBSD: patch-ac,v 1.2 1999/06/13 12:54:19 sakamoto Exp $
+
--- 1.1 1995/02/18 17:07:16
+++ src/preconf/y.tab.c 1995/02/18 17:20:13
@@ -446,7 +446,7 @@
diff --git a/graphics/vcg/patches/patch-ad b/graphics/vcg/patches/patch-ad
index e1b38fd9180..cbf51b7c057 100644
--- a/graphics/vcg/patches/patch-ad
+++ b/graphics/vcg/patches/patch-ad
@@ -1,3 +1,5 @@
+$NetBSD: patch-ad,v 1.2 1999/06/13 12:54:19 sakamoto Exp $
+
--- 1.1 1995/02/18 17:09:45
+++ src/preconf/lex.yy.c 1995/02/18 17:21:39
@@ -1665,7 +1665,7 @@
diff --git a/graphics/vcg/patches/patch-ae b/graphics/vcg/patches/patch-ae
index f67c7311ab4..ae18d2f0970 100644
--- a/graphics/vcg/patches/patch-ae
+++ b/graphics/vcg/patches/patch-ae
@@ -1,3 +1,5 @@
+$NetBSD: patch-ae,v 1.2 1999/06/13 12:54:19 sakamoto Exp $
+
--- 1.1 1995/02/18 16:51:08
+++ src/Makefile 1995/02/18 16:55:50
@@ -189,7 +189,7 @@
diff --git a/graphics/vcg/patches/patch-af b/graphics/vcg/patches/patch-af
index f1249b1c5f6..df807dd9ad2 100644
--- a/graphics/vcg/patches/patch-af
+++ b/graphics/vcg/patches/patch-af
@@ -1,3 +1,5 @@
+$NetBSD: patch-af,v 1.2 1999/06/13 12:54:19 sakamoto Exp $
+
--- 1.1 1995/02/18 17:44:23
+++ src/main.c 1995/02/18 17:44:52
@@ -147,7 +147,7 @@
diff --git a/graphics/vcg/patches/patch-ag b/graphics/vcg/patches/patch-ag
index 389c43807f6..c616efc6a1a 100644
--- a/graphics/vcg/patches/patch-ag
+++ b/graphics/vcg/patches/patch-ag
@@ -1,3 +1,5 @@
+$NetBSD: patch-ag,v 1.2 1999/06/13 12:54:19 sakamoto Exp $
+
--- 1.1 1995/02/18 17:48:32
+++ src/X11dev.c 1995/02/18 17:48:52
@@ -181,7 +181,7 @@
diff --git a/graphics/vcg/patches/patch-ah b/graphics/vcg/patches/patch-ah
index 75774966c51..a589ddc51bd 100644
--- a/graphics/vcg/patches/patch-ah
+++ b/graphics/vcg/patches/patch-ah
@@ -1,3 +1,5 @@
+$NetBSD: patch-ah,v 1.2 1999/06/13 12:54:19 sakamoto Exp $
+
--- 1.1 1995/02/18 17:48:53
+++ src/X11devcl.c 1995/02/18 17:49:10
@@ -115,7 +115,7 @@
diff --git a/graphics/vcg/patches/patch-ai b/graphics/vcg/patches/patch-ai
index 9ec87a97321..7d1622e3c4a 100644
--- a/graphics/vcg/patches/patch-ai
+++ b/graphics/vcg/patches/patch-ai
@@ -1,3 +1,5 @@
+$NetBSD: patch-ai,v 1.2 1999/06/13 12:54:19 sakamoto Exp $
+
--- 1.1 1995/02/18 17:49:10
+++ src/X11devfe.c 1995/02/18 17:49:26
@@ -85,7 +85,7 @@
diff --git a/graphics/vcg/patches/patch-aj b/graphics/vcg/patches/patch-aj
index 47aa8e2f175..200fb1c78c1 100644
--- a/graphics/vcg/patches/patch-aj
+++ b/graphics/vcg/patches/patch-aj
@@ -1,3 +1,5 @@
+$NetBSD: patch-aj,v 1.2 1999/06/13 12:54:19 sakamoto Exp $
+
--- 1.1 1995/02/18 17:49:27
+++ src/X11devfs.c 1995/02/18 18:03:42
@@ -107,7 +107,7 @@
diff --git a/graphics/vcg/patches/patch-ak b/graphics/vcg/patches/patch-ak
index c97cdc13a96..2e2b9db8f63 100644
--- a/graphics/vcg/patches/patch-ak
+++ b/graphics/vcg/patches/patch-ak
@@ -1,3 +1,5 @@
+$NetBSD: patch-ak,v 1.2 1999/06/13 12:54:19 sakamoto Exp $
+
--- 1.1 1995/02/18 17:49:42
+++ src/X11devla.c 1995/02/18 17:49:58
@@ -122,7 +122,7 @@
diff --git a/graphics/vcg/patches/patch-al b/graphics/vcg/patches/patch-al
index 54c104c7166..6266a92fe9e 100644
--- a/graphics/vcg/patches/patch-al
+++ b/graphics/vcg/patches/patch-al
@@ -1,3 +1,5 @@
+$NetBSD: patch-al,v 1.2 1999/06/13 12:54:19 sakamoto Exp $
+
--- 1.1 1995/02/18 17:49:58
+++ src/X11devpb.c 1995/02/18 17:50:16
@@ -115,7 +115,7 @@
diff --git a/graphics/vcg/patches/patch-am b/graphics/vcg/patches/patch-am
index 7f2654ee008..fa875264903 100644
--- a/graphics/vcg/patches/patch-am
+++ b/graphics/vcg/patches/patch-am
@@ -1,3 +1,5 @@
+$NetBSD: patch-am,v 1.2 1999/06/13 12:54:19 sakamoto Exp $
+
--- 1.1 1995/02/18 17:50:17
+++ src/X11devst.c 1995/02/18 17:50:33
@@ -68,7 +68,7 @@
diff --git a/graphics/vcg/patches/patch-an b/graphics/vcg/patches/patch-an
index d9dccab80b2..85cacec91f1 100644
--- a/graphics/vcg/patches/patch-an
+++ b/graphics/vcg/patches/patch-an
@@ -1,3 +1,5 @@
+$NetBSD: patch-an,v 1.2 1999/06/13 12:54:19 sakamoto Exp $
+
--- 1.1 1995/02/18 17:50:34
+++ src/X11devti.c 1995/02/18 17:50:48
@@ -111,7 +111,7 @@
diff --git a/graphics/vcg/patches/patch-ao b/graphics/vcg/patches/patch-ao
index 77574252fcc..fbcb61811be 100644
--- a/graphics/vcg/patches/patch-ao
+++ b/graphics/vcg/patches/patch-ao
@@ -1,3 +1,5 @@
+$NetBSD: patch-ao,v 1.2 1999/06/13 12:54:19 sakamoto Exp $
+
--- 1.1 1995/02/18 17:50:49
+++ src/X11devvw.c 1995/02/18 17:51:04
@@ -87,7 +87,7 @@
diff --git a/graphics/vcg/patches/patch-ap b/graphics/vcg/patches/patch-ap
index 5b7ffd6ed10..6221a69dd6b 100644
--- a/graphics/vcg/patches/patch-ap
+++ b/graphics/vcg/patches/patch-ap
@@ -1,3 +1,5 @@
+$NetBSD: patch-ap,v 1.2 1999/06/13 12:54:19 sakamoto Exp $
+
--- 1.1 1995/02/18 16:48:19
+++ Makefile 1995/02/18 17:12:05
@@ -31,7 +31,7 @@
diff --git a/graphics/vcg/pkg/PLIST b/graphics/vcg/pkg/PLIST
index f300591be79..4e7cac3adf3 100644
--- a/graphics/vcg/pkg/PLIST
+++ b/graphics/vcg/pkg/PLIST
@@ -1,5 +1,47 @@
-bin/xvcg
+@comment $NetBSD: PLIST,v 1.2 1999/06/13 12:54:20 sakamoto Exp $
+bin/pbm2hp
bin/pbmrot90
bin/pbmshift
-bin/pbm2hp
bin/vcgdemomaker
+bin/xvcg
+man/manl/pbm2hp.l
+man/manl/pbmrot90.l
+man/manl/pbmshift.l
+man/manl/vcg.l
+man/manl/vcgdemomaker.l
+man/manl/xvcg.l
+share/doc/vcg/visual.ps
+share/examples/vcg/anchors.vcg
+share/examples/vcg/annot1.vcg
+share/examples/vcg/annot2.vcg
+share/examples/vcg/ccmir.vcg
+share/examples/vcg/cfg.vcg
+share/examples/vcg/charset.vcg
+share/examples/vcg/civ.vcg
+share/examples/vcg/colors.vcg
+share/examples/vcg/fishex2a.vcg
+share/examples/vcg/fishex2b.vcg
+share/examples/vcg/fishex3a.vcg
+share/examples/vcg/fishex3b.vcg
+share/examples/vcg/fishex3c.vcg
+share/examples/vcg/flchrt.vcg
+share/examples/vcg/forms.vcg
+share/examples/vcg/forms2.vcg
+share/examples/vcg/hsort.vcg
+share/examples/vcg/hunsort.vcg
+share/examples/vcg/levels.vcg
+share/examples/vcg/morecol.vcg
+share/examples/vcg/pshar1.vcg
+share/examples/vcg/pshar2.vcg
+share/examples/vcg/pshar3.vcg
+share/examples/vcg/pshar4.vcg
+share/examples/vcg/shells.vcg
+share/examples/vcg/softmain.vcg
+share/examples/vcg/softmain2.vcg
+share/examples/vcg/structs.vcg
+share/examples/vcg/tree1.vcg
+share/examples/vcg/tree2.vcg
+share/examples/vcg/tstree.vcg
+share/examples/vcg/xerox.vcg
+@dirrm share/doc/vcg
+@dirrm share/examples/vcg