aboutsummaryrefslogtreecommitdiffstats
path: root/x11-clocks
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2001-05-02 01:16:31 +0800
committerlioux <lioux@FreeBSD.org>2001-05-02 01:16:31 +0800
commit17f0a839a1795abaf2fedf24d4215d651e711e09 (patch)
tree95b35f216083e77181b8d092d57ede1ab18fbee3 /x11-clocks
parenta652294014a1df20d5e36588107206ad3d751c38 (diff)
downloadfreebsd-ports-gnome-17f0a839a1795abaf2fedf24d4215d651e711e09.tar.gz
freebsd-ports-gnome-17f0a839a1795abaf2fedf24d4215d651e711e09.tar.zst
freebsd-ports-gnome-17f0a839a1795abaf2fedf24d4215d651e711e09.zip
New port: Multi-Function timer dockapp for WindowMaker
Submitted by: Patrick Li <pat@databits.net> et al
Diffstat (limited to 'x11-clocks')
-rw-r--r--x11-clocks/Makefile1
-rw-r--r--x11-clocks/wmtimer/Makefile47
-rw-r--r--x11-clocks/wmtimer/distinfo1
-rw-r--r--x11-clocks/wmtimer/files/patch-wmtimer::Makefile20
-rw-r--r--x11-clocks/wmtimer/pkg-comment1
-rw-r--r--x11-clocks/wmtimer/pkg-descr8
-rw-r--r--x11-clocks/wmtimer/pkg-plist4
7 files changed, 82 insertions, 0 deletions
diff --git a/x11-clocks/Makefile b/x11-clocks/Makefile
index 73daede01968..42e246f9901c 100644
--- a/x11-clocks/Makefile
+++ b/x11-clocks/Makefile
@@ -26,6 +26,7 @@
SUBDIR += wmfishtime
SUBDIR += wmitime
SUBDIR += wmtime
+ SUBDIR += wmtimer
SUBDIR += wmtz
SUBDIR += xalarm
SUBDIR += xdaliclock
diff --git a/x11-clocks/wmtimer/Makefile b/x11-clocks/wmtimer/Makefile
new file mode 100644
index 000000000000..01de467e7273
--- /dev/null
+++ b/x11-clocks/wmtimer/Makefile
@@ -0,0 +1,47 @@
+# New ports collection makefile for: wmtimer
+# Date created: Thu Apr 26 16:46:38 EDT 2001
+# Whom: Patrick Li <pat@databits.net> et al
+#
+# $FreeBSD$
+#
+
+PORTNAME= wmtimer
+PORTVERSION= 2.2
+CATEGORIES= x11-clocks windowmaker
+MASTER_SITES= http://home.dwave.net/~jking/wmtimer/
+
+MAINTAINER= pat@databits.net
+
+WRKSRC= ${WRKDIR}/${DISTNAME}/wmtimer
+USE_GMAKE= yes
+USE_X_PREFIX= yes
+USE_XPM= yes
+USE_GTK= yes
+
+.if !defined(BATCH)
+HAS_CONFIGURE= yes
+IS_INTERACTIVE= yes
+.endif # !BATCH
+
+pre-patch:
+ @${PERL} -pi -n \
+ -e "s!CFLAGS =! CFLAGS \+=!;" \
+ -e "s!-I/usr/lib/glib/include!`${GTK_CONFIG} --cflags` `${GLIB_CONFIG} --cflags`!;" \
+ -e "s!-lgtk -lgdk -rdynamic -lgmodule -lglib -ldl!`${GTK_CONFIG} --libs` `${GLIB_CONFIG} --libs`!;" \
+ -e "s!/usr/X11R6/lib!${X11BASE}/lib!;" \
+ -e "s!/usr/X11R6/include!${X11BASE}/include!;" \
+ -e "s!/usr/lib!${LOCALBASE}/lib!;" \
+ ${WRKSRC}/Makefile
+.if defined(IS_INTERACTIVE)
+ @${PERL} -pi -ne "s!/bin/bash!${SH}!" ${WRKSRC}/configure
+.endif # IS_INTERACTIVE
+
+do-install:
+ @${INSTALL_PROGRAM} ${WRKSRC}/wmtimer ${PREFIX}/bin
+.ifndef(NOPORTDOCS)
+ @${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} -m ${SHAREMODE} \
+ ${PREFIX}/share/doc/wmtimer
+ @${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/wmtimer
+.endif # !NOPORTDOCS
+
+.include <bsd.port.mk>
diff --git a/x11-clocks/wmtimer/distinfo b/x11-clocks/wmtimer/distinfo
new file mode 100644
index 000000000000..eb2251bb7138
--- /dev/null
+++ b/x11-clocks/wmtimer/distinfo
@@ -0,0 +1 @@
+MD5 (wmtimer-2.2.tar.gz) = 6b4a85cd6cc4050c0bca105bf81e8396
diff --git a/x11-clocks/wmtimer/files/patch-wmtimer::Makefile b/x11-clocks/wmtimer/files/patch-wmtimer::Makefile
new file mode 100644
index 000000000000..f8a809436961
--- /dev/null
+++ b/x11-clocks/wmtimer/files/patch-wmtimer::Makefile
@@ -0,0 +1,20 @@
+--- Makefile.orig Wed Dec 20 19:58:58 2000
++++ Makefile Thu Apr 26 22:45:10 2001
+@@ -7,13 +7,9 @@
+ ../wmgeneral/list.o
+
+ .c.o:
+- cc -c -O2 -Wall $< -o $*.o $(CFLAGS)
++ $(CC) -c -Wall $< -o $*.o $(CFLAGS)
+
+-wmtimer: $(OBJS)
+- cc -Wall -g -o wmtimer $^ $(LIBDIR) $(LIBS)
++all: wmtimer
+
+-clean::
+- for i in $(OBJS) ; do \
+- rm -f $$i; \
+- done
+- rm -f wmtimer
++wmtimer: $(OBJS)
++ $(CC) -Wall -g -o wmtimer $^ $(LIBDIR) $(LIBS)
diff --git a/x11-clocks/wmtimer/pkg-comment b/x11-clocks/wmtimer/pkg-comment
new file mode 100644
index 000000000000..53e8c8ef3ec8
--- /dev/null
+++ b/x11-clocks/wmtimer/pkg-comment
@@ -0,0 +1 @@
+Multi-Function timer dockapp for WindowMaker
diff --git a/x11-clocks/wmtimer/pkg-descr b/x11-clocks/wmtimer/pkg-descr
new file mode 100644
index 000000000000..922d818f0058
--- /dev/null
+++ b/x11-clocks/wmtimer/pkg-descr
@@ -0,0 +1,8 @@
+Wmtimer is a dockable alarm clock for WindowMaker which can be run
+in alarm, countdown timer, or chronograph mode. In alarm or timer
+mode, you can either execute a command or sound the system bell
+when the time is reached. Wmtimer is configurable through the
+command line or the GTK GUI.
+
+WWW: http://home.dwave.net/~jking/wmtimer/
+Author: Josh <jking@dwave.net>
diff --git a/x11-clocks/wmtimer/pkg-plist b/x11-clocks/wmtimer/pkg-plist
new file mode 100644
index 000000000000..9c3812368922
--- /dev/null
+++ b/x11-clocks/wmtimer/pkg-plist
@@ -0,0 +1,4 @@
+bin/wmtimer
+%%PORTDOCS%%share/doc/wmtimer/README
+%%PORTDOCS%%@dirrm share/doc/wmtimer
+%%PORTDOCS%%@dirrm share/doc