aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authorpi <pi@FreeBSD.org>2015-04-12 02:13:14 +0800
committerpi <pi@FreeBSD.org>2015-04-12 02:13:14 +0800
commit85b19b7263783b07288433d719e8471bbd853733 (patch)
tree9b9ec034d8c8a5b6b1bae6ef048e05d201465dfd /x11
parentd25b038f9d38f4e3e4d93fc3bc636e97acd67119 (diff)
downloadfreebsd-ports-gnome-85b19b7263783b07288433d719e8471bbd853733.tar.gz
freebsd-ports-gnome-85b19b7263783b07288433d719e8471bbd853733.tar.zst
freebsd-ports-gnome-85b19b7263783b07288433d719e8471bbd853733.zip
New port: x11/p5-X11-XCB
The modul bindings wrap libxcb, a C library to speak with X11. It provides an object oriented interface to the libxcb methods using Mouse. WWW: http://search.cpan.org/dist/X11-XCB/
Diffstat (limited to 'x11')
-rw-r--r--x11/Makefile1
-rw-r--r--x11/p5-X11-XCB/Makefile45
-rw-r--r--x11/p5-X11-XCB/distinfo2
-rw-r--r--x11/p5-X11-XCB/pkg-descr4
-rw-r--r--x11/p5-X11-XCB/pkg-plist24
5 files changed, 76 insertions, 0 deletions
diff --git a/x11/Makefile b/x11/Makefile
index 3da8c7d5b831..3e5b9319a63c 100644
--- a/x11/Makefile
+++ b/x11/Makefile
@@ -224,6 +224,7 @@
SUBDIR += p5-X11-IdleTime
SUBDIR += p5-X11-Protocol
SUBDIR += p5-X11-Resolution
+ SUBDIR += p5-X11-XCB
SUBDIR += p5-XTerm-Conf
SUBDIR += pixman
SUBDIR += plasma-scriptengine-python
diff --git a/x11/p5-X11-XCB/Makefile b/x11/p5-X11-XCB/Makefile
new file mode 100644
index 000000000000..26a8dc730b8a
--- /dev/null
+++ b/x11/p5-X11-XCB/Makefile
@@ -0,0 +1,45 @@
+# Created by: Kurt Jaeger <pi@f10.opsec.eu>
+# $FreeBSD$
+
+PORTNAME= X11-XCB
+PORTVERSION= 0.12
+CATEGORIES= x11 perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= pi@FreeBSD.org
+COMMENT= Perl bindings for libxcb
+
+LICENSE= ART10 GPLv1
+LICENSE_COMB= dual
+
+LIB_DEPENDS= libxcb.so:${PORTSDIR}/x11/libxcb \
+ libxcb-util.so:${PORTSDIR}/x11/xcb-util \
+ libxcb-icccm.so:${PORTSDIR}/x11/xcb-util-wm
+BUILD_DEPENDS= \
+ ${LOCALBASE}/share/xcb/xcb.xsd:${PORTSDIR}/x11/xcb-proto \
+ p5-Data-Dump>=0:${PORTSDIR}/devel/p5-Data-Dump \
+ p5-Data-Dump>=0:${PORTSDIR}/devel/p5-Data-Dump \
+ p5-Mouse>=0:${PORTSDIR}/devel/p5-Mouse \
+ p5-MouseX-NativeTraits>=0:${PORTSDIR}/devel/p5-MouseX-NativeTraits \
+ p5-ExtUtils-Depends>=0:${PORTSDIR}/devel/p5-ExtUtils-Depends \
+ p5-ExtUtils-PkgConfig>=0:${PORTSDIR}/devel/p5-ExtUtils-PkgConfig \
+ p5-Test-Deep>=0:${PORTSDIR}/devel/p5-Test-Deep \
+ p5-Test-Exception>=0:${PORTSDIR}/devel/p5-Test-Exception \
+ p5-Try-Tiny>=0:${PORTSDIR}/lang/p5-Try-Tiny \
+ p5-XML-Descent>=0:${PORTSDIR}/textproc/p5-XML-Descent \
+ p5-XML-Simple>=0:${PORTSDIR}/textproc/p5-XML-Simple \
+ p5-XS-Object-Magic>=0:${PORTSDIR}/devel/p5-XS-Object-Magic
+RUN_DEPENDS:= ${BUILD_DEPENDS}
+
+USES= perl5
+USE_XORG= x11 xcb xproto xinerama
+DISABLE_MAKE_JOBS= yes
+
+pre-configure:
+ cd ${WRKSRC} && ${PERL} Makefile.PL
+
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/X11/XCB/XCB.so
+
+.include <bsd.port.mk>
diff --git a/x11/p5-X11-XCB/distinfo b/x11/p5-X11-XCB/distinfo
new file mode 100644
index 000000000000..e51e875695e0
--- /dev/null
+++ b/x11/p5-X11-XCB/distinfo
@@ -0,0 +1,2 @@
+SHA256 (X11-XCB-0.12.tar.gz) = fa8caba1c5c25afa1c85e27b9a0569c489be81cffc1691ec2afa08c670295896
+SIZE (X11-XCB-0.12.tar.gz) = 87346
diff --git a/x11/p5-X11-XCB/pkg-descr b/x11/p5-X11-XCB/pkg-descr
new file mode 100644
index 000000000000..7e11e17cba42
--- /dev/null
+++ b/x11/p5-X11-XCB/pkg-descr
@@ -0,0 +1,4 @@
+The modul bindings wrap libxcb, a C library to speak with X11. It
+provides an object oriented interface to the libxcb methods using Mouse.
+
+WWW: http://search.cpan.org/dist/X11-XCB/
diff --git a/x11/p5-X11-XCB/pkg-plist b/x11/p5-X11-XCB/pkg-plist
new file mode 100644
index 000000000000..a14f04d31b02
--- /dev/null
+++ b/x11/p5-X11-XCB/pkg-plist
@@ -0,0 +1,24 @@
+%%SITE_ARCH%%/X11/XCB.pm
+%%SITE_ARCH%%/X11/XCB/Atom.pm
+%%SITE_ARCH%%/X11/XCB/Color.pm
+%%SITE_ARCH%%/X11/XCB/Connection.pm
+%%SITE_ARCH%%/X11/XCB/Event/ClientMessage.pm
+%%SITE_ARCH%%/X11/XCB/Event/Focus.pm
+%%SITE_ARCH%%/X11/XCB/Event/Generic.pm
+%%SITE_ARCH%%/X11/XCB/Event/MapNotify.pm
+%%SITE_ARCH%%/X11/XCB/Event/PropertyNotify.pm
+%%SITE_ARCH%%/X11/XCB/Rect.pm
+%%SITE_ARCH%%/X11/XCB/Screen.pm
+%%SITE_ARCH%%/X11/XCB/Sizehints.pm
+%%SITE_ARCH%%/X11/XCB/Sizehints/Aspect.pm
+%%SITE_ARCH%%/X11/XCB/Window.pm
+%%SITE_ARCH%%/auto/X11/XCB/XCB.so
+%%PERL5_MAN3%%/X11::XCB.3.gz
+%%PERL5_MAN3%%/X11::XCB::Atom.3.gz
+%%PERL5_MAN3%%/X11::XCB::Color.3.gz
+%%PERL5_MAN3%%/X11::XCB::Connection.3.gz
+%%PERL5_MAN3%%/X11::XCB::Rect.3.gz
+%%PERL5_MAN3%%/X11::XCB::Screen.3.gz
+%%PERL5_MAN3%%/X11::XCB::Sizehints.3.gz
+%%PERL5_MAN3%%/X11::XCB::Sizehints::Aspect.3.gz
+%%PERL5_MAN3%%/X11::XCB::Window.3.gz