Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Apr 2014 22:11:56 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r351503 - head/print/font-amsfonts
Message-ID:  <201404172211.s3HMBuJP077896@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mat
Date: Thu Apr 17 22:11:56 2014
New Revision: 351503
URL: http://svnweb.freebsd.org/changeset/ports/351503
QAT: https://qat.redports.org/buildarchive/r351503/

Log:
  Fix build as a user.
  
  Sponsored by:	Absolight

Modified:
  head/print/font-amsfonts/Makefile

Modified: head/print/font-amsfonts/Makefile
==============================================================================
--- head/print/font-amsfonts/Makefile	Thu Apr 17 22:06:08 2014	(r351502)
+++ head/print/font-amsfonts/Makefile	Thu Apr 17 22:11:56 2014	(r351503)
@@ -18,11 +18,10 @@ NO_BUILD=	yes
 
 FONTSDIR=	share/fonts/${PORTNAME}
 
+PLIST_SUB=	FONTSDIR=${FONTSDIR}
+
 do-install:
 	${MKDIR} ${STAGEDIR}${PREFIX}/${FONTSDIR}
-	cd ${STAGEDIR}${PREFIX}/${FONTSDIR} && ${TAR} -x -z -U --strip-components 1 -f \
-	    ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX}
-	${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${PREFIX}/${FONTSDIR}
-	${CHMOD} -R go-w ${STAGEDIR}${PREFIX}/${FONTSDIR}
+	cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${FONTSDIR}
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404172211.s3HMBuJP077896>