From 1150ae24117386e76877925c362af3def2fc8f97 Mon Sep 17 00:00:00 2001 From: Martin Cracauer Date: Thu, 4 Oct 2007 22:26:54 +0000 Subject: Don't use tar to extract directly into $PREFIX. With the new tar in 7.x that lead to incorrect ownership of directories directly in $PREFIX. Use COPYTREE_SHARE and friends. --- graphics/linux_glide/Makefile | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'graphics/linux_glide') diff --git a/graphics/linux_glide/Makefile b/graphics/linux_glide/Makefile index 599f4fb62974..9f7eaccd0239 100644 --- a/graphics/linux_glide/Makefile +++ b/graphics/linux_glide/Makefile @@ -8,7 +8,7 @@ PORTNAME= glide PORTVERSION= 2.4 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics linux MASTER_SITES= http://www2.cons.org/freebsd-distfiles/ \ ${MASTER_SITE_LOCAL} @@ -23,16 +23,17 @@ ONLY_FOR_ARCHS= i386 USE_LINUX_PREFIX=yes USE_LINUX= yes -NO_MTREE= yes -NO_BUILD= yes WRKSRC= ${WRKDIR}/Glide2.4 -do-install: +do-build: @zcat ${WRKSRC}/dist.tar.gz | \ - (cd ${PREFIX}/usr; tar fx - lib include bin/test00) - ${MV} ${PREFIX}/usr/bin/test00 ${PREFIX}/usr/bin/test-glide + (cd ${WRKSRC}; tar fx - lib include bin/test00) -post-install: +do-install: + (cd ${WRKSRC} && ${COPYTREE_SHARE} lib ${PREFIX}/usr) + (cd ${WRKSRC} && ${COPYTREE_SHARE} include ${PREFIX}/usr) + (cd ${WRKSRC} && ${INSTALL_PROGRAM} bin/test00 \ + ${PREFIX}/usr/bin/test-glide) -/compat/linux/sbin/ldconfig .include -- cgit v1.2.3