aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwxs <wxs@FreeBSD.org>2011-06-03 03:35:53 +0800
committerwxs <wxs@FreeBSD.org>2011-06-03 03:35:53 +0800
commit8a44022c04a572445f79f3d3a858d47ada0d34ea (patch)
treea73c09e1b9ae8ca809cf9b1d8587ad8293a8bcbf
parenta8db5edf8f53b7ec93701fe2df46a346f7ff359d (diff)
downloadfreebsd-ports-gnome-8a44022c04a572445f79f3d3a858d47ada0d34ea.tar.gz
freebsd-ports-gnome-8a44022c04a572445f79f3d3a858d47ada0d34ea.tar.zst
freebsd-ports-gnome-8a44022c04a572445f79f3d3a858d47ada0d34ea.zip
- Use ${FIND} -delete instead of ${XARGS} ${RM}.
Submitted by: Ruslan Mahmatkhanov <cvs-src@yandex.ru> (maintainer)
-rw-r--r--net/erlyvideo/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/net/erlyvideo/Makefile b/net/erlyvideo/Makefile
index 77c1e2a0c9a7..a2a425d10523 100644
--- a/net/erlyvideo/Makefile
+++ b/net/erlyvideo/Makefile
@@ -38,9 +38,8 @@ post-patch:
${WRKSRC}/priv/${PORTNAME}.conf.sample
@${REINPLACE_CMD} -e 's#"movies"#"/var/lib/${PORTNAME}/movies"#g' \
${WRKSRC}/priv/${PORTNAME}.conf.sample
- @${FIND} ${WRKSRC} -type f -name .gitignore | ${XARGS} ${RM}
- @${FIND} ${WRKSRC} -type f -name "*.bak" | ${XARGS} ${RM}
- @${FIND} ${WRKSRC} -type f -name "*.orig" | ${XARGS} ${RM}
+ @${FIND} ${WRKSRC} -type f -name .gitignore -delete -or -name "*.bak" \
+ -delete -or -name "*.orig" -delete
@${RMDIR} ${WRKSRC}/src/plugins
do-install: