aboutsummaryrefslogtreecommitdiff
path: root/x11-clocks/wmtimer
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2001-05-01 17:16:31 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2001-05-01 17:16:31 +0000
commit51a744742e676a6e166ab4f9d590cfda7430c3f0 (patch)
tree51bdabb4ca50f0a4c821c1c60d42e238b3ba2d02 /x11-clocks/wmtimer
parent9663a76a73e94cb5a123d18033a8c1e51a04a2d5 (diff)
downloadports-51a744742e676a6e166ab4f9d590cfda7430c3f0.tar.gz
ports-51a744742e676a6e166ab4f9d590cfda7430c3f0.zip
Notes
Diffstat (limited to 'x11-clocks/wmtimer')
-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
6 files changed, 81 insertions, 0 deletions
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