aboutsummaryrefslogtreecommitdiff
path: root/x11/p5-X11-Protocol-Other
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2017-04-10 07:55:34 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2017-04-10 07:55:34 +0000
commitc02e482160f35ad54d65ff0821fd41ad24899187 (patch)
tree57814536970bd6c2c39cf884d14f10f4228a894c /x11/p5-X11-Protocol-Other
parent3530df8cb6d9e5832038529bf96fa1c1d9ceeca4 (diff)
downloadports-c02e482160f35ad54d65ff0821fd41ad24899187.tar.gz
ports-c02e482160f35ad54d65ff0821fd41ad24899187.zip
Notes
Diffstat (limited to 'x11/p5-X11-Protocol-Other')
-rw-r--r--x11/p5-X11-Protocol-Other/Makefile13
-rw-r--r--x11/p5-X11-Protocol-Other/distinfo6
-rw-r--r--x11/p5-X11-Protocol-Other/pkg-plist11
3 files changed, 24 insertions, 6 deletions
diff --git a/x11/p5-X11-Protocol-Other/Makefile b/x11/p5-X11-Protocol-Other/Makefile
index f739181afd9e..d2bb7c2e5286 100644
--- a/x11/p5-X11-Protocol-Other/Makefile
+++ b/x11/p5-X11-Protocol-Other/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= X11-Protocol-Other
-PORTVERSION= 29
-PORTREVISION= 1
+PORTVERSION= 30
CATEGORIES= x11 perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -17,8 +16,16 @@ LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= p5-X11-Protocol>=0:x11/p5-X11-Protocol
RUN_DEPENDS:= ${BUILD_DEPENDS}
-USES= perl5
+USES= perl5 shebangfix
USE_PERL5= configure
NO_ARCH= yes
+OPTIONS_DEFINE= EXAMPLES
+
+SHEBANG_FILES= examples/*.pl
+
+post-install-EXAMPLES-on:
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ (cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
+
.include <bsd.port.mk>
diff --git a/x11/p5-X11-Protocol-Other/distinfo b/x11/p5-X11-Protocol-Other/distinfo
index 5dd46144f2db..07c2030bcf4c 100644
--- a/x11/p5-X11-Protocol-Other/distinfo
+++ b/x11/p5-X11-Protocol-Other/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1480350280
-SHA256 (X11-Protocol-Other-29.tar.gz) = 04e96a3f068eca498b7e91fe0abe24173b4152c91b556e21d84d4a802cffbd5f
-SIZE (X11-Protocol-Other-29.tar.gz) = 257542
+TIMESTAMP = 1491809865
+SHA256 (X11-Protocol-Other-30.tar.gz) = 323fe7736e20480a8b0940ab5695c6c028709cf088061eb9407236764a5c55d5
+SIZE (X11-Protocol-Other-30.tar.gz) = 263720
diff --git a/x11/p5-X11-Protocol-Other/pkg-plist b/x11/p5-X11-Protocol-Other/pkg-plist
index df92a1f2cadf..7949a706cb9d 100644
--- a/x11/p5-X11-Protocol-Other/pkg-plist
+++ b/x11/p5-X11-Protocol-Other/pkg-plist
@@ -38,3 +38,14 @@
%%PERL5_MAN3%%/X11::Protocol::Other.3.gz
%%PERL5_MAN3%%/X11::Protocol::WM.3.gz
%%PERL5_MAN3%%/X11::Protocol::XSetRoot.3.gz
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/cursor-font-anim.pl
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/damage-duplicate.pl
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dbe-info.pl
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dbe-swap.pl
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mit-screen-saver-external.pl
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/view-root.pl
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/xfixes-cursor-image.pl
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/xfixes-selection.pl
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/xinerama-info.pl
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/xresource-pairwise.pl
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/xresource-print.pl