Files
haikuports/dev-python/pygments/pygments-1.6.recipe
2013-11-21 17:22:24 -07:00

55 lines
1.5 KiB
Plaintext

SUMMARY="a generic syntax highlighter for general use"
DESCRIPTION="
It is a generic syntax highlighter for general use in all kinds of
software such as forum systems, wikis or other applications that need
to prettify source code. Highlights are:
* a wide range of common languages and markup formats is supported
* special attention is paid to details that increase highlighting
quality
* support for new languages and formats are added easily; most
languages use a simple regex-based lexing mechanism
* a number of output formats is available, among them HTML, RTF, LaTeX
and ANSI sequences
* it is usable as a command-line tool and as a library
* ... and it highlights even Brainf*ck!
"
HOMEPAGE="http://pygments.org/"
SRC_URI="https://pypi.python.org/packages/source/P/Pygments/Pygments-1.6.tar.gz"
CHECKSUM_MD5="a18feedf6ffd0b0cc8c8b0fbdb2027b1"
COPYRIGHT="2006-2013 by the Pygments team, see AUTHORS"
LICENSE="BSD (2-clause)"
REVISION="1"
ARCHITECTURES="x86 ?x86_gcc2"
SECONDARY_ARCHITECTURES="x86 ?x86_gcc2"
SOURCE_DIR="Pygments-1.6"
PROVIDES="
pygments$secondaryArchSuffix = $portVersion
cmd:pygmentize$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
cmd:python$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
"
BUILD_PREREQUIRES="
cmd:python$secondaryArchSuffix
"
BUILD()
{
$portPackageLinksDir/cmd~python/bin/python setup.py build
}
INSTALL()
{
$portPackageLinksDir/cmd~python/bin/python setup.py install \
--prefix=$prefix
}