aboutsummaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorEric Anholt <anholt@FreeBSD.org>2004-05-09 05:48:10 +0000
committerEric Anholt <anholt@FreeBSD.org>2004-05-09 05:48:10 +0000
commit78ca695845cf1cdf26b4ccfb2bbd81595f1855ea (patch)
tree52769aa093a2552e1fdc0d5216aee8eed95fb7a1 /x11
parent570af025bc05ef44f5a5bcb6fc3d800455f18b7d (diff)
downloadports-78ca695845cf1cdf26b4ccfb2bbd81595f1855ea.tar.gz
ports-78ca695845cf1cdf26b4ccfb2bbd81595f1855ea.zip
Notes
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