mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-24 09:25:01 +00:00
New port: Multi-Function timer dockapp for WindowMaker
Submitted by: Patrick Li <pat@databits.net> et al
This commit is contained in:
parent
9663a76a73
commit
51a744742e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=42133
@ -26,6 +26,7 @@
|
||||
SUBDIR += wmfishtime
|
||||
SUBDIR += wmitime
|
||||
SUBDIR += wmtime
|
||||
SUBDIR += wmtimer
|
||||
SUBDIR += wmtz
|
||||
SUBDIR += xalarm
|
||||
SUBDIR += xdaliclock
|
||||
|
47
x11-clocks/wmtimer/Makefile
Normal file
47
x11-clocks/wmtimer/Makefile
Normal file
@ -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>
|
1
x11-clocks/wmtimer/distinfo
Normal file
1
x11-clocks/wmtimer/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (wmtimer-2.2.tar.gz) = 6b4a85cd6cc4050c0bca105bf81e8396
|
20
x11-clocks/wmtimer/files/patch-wmtimer::Makefile
Normal file
20
x11-clocks/wmtimer/files/patch-wmtimer::Makefile
Normal file
@ -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)
|
1
x11-clocks/wmtimer/pkg-comment
Normal file
1
x11-clocks/wmtimer/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
Multi-Function timer dockapp for WindowMaker
|
8
x11-clocks/wmtimer/pkg-descr
Normal file
8
x11-clocks/wmtimer/pkg-descr
Normal file
@ -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>
|
4
x11-clocks/wmtimer/pkg-plist
Normal file
4
x11-clocks/wmtimer/pkg-plist
Normal file
@ -0,0 +1,4 @@
|
||||
bin/wmtimer
|
||||
%%PORTDOCS%%share/doc/wmtimer/README
|
||||
%%PORTDOCS%%@dirrm share/doc/wmtimer
|
||||
%%PORTDOCS%%@dirrm share/doc
|
Loading…
Reference in New Issue
Block a user