From 41f26f3469c2e87d4788318a74e584bea3bd4505 Mon Sep 17 00:00:00 2001 From: Matt Madia Date: Sat, 26 Mar 2011 13:44:23 +0000 Subject: [PATCH] Fixed docdir to be doc/xz, instead of simply doc/. This prevents other ports from overwritting each other's documentation files. Condensed finddir invocations. --- app-arch/xz-utils/xz-utils-5.0.1.bep | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/app-arch/xz-utils/xz-utils-5.0.1.bep b/app-arch/xz-utils/xz-utils-5.0.1.bep index 0ba04bf25..d9f17b539 100644 --- a/app-arch/xz-utils/xz-utils-5.0.1.bep +++ b/app-arch/xz-utils/xz-utils-5.0.1.bep @@ -1,5 +1,5 @@ -DESCRIPTION="XZ Utils is data compression software for working with LZMA compressed files." -HOMEPAGE="http://tukaani.org/xz/" +DESCRIPTION="XZ Utils is data compression software for working with LZMA compressed files." +HOMEPAGE="http://tukaani.org/xz/" SRC_URI="http://tukaani.org/xz/xz-5.0.1.tar.bz2" CHECKSUM_MD5="cb6c7a58cec4d663a395c54d186ca0c6" REVISION="1" @@ -8,9 +8,10 @@ MESSAGE="This port only builds with gcc4." DEPEND="" BUILD { cd xz-5.0.1 + COMMON_DOCS=`finddir B_COMMON_DOCUMENTATION_DIRECTORY` ./configure --prefix=`finddir B_COMMON_DIRECTORY` \ - --docdir=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/doc \ - --mandir=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/man + --docdir=$COMMON_DOCS/doc/xz \ + --mandir=$COMMON_DOCS/man make }