finddir invocation cleanups. Changed --docdir to $COMMON_DOCS/doc/<port-name>

This commit is contained in:
Matt Madia
2011-03-28 00:30:43 +00:00
parent fd4d6ee934
commit 72f5074e99
4 changed files with 22 additions and 17 deletions

View File

@@ -1,5 +1,5 @@
DESCRIPTION="FTGL is a free cross-platform Open Source C++ library that uses Freetype2 to simplify rendering fonts in OpenGL applications"
HOMEPAGE="http://sourceforge.net/projects/ftgl"
DESCRIPTION="FTGL is a free cross-platform Open Source C++ library that uses Freetype2 to simplify rendering fonts in OpenGL applications"
HOMEPAGE="http://sourceforge.net/projects/ftgl"
SRC_URI="http://downloads.sourceforge.net/project/ftgl/FTGL%20Source/2.1.3%7Erc5/ftgl-2.1.3-rc5.tar.gz"
CHECKSUM_MD5="fcf4d0567b7de9875d4e99a9f7423633"
REVISION="3"
@@ -17,8 +17,9 @@ BUILD {
libtoolize --copy --force --install
aclocal -I m4
./autogen.sh
COMMON_DOCS=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`
./configure --prefix=`finddir B_COMMON_DIRECTORY` \
--datarootdir=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/doc
--datarootdir=$COMMON_DOCS/doc/ftgl
make
}