aboutsummaryrefslogtreecommitdiffstats
path: root/x11/wmxss
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2003-06-03 13:22:35 +0800
committerlioux <lioux@FreeBSD.org>2003-06-03 13:22:35 +0800
commit4ba76ad4916e24e82828d58bb26dcb4143e90e52 (patch)
treef05be50315e19cc8acd01cc6c7ad67eba36e1b1d /x11/wmxss
parentb366884a1dac79293f2e59f4ca46310b5f1a919c (diff)
downloadfreebsd-ports-gnome-4ba76ad4916e24e82828d58bb26dcb4143e90e52.tar.gz
freebsd-ports-gnome-4ba76ad4916e24e82828d58bb26dcb4143e90e52.tar.zst
freebsd-ports-gnome-4ba76ad4916e24e82828d58bb26dcb4143e90e52.zip
New port wmxss version 0.1: Run xscreensaver modules inside a
WindowMaker dock PR: 42073 Submitted by: Bruce M Simpson <bms@spc.org>
Diffstat (limited to 'x11/wmxss')
-rw-r--r--x11/wmxss/Makefile28
-rw-r--r--x11/wmxss/distinfo1
-rw-r--r--x11/wmxss/files/patch-Src::Makefile50
-rw-r--r--x11/wmxss/pkg-descr8
-rw-r--r--x11/wmxss/pkg-plist1
5 files changed, 88 insertions, 0 deletions
diff --git a/x11/wmxss/Makefile b/x11/wmxss/Makefile
new file mode 100644
index 000000000000..97d9613124e5
--- /dev/null
+++ b/x11/wmxss/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: wmxss
+# Date created: 27 August 2002
+# Whom: Bruce M Simpson <bms@spc.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= wmxss
+PORTVERSION= 0.1
+CATEGORIES= x11
+MASTER_SITES= http://nis-www.lanl.gov/~mgh/WindowMaker/
+
+MAINTAINER= bms@spc.org
+COMMENT= Run xscreensaver modules inside a WindowMaker dock
+
+USE_X_PREFIX= yes
+USE_REINPLACE= yes
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/Src
+
+post-extract:
+ @( cd ${WRKSRC} ; ${MAKE} clean ; ${RM} -f .nfs* )
+
+post-patch:
+ @${REINPLACE_CMD} -E \
+ -e 's|-O2||' \
+ ${BUILD_WRKSRC}/${MAKEFILE}
+
+.include <bsd.port.mk>
diff --git a/x11/wmxss/distinfo b/x11/wmxss/distinfo
new file mode 100644
index 000000000000..317ab5f5ff1a
--- /dev/null
+++ b/x11/wmxss/distinfo
@@ -0,0 +1 @@
+MD5 (wmxss-0.1.tar.gz) = 26d4f00c3a3d1b2306ba4924a9fbb0fa
diff --git a/x11/wmxss/files/patch-Src::Makefile b/x11/wmxss/files/patch-Src::Makefile
new file mode 100644
index 000000000000..b6bbfcd593ea
--- /dev/null
+++ b/x11/wmxss/files/patch-Src::Makefile
@@ -0,0 +1,50 @@
+--- Makefile.orig Wed Aug 11 22:29:02 1999
++++ Makefile Tue Aug 27 10:23:17 2002
+@@ -1,36 +1,19 @@
+-CC = gcc
+-CFLAGS = -O2 -Wall
+-INCDIR = -I/usr/X11R6/include/X11 -I/usr/X11R6/include
+-DESTDIR= /usr/X11R6
+-LIBDIR = -L/usr/X11R6/lib
++#
++# Makefile for xmms (FreeBSD) -bms
++#
+
+-# for Linux
+-LIBS = -lXpm -lX11 -lXext
++PROG= wmxss
+
+-# for Solaris
+-#LIBS = -lXpm -lX11 -lXext -lsocket -lnsl
++SRCS= wmxss.c xutils.c
+
+-OBJS = wmxss.o \
+- xutils.o
++CFLAGS+= -I${X11BASE}/include -O2 -Wall
++LDADD+= -lXpm -lX11 -lXext
++LDADD+= -L${X11BASE}/lib
+
++NOMAN=
+
+-.c.o:
+- $(CC) $(CFLAGS) -D$(shell echo `uname -s`) -c $< -o $*.o $(INCDIR)
+-
+-
+-all: wmxss.o wmxss
++BINDIR?= ${PREFIX}/bin
+
+ wmxss.o: wmxss_master.xpm wmxss_mask.xbm
+-wmxss: $(OBJS)
+- $(CC) $(COPTS) $(SYSTEM) -o wmxss $^ $(INCDIR) $(LIBDIR) $(LIBS)
+-
+-clean:
+- for i in $(OBJS) ; do \
+- rm -f $$i; \
+- done
+- rm -f wmxss
+-
+-install:: wmxss
+- install -c -s -m 0755 wmxss $(DESTDIR)/bin
+- install -c -m 0644 wmxss.1 $(DESTDIR)/man/man1
+
++.include <bsd.prog.mk>
diff --git a/x11/wmxss/pkg-descr b/x11/wmxss/pkg-descr
new file mode 100644
index 000000000000..b5cbe03af423
--- /dev/null
+++ b/x11/wmxss/pkg-descr
@@ -0,0 +1,8 @@
+wmxss is a small program to run xscreensaver modules (such as those
+bundled with xlockmore) in a WindowMaker dock.
+
+WWW: http://nis-www.lanl.gov/~mgh/WindowMaker/DockApps.shtml
+
+--
+Bruce
+bms@spc.org
diff --git a/x11/wmxss/pkg-plist b/x11/wmxss/pkg-plist
new file mode 100644
index 000000000000..3faa6c35bd52
--- /dev/null
+++ b/x11/wmxss/pkg-plist
@@ -0,0 +1 @@
+bin/wmxss