Annotation of pkgsrc/graphics/graphviz/Makefile, Revision 1.88
1.88 ! dsainty 1: # $NetBSD: Makefile,v 1.87 2010/11/17 15:46:21 dholland Exp $
1.1 seb 2:
1.87 dholland 3: DISTNAME= graphviz-2.26.3
1.1 seb 4: CATEGORIES= graphics
1.67 sno 5: MASTER_SITES= http://www.graphviz.org/pub/graphviz/stable/SOURCES/
1.1 seb 6:
1.74 sno 7: MAINTAINER= sno@NetBSD.org
1.6 seb 8: HOMEPAGE= http://www.graphviz.org/
1.1 seb 9: COMMENT= Graph Drawing Programs from AT&T Research and Lucent Bell Labs
1.74 sno 10: LICENSE= cpl-1.0
1.1 seb 11:
1.28 minskim 12: PKG_INSTALLATION_TYPES= overwrite pkgviews
1.58 joerg 13: PKG_DESTDIR_SUPPORT= user-destdir
1.28 minskim 14:
1.87 dholland 15: CHECK_FILES_SKIP+= ${PREFIX}/lib/graphviz/config6
1.59 joerg 16:
1.77 snj 17: PRIVILEGED_STAGES+= clean
18:
1.52 adam 19: USE_LANGUAGES= c c++
1.40 adam 20: USE_LIBTOOL= yes
1.65 tron 21: USE_TOOLS+= bison pkg-config
1.6 seb 22: GNU_CONFIGURE= yes
1.61 adam 23: CONFIGURE_ARGS+= --disable-java
24: CONFIGURE_ARGS+= --disable-php
25: CONFIGURE_ARGS+= --disable-python
26: CONFIGURE_ARGS+= --disable-ruby
27: CONFIGURE_ARGS+= --disable-sharp
1.52 adam 28: # build fails when PHP and/or Ruby are also installed
29: CONFIGURE_ENV+= ac_cv_prog_PHP=
30: CONFIGURE_ENV+= ac_cv_prog_RUBY=
31: CPPFLAGS+= -DNO_POSTSCRIPT_ALIAS=1
1.68 tron 32: PKGCONFIG_OVERRIDE= lib/agraph/libagraph.pc.in
1.40 adam 33: PKGCONFIG_OVERRIDE+= lib/cdt/libcdt.pc.in
1.61 adam 34: PKGCONFIG_OVERRIDE+= lib/cgraph/libcgraph.pc.in
1.52 adam 35: PKGCONFIG_OVERRIDE+= lib/expr/libexpr.pc.in
1.40 adam 36: PKGCONFIG_OVERRIDE+= lib/graph/libgraph.pc.in
37: PKGCONFIG_OVERRIDE+= lib/gvc/libgvc.pc.in
1.52 adam 38: PKGCONFIG_OVERRIDE+= lib/gvc/libgvc_builtins.pc.in
1.40 adam 39: PKGCONFIG_OVERRIDE+= lib/pathplan/libpathplan.pc.in
1.52 adam 40: XAW_TYPE= standard
1.1 seb 41:
1.68 tron 42: REPLACE_INTERPRETER+= lua
43: REPLACE.lua.old= .*lua
44: REPLACE.lua.new= ${PREFIX}/bin/lua
45: REPLACE_FILES.lua= tclpkg/gv/demo/modgraph.lua
46:
47: REPLACE_INTERPRETER+= tclsh
48: REPLACE.tclsh.old= .*tclsh
49: REPLACE.tclsh.new= ${PREFIX}/bin/tclsh
50: REPLACE_FILES.tclsh= tclpkg/gv/demo/modgraph.tcl
51:
1.74 sno 52: REPLACE_PERL+= config/config_perl.pl lib/gd/configure.pl \
53: tclpkg/gv/demo/modgraph.pl contrib/dotmcl.pl \
54: contrib/dirgraph/dirgraph.pl
55:
1.19 grant 56: .include "../../mk/bsd.prefs.mk"
57:
1.43 rillig 58: .include "../../mk/compiler.mk"
59: .if !empty(CC_VERSION:Mgcc-2*)
60: BUILDLINK_TRANSFORM+= rm:-Wno-unused-parameter
61: .endif
62:
1.68 tron 63: # Prevent another config.status run.
1.24 seb 64: pre-build:
1.52 adam 65: touch ${WRKSRC}/Makefile
1.1 seb 66:
1.69 tron 67: # Remove temporary files and directories created by re-linking "libgv_lua.la".
1.68 tron 68: post-install:
1.71 joerg 69: ${RM} -rf ${DESTDIR}${PREFIX}/lib/graphviz/lua/gv.so \
70: ${DESTDIR}${PREFIX}/lib/graphviz/tcl/tcl \
71: ${DESTDIR}${PREFIX}/lib/lua/5.1/gv.so
1.68 tron 72:
1.61 adam 73: .include "options.mk"
74:
1.52 adam 75: .include "../../converters/libiconv/buildlink3.mk"
1.27 seb 76: .include "../../devel/gettext-lib/buildlink3.mk"
1.74 sno 77: .include "../../devel/libltdl/buildlink3.mk"
78: #.include "../../devel/libltdl/convenience.mk"
1.67 sno 79: .include "../../fonts/fontconfig/buildlink3.mk"
1.88 ! dsainty 80: #.include "../../mk/jpeg.buildlink3.mk"
1.67 sno 81: #.include "../../graphics/png/buildlink3.mk"
1.25 seb 82: .include "../../textproc/expat/buildlink3.mk"
1.57 joerg 83: .include "../../mk/pthread.buildlink3.mk"
1.1 seb 84: .include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>