From 79215c78a7cabb4a77cf5f29b575d2745c5ab6bc Mon Sep 17 00:00:00 2001 From: amdmi3 Date: Sun, 31 May 2015 13:21:40 +0000 Subject: - Fix shebangs - Strip library Approved by: portmgr blanket MFH: 2015Q2 --- x11-toolkits/p5-Gtk/Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'x11-toolkits/p5-Gtk') diff --git a/x11-toolkits/p5-Gtk/Makefile b/x11-toolkits/p5-Gtk/Makefile index ea6ce9cd268b..c1d41cc1fd4c 100644 --- a/x11-toolkits/p5-Gtk/Makefile +++ b/x11-toolkits/p5-Gtk/Makefile @@ -3,7 +3,7 @@ PORTNAME= Gtk PORTVERSION= 0.7010 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= x11-toolkits lang perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- @@ -16,9 +16,15 @@ BUILD_DEPENDS= p5-XML-Writer>=0:${PORTSDIR}/textproc/p5-XML-Writer \ p5-XML-Parser>=0:${PORTSDIR}/textproc/p5-XML-Parser USE_GNOME= gtk12 -USES= perl5 +USES= perl5 shebangfix +SHEBANG_FILES= tools/gendoc.pl tools/gpdoc2pod USE_PERL5= configure CONFIGURE_ARGS= --without-guessing --lazy-load MAKE_JOBS_UNSAFE= yes +post-install: + ${CHMOD} u+w ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Gtk/Gtk.so + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Gtk/Gtk.so + ${CHMOD} u-w ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Gtk/Gtk.so + .include -- cgit