mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-03 05:28:53 +02:00
Fixed docdir to be doc/xz, instead of simply doc/. This prevents other ports
from overwritting each other's documentation files. Condensed finddir invocations.
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
DESCRIPTION="XZ Utils is data compression software for working with LZMA compressed files."
|
DESCRIPTION="XZ Utils is data compression software for working with LZMA compressed files."
|
||||||
HOMEPAGE="http://tukaani.org/xz/"
|
HOMEPAGE="http://tukaani.org/xz/"
|
||||||
SRC_URI="http://tukaani.org/xz/xz-5.0.1.tar.bz2"
|
SRC_URI="http://tukaani.org/xz/xz-5.0.1.tar.bz2"
|
||||||
CHECKSUM_MD5="cb6c7a58cec4d663a395c54d186ca0c6"
|
CHECKSUM_MD5="cb6c7a58cec4d663a395c54d186ca0c6"
|
||||||
REVISION="1"
|
REVISION="1"
|
||||||
@@ -8,9 +8,10 @@ MESSAGE="This port only builds with gcc4."
|
|||||||
DEPEND=""
|
DEPEND=""
|
||||||
BUILD {
|
BUILD {
|
||||||
cd xz-5.0.1
|
cd xz-5.0.1
|
||||||
|
COMMON_DOCS=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`
|
||||||
./configure --prefix=`finddir B_COMMON_DIRECTORY` \
|
./configure --prefix=`finddir B_COMMON_DIRECTORY` \
|
||||||
--docdir=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/doc \
|
--docdir=$COMMON_DOCS/doc/xz \
|
||||||
--mandir=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/man
|
--mandir=$COMMON_DOCS/man
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user