aboutsummaryrefslogtreecommitdiffstats
path: root/x11/libSM
diff options
context:
space:
mode:
Diffstat (limited to 'x11/libSM')
-rw-r--r--x11/libSM/Makefile32
-rw-r--r--x11/libSM/distinfo1
-rw-r--r--x11/libSM/files/patch-Makefile.in11
-rw-r--r--x11/libSM/pkg-descr6
-rw-r--r--x11/libSM/pkg-plist8
5 files changed, 58 insertions, 0 deletions
diff --git a/x11/libSM/Makefile b/x11/libSM/Makefile
new file mode 100644
index 000000000000..306411f08aa9
--- /dev/null
+++ b/x11/libSM/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: libSM
+# Date Created: 09 Nov, 2003
+# Whom: Eric Anholt <anholt@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= libSM
+PORTVERSION= 6.0.1.p2
+CATEGORIES= x11
+MASTER_SITES= http://pdx.freedesktop.org/~anholt/dist/
+
+MAINTAINER= x11@FreeBSD.org
+COMMENT= Session Management library for X11
+
+LIB_PC_DEPENDS= ${X11BASE}/libdata/pkgconfig/ice.pc:${PORTSDIR}/x11/libICE
+BUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig \
+ ${X11BASE}/libdata/pkgconfig/xproto.pc:${PORTSDIR}/x11/xproto \
+ ${LIB_PC_DEPENDS}
+RUN_DEPENDS= ${LIB_PC_DEPENDS}
+
+USE_BZIP2= yes
+PREFIX?= ${X11BASE}
+GNU_CONFIGURE= yes
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+USE_GMAKE= yes
+USE_LIBTOOL= yes
+WRKSRC= ${WRKDIR}/${PORTNAME}-6.0.1
+
+INSTALLS_SHLIB= yes
+
+.include <bsd.port.mk>
diff --git a/x11/libSM/distinfo b/x11/libSM/distinfo
new file mode 100644
index 000000000000..3faf3913f634
--- /dev/null
+++ b/x11/libSM/distinfo
@@ -0,0 +1 @@
+MD5 (libSM-6.0.1.p2.tar.bz2) = 7da6954bcbac46a65b46a77feff751d3
diff --git a/x11/libSM/files/patch-Makefile.in b/x11/libSM/files/patch-Makefile.in
new file mode 100644
index 000000000000..64e16837de9c
--- /dev/null
+++ b/x11/libSM/files/patch-Makefile.in
@@ -0,0 +1,11 @@
+--- Makefile.in.orig Sun Nov 9 21:24:28 2003
++++ Makefile.in Sun Nov 9 23:31:18 2003
+@@ -162,7 +162,7 @@
+ include/X11/SM/SMproto.h
+
+
+-pkgconfigdir = $(libdir)/pkgconfig
++pkgconfigdir = $(prefix)/libdata/pkgconfig
+ pkgconfig_DATA = sm.pc
+
+ EXTRA_DIST = sm.pc.in
diff --git a/x11/libSM/pkg-descr b/x11/libSM/pkg-descr
new file mode 100644
index 000000000000..104904279f9c
--- /dev/null
+++ b/x11/libSM/pkg-descr
@@ -0,0 +1,6 @@
+This package contains the X11 Session Management library.
+
+WWW: http://www.freedesktop.org/Software/xlibs
+
+- Eric Anholt
+anholt@FreeBSD.org
diff --git a/x11/libSM/pkg-plist b/x11/libSM/pkg-plist
new file mode 100644
index 000000000000..aebcd74ac57b
--- /dev/null
+++ b/x11/libSM/pkg-plist
@@ -0,0 +1,8 @@
+include/X11/SM/SM.h
+include/X11/SM/SMlib.h
+include/X11/SM/SMproto.h
+lib/libSM.a
+lib/libSM.la
+lib/libSM.so
+lib/libSM.so.6
+libdata/pkgconfig/sm.pc