aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authoranholt <anholt@FreeBSD.org>2004-05-09 13:48:10 +0800
committeranholt <anholt@FreeBSD.org>2004-05-09 13:48:10 +0800
commit05a62c8b6fc69f8c496cac5022a5ffef5ab36f1a (patch)
tree9ed8ba2f090266c8655693b60ab0bb15f06111f2 /x11
parent7165a335da6eecd408e5f91a6da88cbb3c015007 (diff)
downloadfreebsd-ports-gnome-05a62c8b6fc69f8c496cac5022a5ffef5ab36f1a.tar.gz
freebsd-ports-gnome-05a62c8b6fc69f8c496cac5022a5ffef5ab36f1a.tar.zst
freebsd-ports-gnome-05a62c8b6fc69f8c496cac5022a5ffef5ab36f1a.zip
Add port of libxkbfile from X.Org release 6.7.0.
Diffstat (limited to 'x11')
-rw-r--r--x11/Makefile1
-rw-r--r--x11/libxkbfile/Makefile35
-rw-r--r--x11/libxkbfile/distinfo2
-rw-r--r--x11/libxkbfile/files/patch-Imakefile34
-rw-r--r--x11/libxkbfile/pkg-descr6
-rw-r--r--x11/libxkbfile/pkg-plist9
6 files changed, 87 insertions, 0 deletions
diff --git a/x11/Makefile b/x11/Makefile
index dbc65b10ef2f..f871ec76c2b7 100644
--- a/x11/Makefile
+++ b/x11/Makefile
@@ -109,6 +109,7 @@
SUBDIR += libsx
SUBDIR += libxfce4mcs
SUBDIR += libxfce4util
+ SUBDIR += libxkbfile
SUBDIR += libxklavier
SUBDIR += linux-XFree86-libs
SUBDIR += linux-gnomelibs
diff --git a/x11/libxkbfile/Makefile b/x11/libxkbfile/Makefile
new file mode 100644
index 000000000000..80843c0158b8
--- /dev/null
+++ b/x11/libxkbfile/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: libxkbfile
+# Date Created: 7 May 2004
+# Whom: Eric Anholt <anholt@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= libxkbfile
+PORTVERSION= 1.0
+CATEGORIES= x11
+MASTER_SITES= http://freedesktop.org/~xorg/X11R6.7.0/src/
+DISTNAME= X11R6.7.0-src1
+
+MAINTAINER= x11@FreeBSD.org
+COMMENT= XKB file library
+
+LIB_PC_DEPENDS= ${X11BASE}/libdata/pkgconfig/x11.pc:${PORTSDIR}/x11/libX11
+BUILD_DEPENDS= ${X11BASE}/libdata/pkgconfig/xextensions.pc:${PORTSDIR}/x11/xextensions \
+ ${LIB_PC_DEPENDS}
+RUN_DEPENDS= ${LIB_PC_DEPENDS}
+
+CONFLICTS= XFree86-libraries-*
+
+USE_IMAKE= yes
+USE_X_PREFIX= no
+PREFIX?= ${X11BASE}
+DIST_SUBDIR= xorg
+INSTALLS_SHLIB= yes
+WRKSRC= ${WRKDIR}/xc/lib/xkbfile
+EXTRACT_AFTER_ARGS= | ${TAR} -xf - xc/lib/xkbfile
+
+post-patch:
+ ${LN} -s ${WRKSRC}/exports/include/X11 ${WRKSRC}/
+
+.include <bsd.port.mk>
diff --git a/x11/libxkbfile/distinfo b/x11/libxkbfile/distinfo
new file mode 100644
index 000000000000..3b6121dc89e0
--- /dev/null
+++ b/x11/libxkbfile/distinfo
@@ -0,0 +1,2 @@
+MD5 (xorg/X11R6.7.0-src1.tar.gz) = 22465263bae7a2e9f5ad77e172cf1ab5
+SIZE (xorg/X11R6.7.0-src1.tar.gz) = 30039655
diff --git a/x11/libxkbfile/files/patch-Imakefile b/x11/libxkbfile/files/patch-Imakefile
new file mode 100644
index 000000000000..eb8b91160e09
--- /dev/null
+++ b/x11/libxkbfile/files/patch-Imakefile
@@ -0,0 +1,34 @@
+--- Imakefile.orig Thu Mar 4 09:47:14 2004
++++ Imakefile Sat May 8 14:39:42 2004
+@@ -5,24 +5,19 @@
+
+ XCOMM $XFree86: xc/lib/xkbfile/Imakefile,v 3.5 2003/10/15 21:23:38 herrb Exp $
+
+-#define DoNormalLib NormalLibxkbfile
+-#define DoSharedLib SharedLibxkbfile
+-#define DoExtraLib SharedLibxkbfile
+-#define DoDebugLib DebugLibxkbfile
+-#define DoProfileLib ProfileLibxkbfile
++#define DoNormalLib YES
++#define DoSharedLib YES
++#define DoExtraLib YES
++#define DoDebugLib NO
++#define DoProfileLib NO
+ #define HasSharedData NO
+ #define LibName xkbfile
+ #define SoRev SOXKBFILEREV
++SOXKBFILEREV = 1.0
+ #define IncSubdir X11
+ #define IncSubSubdir extensions
+
+-#ifdef SharedxkbfileReqs
+-REQUIREDLIBS = SharedxkbfileReqs
+-#endif
+-
+-#if !BuildXKBfilelib
+-#define LibBuild NO
+-#endif
++REQUIREDLIBS = $(LDPRELIB) $(XONLYLIB)
+
+ SRCS = xkbtext.c xkbdraw.c xkbmisc.c xkbatom.c xkberrs.c \
+ cout.c xkbout.c xkmout.c \
diff --git a/x11/libxkbfile/pkg-descr b/x11/libxkbfile/pkg-descr
new file mode 100644
index 000000000000..f8549ce6ce20
--- /dev/null
+++ b/x11/libxkbfile/pkg-descr
@@ -0,0 +1,6 @@
+This package contains the XKB file library.
+
+WWW: http://www.freedesktop.org/Software/xorg
+
+- Eric Anholt
+anholt@FreeBSD.org
diff --git a/x11/libxkbfile/pkg-plist b/x11/libxkbfile/pkg-plist
new file mode 100644
index 000000000000..f7de24f1a0e3
--- /dev/null
+++ b/x11/libxkbfile/pkg-plist
@@ -0,0 +1,9 @@
+include/X11/extensions/XKBbells.h
+include/X11/extensions/XKBconfig.h
+include/X11/extensions/XKBfile.h
+include/X11/extensions/XKBrules.h
+include/X11/extensions/XKM.h
+include/X11/extensions/XKMformat.h
+lib/libxkbfile.a
+lib/libxkbfile.so
+lib/libxkbfile.so.1