graphviz: Attempt to make the recipe an actual recipe

Runs into internal compiler error on gcc 2. Won't pursue this any
further.
This commit is contained in:
Ingo Weinhold
2013-05-31 02:28:47 +02:00
parent d776f01aa0
commit 07997e2a4b

View File

@@ -1,28 +1,58 @@
DESCRIPTION="graphviz - Open Source Graph Visualization Software."
SUMMARY="Open Source Graph Visualization Software"
DESCRIPTION="Graphviz is open source graph visualization software. Graph visualization is a way of representing structural information as diagrams of abstract graphs and networks. It has important applications in networking, bioinformatics, software engineering, database and web design, machine learning, and in visual interfaces for other technical domains.
The Graphviz layout programs take descriptions of graphs in a simple text language, and make diagrams in useful formats, such as images and SVG for web pages, PDF or Postscript for inclusion in other documents; or display in an interactive graph browser. (Graphviz also supports GXL, an XML dialect.) Graphviz has many useful features for concrete diagrams, such as options for colors, fonts, tabular node layouts, line styles, hyperlinks, rolland custom shapes."
HOMEPAGE="http://www.graphviz.org/"
LICENSE="CPL v1.0"
COPYRIGHT="1994-2010 AT&T Corp."
SRC_URI="http://www.graphviz.org/pub/graphviz/stable/SOURCES/graphviz-2.26.3.tar.gz"
CHECKSUM_MD5="6f45946fa622770c45609778c0a982ee"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND=""
REVISION="2"
ARCHITECTURES="x86_gcc2 ?x86"
PATCHES="graphviz-2.26.3.patch"
PROVIDES="
graphviz = $portVersion compat >= 2
"
# TODO: There are several of optional features (e.g. png and jpeg), some of
# which should be enabled.
REQUIRES="
haiku >= $haikuVersion
lib:libfreetype
"
BUILD_REQUIRES="
$REQUIRES
cmd:autoconf
cmd:automake
cmd:gcc
cmd:ld
cmd:libtoolize
cmd:make
"
BUILD_PREREQUIRES="
haiku_devel >= $haikuVersion
"
SOURCE_DIR="$portVersionedName"
BUILD()
{
cd graphviz-2.26.3
libtoolize -fci
autoconf
./configure --prefix=`finddir B_COMMON_DIRECTORY` \
--datarootdir=`finddir B_COMMON_DATA_DIRECTORY` \
--mandir=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/man \
# The CPPFLAGS, LDFLAGS paths hack is currently required to get the freetype
# headers and library to be found. freetype is part of the system package
# and not in the proper paths.
runConfigure ./configure \
CPPFLAGS="-I/boot/system/develop/headers/3rdparty/freetype2" \
LDFLAGS="-L/boot/system/lib" \
--enable-shared \
--disable-perl
make
make $jobArgs
}
INSTALL()
{
cd graphviz-2.26.3
make install
}
LICENSE="CPL v1.0"
COPYRIGHT="1994-2010 AT&T Corp."