aboutsummaryrefslogtreecommitdiffstats
path: root/x11/wmbutton
diff options
context:
space:
mode:
authorjseger <jseger@FreeBSD.org>1999-04-11 20:53:10 +0800
committerjseger <jseger@FreeBSD.org>1999-04-11 20:53:10 +0800
commit3418eda91bf5ef28ca2c8ee284039095afb662dd (patch)
tree50fc0d6f7b831b331c9531a701983c28327f2d88 /x11/wmbutton
parent3283ca67ebfb8a511219ae55c08d81e9228a9714 (diff)
downloadfreebsd-ports-gnome-3418eda91bf5ef28ca2c8ee284039095afb662dd.tar.gz
freebsd-ports-gnome-3418eda91bf5ef28ca2c8ee284039095afb662dd.tar.zst
freebsd-ports-gnome-3418eda91bf5ef28ca2c8ee284039095afb662dd.zip
Import of x11/wmbutton v0.4
A 64x64 pixel application that displays nine buttons. Each of these buttons can be configured via a configuration file to run just about any application you'd like to. Basically, if you can type it in a shell command, wmbutton can run it. It is based on wmcp, by Ben Cohen. PR: ports/11055 Submitted by: Jim Mock <jim@corp.au.triax.com>
Diffstat (limited to 'x11/wmbutton')
-rw-r--r--x11/wmbutton/Makefile41
-rw-r--r--x11/wmbutton/distinfo1
-rw-r--r--x11/wmbutton/files/patch-aa22
-rw-r--r--x11/wmbutton/pkg-comment1
-rw-r--r--x11/wmbutton/pkg-descr8
-rw-r--r--x11/wmbutton/pkg-plist5
6 files changed, 78 insertions, 0 deletions
diff --git a/x11/wmbutton/Makefile b/x11/wmbutton/Makefile
new file mode 100644
index 000000000000..f35da4dfdc9d
--- /dev/null
+++ b/x11/wmbutton/Makefile
@@ -0,0 +1,41 @@
+# New ports collection makefile for: wmbutton
+# Version required: 0.4
+# Date created: 10 Apr 1999
+# Whom: Jim Mock <jim@phrantic.phear.net>
+#
+# $Id$
+#
+
+DISTNAME= wmbutton-0.4
+CATEGORIES= x11 windowmaker
+MASTER_SITES= http://www-personal.ksu.edu/~ehflora/wmbutton/
+
+MAINTAINER= jim@phrantic.phear.net
+
+LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm
+
+USE_X_PREFIX= yes
+
+do-build:
+ (cd ${WRKSRC} && make)
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/wmbutton ${PREFIX}/bin
+
+post-install:
+ @${ECHO} " "
+ @${ECHO} "----------------------------------------------------------------------"
+ @${ECHO} "===> Installing .wmbutton as ${PREFIX}/share/examples/wmbutton/wmbutton"
+ @${ECHO} "===> Modify if you wish and copy to ~/.wmbutton"
+ @${ECHO} "----------------------------------------------------------------------"
+ @${MKDIR} ${PREFIX}/share/examples/wmbutton && chmod a+rx ${PREFIX}/share/examples/wmbutton
+ ${INSTALL_DATA} ${WRKSRC}/.wmbutton ${PREFIX}/share/examples/wmbutton/wmbutton
+ @${ECHO} " "
+ @${ECHO} "-----------------------------------------------------------"
+ @${ECHO} "===> Installing README in ${PREFIX}/share/doc/wmbutton"
+ @${ECHO} "===> Please read it for usage instructions"
+ @${ECHO} "-----------------------------------------------------------"
+ @${MKDIR} ${PREFIX}/share/doc/wmbutton && chmod a+rx ${PREFIX}/share/doc/wmbutton
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/wmbutton
+
+.include <bsd.port.mk>
diff --git a/x11/wmbutton/distinfo b/x11/wmbutton/distinfo
new file mode 100644
index 000000000000..1108c117a74e
--- /dev/null
+++ b/x11/wmbutton/distinfo
@@ -0,0 +1 @@
+MD5 (wmbutton-0.4.tar.gz) = 77b24ab49acfb667116d518d4bb99990
diff --git a/x11/wmbutton/files/patch-aa b/x11/wmbutton/files/patch-aa
new file mode 100644
index 000000000000..9d5886bf304f
--- /dev/null
+++ b/x11/wmbutton/files/patch-aa
@@ -0,0 +1,22 @@
+--- Makefile.orig Sat Apr 10 16:49:04 1999
++++ Makefile Sat Apr 10 16:51:43 1999
+@@ -1,15 +1,15 @@
+-INCLUDES =-I/usr/X11R6/include/X11 -I/usr/local/include -I/usr/include/X11R6/X11
+-LIBINC =-L/usr/X11R6/lib -L/usr/include/lib
++INCLUDES =-I${X11BASE}/include/X11 -I${LOCALBASE}/include -I/${X11BASE}/include
++LIBINC =-L${X11BASE}/lib -L${LOCALBASE}/lib
+ LIBS = -lX11 -lXpm -lXext
+
+ TARGET = wmbutton
+ OBJECTS = wmbutton.o readln.o
+
+ .c.o:
+- gcc -O2 -c -Wall ${INCLUDES} ${FLAGS} $< -o $*.o
++ ${CC} ${CFLAGS} -c -Wall ${INCLUDES} ${CFLAGS} $< -o $*.o
+
+ ${TARGET}: ${OBJECTS}
+- gcc -O2 -o ${TARGET} ${OBJECTS} ${LIBINC} ${LIBS}
++ ${CC} ${CFLAGS} -o ${TARGET} ${OBJECTS} ${LIBINC} ${LIBS}
+
+ clean::
+ for i in ${OBJECTS}; do if [ -e $$i ] ; then rm $$i; fi; done
diff --git a/x11/wmbutton/pkg-comment b/x11/wmbutton/pkg-comment
new file mode 100644
index 000000000000..356a80e1c753
--- /dev/null
+++ b/x11/wmbutton/pkg-comment
@@ -0,0 +1 @@
+A dockapp that displays 9 buttons to run apps of your choice.
diff --git a/x11/wmbutton/pkg-descr b/x11/wmbutton/pkg-descr
new file mode 100644
index 000000000000..14ce5a8a30f5
--- /dev/null
+++ b/x11/wmbutton/pkg-descr
@@ -0,0 +1,8 @@
+A 64x64 pixel application that displays nine buttons.
+Each of these buttons can be configured via a configuration file to
+run just about any application you'd like to. Basically, if you can
+type it in a shell command, wmbutton can run it. It is based on wmcp,
+by Ben Cohen.
+- Jim <jim@phrantic.phear.net>
+
+http://www-personal.ksu.edu/~ehflora/wmbutton/index.html
diff --git a/x11/wmbutton/pkg-plist b/x11/wmbutton/pkg-plist
new file mode 100644
index 000000000000..559a5bfe00eb
--- /dev/null
+++ b/x11/wmbutton/pkg-plist
@@ -0,0 +1,5 @@
+bin/wmbutton
+share/examples/wmbutton/wmbutton
+share/doc/wmbutton/README
+@dirrm share/examples/wmbutton
+@dirrm share/doc/wmbutton