svn commit: r403886 - head/net-p2p/sonarr

Mark Felder feld at FreeBSD.org
Thu Dec 17 00:21:17 UTC 2015


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>


More information about the svn-ports-all mailing list