htmltydy: fix provides, add secondary arch support

This commit is contained in:
Sergei Reznikov
2015-11-10 00:16:44 +03:00
parent cd04dd1395
commit c8891b1b1a

View File

@@ -3,26 +3,27 @@ DESCRIPTION="htmltidy - Tidy the layout and correct errors in HTML and XML \
documents."
HOMEPAGE="http://tidy.sourceforge.net/"
SOURCE_URI="cvs://:pserver:anonymous@tidy.cvs.sourceforge.net:/cvsroot/tidy/tidy#12/28/2009"
REVISION="1"
REVISION="2"
LICENSE="MIT"
COPYRIGHT="1998-2008 World Wide Web Consortium"
ARCHITECTURES="x86_gcc2"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
htmltydy = $portVersion
cmd:tab2space
cmd:tidy
lib:libtidy_0.99
lib:libtidy
htmltidy$secondaryArchSuffix = $portVersion
cmd:tab2space$secondaryArchSuffix
cmd:tidy$secondaryArchSuffix
lib:libtidy_0.99$secondaryArchSuffix
lib:libtidy$secondaryArchSuffix
"
REQUIRES="
haiku$secondaryArchSuffix
"
PROVIDES_devel="
devel:libtidy
devel:libtidy$secondaryArchSuffix
"
REQUIRES_devel="
htmltidy == $portVersion base
htmltidy$secondaryArchSuffix == $portVersion base
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
@@ -35,7 +36,7 @@ BUILD_PREREQUIRES="
cmd:autoconf
"
PATCHES="$portName-$portVersion.patchset"
PATCHES="htmltidy-$portVersion.patchset"
BUILD()
{