aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2016-04-16 20:29:27 +0800
committerdanfe <danfe@FreeBSD.org>2016-04-16 20:29:27 +0800
commit8154b4d2416a8057fbe04837a7d55b2e03695740 (patch)
treeb5a361ba84e4d8cb1ca2497539237a51e00a1b21 /net-p2p
parentc635959605f7bc8e5d3427b45dbf3d43ee8ec2fd (diff)
downloadfreebsd-ports-graphics-8154b4d2416a8057fbe04837a7d55b2e03695740.tar.gz
freebsd-ports-graphics-8154b4d2416a8057fbe04837a7d55b2e03695740.tar.zst
freebsd-ports-graphics-8154b4d2416a8057fbe04837a7d55b2e03695740.zip
Do not attempt to create ${STAGEDIR}${DESKTOPDIR}: `share/applications'
was added to mtree (Templates/BSD.local.dist) in r331266 2.5 years ago, and fix some minor bogosities nearby.
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/tribler/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/net-p2p/tribler/Makefile b/net-p2p/tribler/Makefile
index cafdae07d1b..1c25976258c 100644
--- a/net-p2p/tribler/Makefile
+++ b/net-p2p/tribler/Makefile
@@ -90,11 +90,10 @@ do-install:
${XARGS} -0 ${CHMOD} ${SHAREMODE}
@${FIND} ${STAGEDIR}${TRIBLER_DIR}/Tribler -type d -print0 | \
${XARGS} -0 ${CHMOD} a+rx
- @${MKDIR} ${STAGEDIR}${DESKTOPDIR}
- (cd ${WRKSRC}/usr/share/applications && ${INSTALL_DATA} \
- *.desktop ${STAGEDIR}${PREFIX}/share/applications)
- (cd ${WRKSRC}/usr/share/pixmaps && ${INSTALL_DATA} \
- *.xpm ${STAGEDIR}${PREFIX}/share/pixmaps)
+ ${INSTALL_DATA} ${WRKSRC}/usr/share/applications/*.desktop \
+ ${STAGEDIR}${DESKTOPDIR}
+ ${INSTALL_DATA} ${WRKSRC}/usr/share/pixmaps/*.xpm \
+ ${STAGEDIR}${PREFIX}/share/pixmaps
@(cd ${STAGEDIR}${PREFIX} && ${PYTHON_CMD} -m compileall \
-d ${PYTHONPREFIX_SITELIBDIR} \
-f ${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;})