aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/p5-Gtk
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-05-31 21:21:40 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-05-31 21:21:40 +0800
commit79215c78a7cabb4a77cf5f29b575d2745c5ab6bc (patch)
tree62b75dbbc7dc17e459e6be59981758dd0a8ac37e /x11-toolkits/p5-Gtk
parent1982e2674746f82e1fa8c539420fa6d55db90830 (diff)
downloadfreebsd-ports-gnome-79215c78a7cabb4a77cf5f29b575d2745c5ab6bc.tar.gz
freebsd-ports-gnome-79215c78a7cabb4a77cf5f29b575d2745c5ab6bc.tar.zst
freebsd-ports-gnome-79215c78a7cabb4a77cf5f29b575d2745c5ab6bc.zip
- Fix shebangs
- Strip library Approved by: portmgr blanket MFH: 2015Q2
Diffstat (limited to 'x11-toolkits/p5-Gtk')
-rw-r--r--x11-toolkits/p5-Gtk/Makefile10
1 files changed, 8 insertions, 2 deletions
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 <bsd.port.mk>