diff options
author | joerg <joerg> | 2007-09-21 17:40:38 +0000 |
---|---|---|
committer | joerg <joerg> | 2007-09-21 17:40:38 +0000 |
commit | 4532b877674892a932bac02260396e3290ca5f29 (patch) | |
tree | 45a8ffe16f3b42844214e2d1932f2c43aeae013a | |
parent | 04f4d734bb4ac0a6cfda38124881fa09ce35b307 (diff) | |
download | pkgsrc-4532b877674892a932bac02260396e3290ca5f29.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.
-rw-r--r-- | graphics/graphviz/DEINSTALL | 9 | ||||
-rw-r--r-- | graphics/graphviz/INSTALL | 9 | ||||
-rw-r--r-- | graphics/graphviz/Makefile | 5 | ||||
-rw-r--r-- | graphics/graphviz/PLIST | 3 |
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 |