aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-05-29 20:05:34 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-05-29 20:05:34 +0800
commit40150640d3710d1c926b0118247cc20dcca3cb82 (patch)
treede5a772a6813303eb3cd41b1584e27a814b744e7 /multimedia
parent42ee81da63970122947fa12a05f7b890ccff14fc (diff)
downloadfreebsd-ports-gnome-40150640d3710d1c926b0118247cc20dcca3cb82.tar.gz
freebsd-ports-gnome-40150640d3710d1c926b0118247cc20dcca3cb82.tar.zst
freebsd-ports-gnome-40150640d3710d1c926b0118247cc20dcca3cb82.zip
- Strip binaries
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/dvdrip/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/multimedia/dvdrip/Makefile b/multimedia/dvdrip/Makefile
index 6a3e323f087f..0663e0d4a2ac 100644
--- a/multimedia/dvdrip/Makefile
+++ b/multimedia/dvdrip/Makefile
@@ -3,7 +3,7 @@
PORTNAME= dvdrip
PORTVERSION= 0.98.11
-PORTREVISION= 8
+PORTREVISION= 9
CATEGORIES= multimedia
MASTER_SITES= CPAN http://www.exit1.org/dvdrip/dist/
MASTER_SITE_SUBDIR= CPAN:JRED
@@ -49,12 +49,17 @@ SHEBANG_FILES= bin/dvdrip*
MAKE_JOBS_UNSAFE= yes
-.include <bsd.port.options.mk>
-
post-patch:
@${PERL} -pi -e 's#/usr/sbin/fping#${LOCALBASE}/sbin/fping#' \
${WRKSRC}/lib/Video/DVDRip/Cluster/Master.pm \
${WRKSRC}/lib/Video/DVDRip/Depend.pm
@${FIND} ${WRKSRC} -name \*.orig -delete
+post-install:
+.for f in dvdrip-progress dvdrip-splitpipe
+ ${CHMOD} u+w ${STAGEDIR}${PREFIX}/bin/${f}
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${f}
+ ${CHMOD} u-w ${STAGEDIR}${PREFIX}/bin/${f}
+.endfor
+
.include <bsd.port.mk>