summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorobache <obache>2010-08-31 08:26:54 +0000
committerobache <obache>2010-08-31 08:26:54 +0000
commit680bf5e6af856675861ff486bf1eeea1984addcc (patch)
tree2b05d51f118b9747e9222735698bab7b2c3d4a7a
parentd01a9839d820cfb4a132d26f6254b04779a42040 (diff)
downloadpkgsrc-680bf5e6af856675861ff486bf1eeea1984addcc.tar.gz
Import py-input-pad-0.1.1 as inputmethod/py-input-pad.
The input pad is a tool to send a character on button to text applications. This package provides python wrapper for input pad.
-rw-r--r--inputmethod/py-input-pad/DESCR2
-rw-r--r--inputmethod/py-input-pad/Makefile33
-rw-r--r--inputmethod/py-input-pad/PLIST14
3 files changed, 49 insertions, 0 deletions
diff --git a/inputmethod/py-input-pad/DESCR b/inputmethod/py-input-pad/DESCR
new file mode 100644
index 00000000000..5e3b8858ef4
--- /dev/null
+++ b/inputmethod/py-input-pad/DESCR
@@ -0,0 +1,2 @@
+The input pad is a tool to send a character on button to text applications.
+This package provides python wrapper for input pad.
diff --git a/inputmethod/py-input-pad/Makefile b/inputmethod/py-input-pad/Makefile
new file mode 100644
index 00000000000..cd8fa61e75f
--- /dev/null
+++ b/inputmethod/py-input-pad/Makefile
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/08/31 08:26:54 obache Exp $
+#
+
+.include "../../inputmethod/input-pad/Makefile.common"
+
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+
+MAINTAINER= obache@NetBSD.org
+COMMENT= Python wrapper for Input Pad
+
+DEPENDS+= ${PYPKGPREFIX}-gtk2-[0-9]*:../../x11/py-gtk2
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_PKGLOCALEDIR= yes
+USE_TOOLS+= gmake pkg-config intltool
+
+PKGCONFIG_OVERRIDE+= input-pad.pc.in
+
+CONFIGURE_ARGS+= --enable-python=yes
+
+BUILD_DIRS= pyinput-pad
+
+post-configure:
+ ${LN} -s ${BUILDLINK_DIR}/lib/libinput-pad.la ${WRKSRC}/input-pad
+
+PY_PATCHPLIST= yes
+
+.include "../../inputmethod/input-pad/buildlink3.mk"
+.include "../../lang/python/extension.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/inputmethod/py-input-pad/PLIST b/inputmethod/py-input-pad/PLIST
new file mode 100644
index 00000000000..f5ce060a57d
--- /dev/null
+++ b/inputmethod/py-input-pad/PLIST
@@ -0,0 +1,14 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2010/08/31 08:26:54 obache Exp $
+${PYSITELIB}/input-pad-0.1/_input_pad.la
+${PYSITELIB}/input-pad-0.1/_input_pad_group.la
+${PYSITELIB}/input-pad-0.1/_input_pad_window_gtk.la
+${PYSITELIB}/input-pad-0.1/input_pad.py
+${PYSITELIB}/input-pad-0.1/input_pad.pyc
+${PYSITELIB}/input-pad-0.1/input_pad.pyo
+${PYSITELIB}/input-pad-0.1/input_pad_group.py
+${PYSITELIB}/input-pad-0.1/input_pad_group.pyc
+${PYSITELIB}/input-pad-0.1/input_pad_group.pyo
+${PYSITELIB}/input-pad-0.1/input_pad_window_gtk.py
+${PYSITELIB}/input-pad-0.1/input_pad_window_gtk.pyc
+${PYSITELIB}/input-pad-0.1/input_pad_window_gtk.pyo
+${PYSITELIB}/pyinput_pad.pth