summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11/xgrk/DESCR0
-rw-r--r--x11/xgrk/Makefile22
-rw-r--r--x11/xgrk/PLIST4
-rw-r--r--x11/xgrk/distinfo6
-rw-r--r--x11/xgrk/patches/patch-aa16
5 files changed, 48 insertions, 0 deletions
diff --git a/x11/xgrk/DESCR b/x11/xgrk/DESCR
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/x11/xgrk/DESCR
diff --git a/x11/xgrk/Makefile b/x11/xgrk/Makefile
new file mode 100644
index 00000000000..3758b7ac72c
--- /dev/null
+++ b/x11/xgrk/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/04/04 09:33:36 is Exp $
+#
+
+DISTNAME= xgrk-1.6.3
+CATEGORIES= x11
+MASTER_SITES= http://www.softlab.ece.ntua.gr/~sivann/xgrk/
+EXTRACT_SUFX= .tar.gz
+
+MAINTAINER= is@netbsd.org
+HOMEPAGE= http://www.softlab.ece.ntua.gr/~sivann/xgrk/
+COMMENT= Greek keyboard switcher for X11
+
+USE_TOOLS= gmake
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/xgrk ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/xgrk2 ${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/xgrk
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/xgrk
+
+.include "../../mk/x11.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/x11/xgrk/PLIST b/x11/xgrk/PLIST
new file mode 100644
index 00000000000..36d1fba5e2c
--- /dev/null
+++ b/x11/xgrk/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/04/04 09:33:36 is Exp $
+bin/xgrk
+bin/xgrk2
+share/doc/xgrk/README
diff --git a/x11/xgrk/distinfo b/x11/xgrk/distinfo
new file mode 100644
index 00000000000..31fa6f54645
--- /dev/null
+++ b/x11/xgrk/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2006/04/04 09:33:36 is Exp $
+
+SHA1 (xgrk-1.6.3.tar.gz) = 0cfe79190225d1cf3e5489c7674b4294d793d14b
+RMD160 (xgrk-1.6.3.tar.gz) = 70c6f41f29f04ccac5662544cfb45e10dbc5eb7c
+Size (xgrk-1.6.3.tar.gz) = 25039 bytes
+SHA1 (patch-aa) = 3907d6e476576390cae8d3bfd1b49a0b5b853419
diff --git a/x11/xgrk/patches/patch-aa b/x11/xgrk/patches/patch-aa
new file mode 100644
index 00000000000..73f314e9c3f
--- /dev/null
+++ b/x11/xgrk/patches/patch-aa
@@ -0,0 +1,16 @@
+$NetBSD: patch-aa,v 1.1.1.1 2006/04/04 09:33:36 is Exp $
+
+--- Makefile.orig 2004-02-02 13:01:14.000000000 +0100
++++ Makefile
+@@ -24,6 +24,11 @@ LIBS=-L/usr/X11R6/lib
+ INCL=-I/usr/X11R6/include
+ endif
+
++ifeq ($(ARCH),NetBSD)
++LIBS=-L/usr/X11R6/lib -R/usr/X11R6/lib
++INCL=-I/usr/X11R6/include
++endif
++
+
+
+ all: xgrk xgrk2