pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/graphviz Build plugin configuration file at i...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/64d1bf892b72
branches:  trunk
changeset: 533582:64d1bf892b72
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Fri Sep 21 17:40:38 2007 +0000

description:
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:

 graphics/graphviz/DEINSTALL |  9 +++++++++
 graphics/graphviz/INSTALL   |  9 +++++++++
 graphics/graphviz/Makefile  |  5 +++--
 graphics/graphviz/PLIST     |  3 +--
 4 files changed, 22 insertions(+), 4 deletions(-)

diffs (64 lines):

diff -r f4028b909ab7 -r 64d1bf892b72 graphics/graphviz/DEINSTALL
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/graphviz/DEINSTALL       Fri Sep 21 17:40:38 2007 +0000
@@ -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 -r f4028b909ab7 -r 64d1bf892b72 graphics/graphviz/INSTALL
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/graphviz/INSTALL Fri Sep 21 17:40:38 2007 +0000
@@ -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 -r f4028b909ab7 -r 64d1bf892b72 graphics/graphviz/Makefile
--- a/graphics/graphviz/Makefile        Fri Sep 21 17:14:39 2007 +0000
+++ b/graphics/graphviz/Makefile        Fri Sep 21 17:40:38 2007 +0000
@@ -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 @@
 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 -r f4028b909ab7 -r 64d1bf892b72 graphics/graphviz/PLIST
--- a/graphics/graphviz/PLIST   Fri Sep 21 17:14:39 2007 +0000
+++ b/graphics/graphviz/PLIST   Fri Sep 21 17:40:38 2007 +0000
@@ -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/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



Home | Main Index | Thread Index | Old Index