Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Dec 2015 00:21:15 +0000 (UTC)
From:      Mark Felder <feld@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r403886 - head/net-p2p/sonarr
Message-ID:  <201512170021.tBH0LF7f033018@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: feld
Date: Thu Dec 17 00:21:15 2015
New Revision: 403886
URL: https://svnweb.freebsd.org/changeset/ports/403886

Log:
  net-p2p/sonarr: no-op improvements
  
  - nobody group already exists in base
  - COPYTREE_SHARE instead of cp -R
  - bsd.port.pre and post.mk are not necessary
  
  Submitted by:	mat

Modified:
  head/net-p2p/sonarr/Makefile

Modified: head/net-p2p/sonarr/Makefile
==============================================================================
--- head/net-p2p/sonarr/Makefile	Thu Dec 17 00:08:13 2015	(r403885)
+++ head/net-p2p/sonarr/Makefile	Thu Dec 17 00:21:15 2015	(r403886)
@@ -21,13 +21,10 @@ NO_BUILD=	YES
 WRKSRC=	${WRKDIR}/NzbDrone
 
 USERS=	sonarr
-GROUPS=	nobody
-
-.include <bsd.port.pre.mk>
 
 do-install:
 	${INSTALL} -d -m 755 ${STAGEDIR}/${DATADIR}
-	${CP} -R ${WRKSRC}/ ${STAGEDIR}/${DATADIR}
+	cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${STAGEDIR}/${DATADIR}
 	${MKDIR} ${STAGEDIR}/${PREFIX}/sonarr
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



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