aboutsummaryrefslogtreecommitdiff
path: root/net-p2p/sonarr/Makefile
diff options
context:
space:
mode:
authorMark Felder <feld@FreeBSD.org>2018-02-18 17:07:36 +0000
committerMark Felder <feld@FreeBSD.org>2018-02-18 17:07:36 +0000
commit2788c25126509e8e0a2e7d72b0f6fa82fe4dcb11 (patch)
treef9c5bb89ae1c6867ae25c93b71048c1de4ad5c46 /net-p2p/sonarr/Makefile
parent93790376b6b48ce9d1a84d2500912baf182a82c8 (diff)
downloadports-2788c25126509e8e0a2e7d72b0f6fa82fe4dcb11.tar.gz
ports-2788c25126509e8e0a2e7d72b0f6fa82fe4dcb11.zip
Notes
Diffstat (limited to 'net-p2p/sonarr/Makefile')
-rw-r--r--net-p2p/sonarr/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/net-p2p/sonarr/Makefile b/net-p2p/sonarr/Makefile
index 679408c62b0b..742fd14de507 100644
--- a/net-p2p/sonarr/Makefile
+++ b/net-p2p/sonarr/Makefile
@@ -36,4 +36,8 @@ do-install:
${INSTALL} -d -m 755 ${STAGEDIR}/${DATADIR}
cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${STAGEDIR}/${DATADIR}
+post-install:
+ @${FIND} -s ${STAGEDIR}${DATADIR} -not -type d | ${SORT} | \
+ ${SED} -e 's#^${STAGEDIR}${PREFIX}/##' >> ${TMPPLIST}
+
.include <bsd.port.mk>