summaryrefslogtreecommitdiff
path: root/graphics/graphviz
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2007-09-21 17:40:38 +0000
committerjoerg <joerg@pkgsrc.org>2007-09-21 17:40:38 +0000
commit08228711eff06953f3057a3f8cef9ff74b18eb67 (patch)
tree45a8ffe16f3b42844214e2d1932f2c43aeae013a /graphics/graphviz
parent7a57e890e0b216a2bfd375f93a1312ccfa2f3168 (diff)
downloadpkgsrc-08228711eff06953f3057a3f8cef9ff74b18eb67.tar.gz
Build plugin configuration file at install time and remove it at
deinstall time. This makes it possible to split off individual plugins and add DESTDIR support. Bump revision.
Diffstat (limited to 'graphics/graphviz')
-rw-r--r--graphics/graphviz/DEINSTALL9
-rw-r--r--graphics/graphviz/INSTALL9
-rw-r--r--graphics/graphviz/Makefile5
-rw-r--r--graphics/graphviz/PLIST3
4 files changed, 22 insertions, 4 deletions
diff --git a/graphics/graphviz/DEINSTALL b/graphics/graphviz/DEINSTALL
new file mode 100644
index 00000000000..e9d7de16e46
--- /dev/null
+++ b/graphics/graphviz/DEINSTALL
@@ -0,0 +1,9 @@
+# $NetBSD: DEINSTALL,v 1.1 2007/09/21 17:40:38 joerg Exp $
+
+: ${PKG_PREFIX=@PREFIX@}
+
+case ${STAGE} in
+DEINSTALL)
+ ${RM} ${PKG_PREFIX}/lib/graphviz/config
+ ;;
+esac
diff --git a/graphics/graphviz/INSTALL b/graphics/graphviz/INSTALL
new file mode 100644
index 00000000000..fe5def208f3
--- /dev/null
+++ b/graphics/graphviz/INSTALL
@@ -0,0 +1,9 @@
+# $NetBSD: INSTALL,v 1.1 2007/09/21 17:40:38 joerg Exp $
+
+: ${PKG_PREFIX=@PREFIX@}
+
+case ${STAGE} in
+POST-INSTALL)
+ ${PKG_PREFIX}/bin/dot -c
+ ;;
+esac
diff --git a/graphics/graphviz/Makefile b/graphics/graphviz/Makefile
index d0a73e1e487..d7c24aea42d 100644
--- a/graphics/graphviz/Makefile
+++ b/graphics/graphviz/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.57 2007/03/03 16:51:36 joerg Exp $
+# $NetBSD: Makefile,v 1.58 2007/09/21 17:40:38 joerg Exp $
DISTNAME= graphviz-2.12
-PKGREVISION= 4
+PKGREVISION= 5
CATEGORIES= graphics
MASTER_SITES= http://www.graphviz.org/pub/graphviz/ARCHIVE/
@@ -10,6 +10,7 @@ HOMEPAGE= http://www.graphviz.org/
COMMENT= Graph Drawing Programs from AT&T Research and Lucent Bell Labs
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
DEPENDS+= ghostscript-fonts>=6.0:../../fonts/ghostscript-fonts
diff --git a/graphics/graphviz/PLIST b/graphics/graphviz/PLIST
index 9246f886f08..060ebefd6ed 100644
--- a/graphics/graphviz/PLIST
+++ b/graphics/graphviz/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.16 2007/03/03 16:51:36 joerg Exp $
+@comment $NetBSD: PLIST,v 1.17 2007/09/21 17:40:38 joerg Exp $
bin/acyclic
bin/bcomps
bin/ccomps
@@ -70,7 +70,6 @@ include/graphviz/usershape.h
include/graphviz/vis.h
include/graphviz/vispath.h
include/graphviz/vmstub.h
-lib/graphviz/config
lib/graphviz/libgvplugin_core.la
lib/graphviz/libgvplugin_dot_layout.la
lib/graphviz/libgvplugin_gd.la