diff options
author | feld <feld@FreeBSD.org> | 2015-12-17 08:21:15 +0800 |
---|---|---|
committer | feld <feld@FreeBSD.org> | 2015-12-17 08:21:15 +0800 |
commit | 0915735d2ca298a136b82681861b88dcc05702e4 (patch) | |
tree | 365ef40edcf82da771fcd418836292b13e7e10a6 | |
parent | 25245e7339b6c80328bf2af6cb21a226146d7b1e (diff) | |
download | freebsd-ports-gnome-0915735d2ca298a136b82681861b88dcc05702e4.tar.gz freebsd-ports-gnome-0915735d2ca298a136b82681861b88dcc05702e4.tar.zst freebsd-ports-gnome-0915735d2ca298a136b82681861b88dcc05702e4.zip |
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
-rw-r--r-- | net-p2p/sonarr/Makefile | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/net-p2p/sonarr/Makefile b/net-p2p/sonarr/Makefile index b0fb571ee750..a327c5d29e8e 100644 --- a/net-p2p/sonarr/Makefile +++ b/net-p2p/sonarr/Makefile @@ -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> |