1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Update to 2.92

This commit is contained in:
Patrick Li 2004-11-20 23:48:20 +00:00
parent 6a867f60b1
commit bb9ac9d15e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=122039
4 changed files with 21 additions and 23 deletions

View File

@ -6,10 +6,9 @@
#
PORTNAME= wmtimer
PORTVERSION= 2.8
PORTREVISION= 1
PORTVERSION= 2.92
CATEGORIES= x11-clocks windowmaker
MASTER_SITES= http://home.dwave.net/~jking/wmtimer/
MASTER_SITES= http://www.darkops.net/wmtimer/
MAINTAINER= pat@FreeBSD.org
COMMENT= Multi-Function timer dockapp for WindowMaker
@ -18,7 +17,7 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/wmtimer
USE_GMAKE= yes
USE_X_PREFIX= yes
USE_XPM= yes
USE_GNOME= gtk12
USE_GNOME= gtk20
MAKE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
PTHREAD_LIBS="${PTHREAD_LIBS}"

View File

@ -1,2 +1,2 @@
MD5 (wmtimer-2.8.tar.gz) = 40f942f6ddba97699df3551baa2f17bf
SIZE (wmtimer-2.8.tar.gz) = 21446
MD5 (wmtimer-2.92.tar.gz) = 425bbb4b0cc852f858da025538d7c900
SIZE (wmtimer-2.92.tar.gz) = 22091

View File

@ -1,27 +1,26 @@
--- Makefile.orig Sat Sep 29 12:35:39 2001
+++ Makefile Sat Sep 29 12:37:20 2001
@@ -1,19 +1,19 @@
--- Makefile.orig Sat Nov 20 18:19:07 2004
+++ Makefile Sat Nov 20 18:22:11 2004
@@ -1,7 +1,6 @@
-CC = gcc
-LIBDIR = -L/usr/X11R6/lib -L/usr/lib
-LIBS = -lXpm -lXext -lX11 -lm `gtk-config --libs` -lpthread
-LIBS = -lXpm -lXext -lX11 -lpthread `pkg-config --libs gtk+-2.0`
-CFLAGS = `pkg-config --cflags gtk+-2.0`
+LIBDIR = -L${X11BASE}/lib -L${LOCALBASE}/lib
+LIBS = -lXpm -lXext -lX11 -lm `${GTK_CONFIG} --libs` ${PTHREAD_LIBS}
+LIBS = -lXpm -lXext -lX11 `pkg-config --libs gtk+-2.0` ${PTHREAD_LIBS}
+CFLAGS += `pkg-config --cflags gtk+-2.0` ${PTHREAD_CFLAGS}
-CFLAGS = -g -I/usr/X11R6/include `gtk-config --cflags`
+CFLAGS += -I${X11BASE}/include `${GTK_CONFIG} --cflags` ${PTHREAD_CFLAGS}
OBJS = wmtimer.o \
../wmgeneral/wmgeneral.o \
../wmgeneral/misc.o \
../wmgeneral/list.o
.c.o:
- $(CC) -c -O2 -Wall $< -o $*.o $(CFLAGS)
+ $(CC) -c $< -o $*.o $(CFLAGS)
../wmgeneral/wmgeneral.o \
@@ -10,10 +9,10 @@
all: wmtimer
.c.o:
- $(CC) -g -c -O2 -Wall $< -o $*.o $(CFLAGS)
+ $(CC) -c $< -o $*.o $(CFLAGS)
wmtimer: $(OBJS)
- $(CC) -Wall -g -o wmtimer $^ $(LIBDIR) $(LIBS)
+ $(CC) -o wmtimer $^ $(LIBDIR) $(LIBS)
clean::
for i in $(OBJS) ; do \
install:
cp wmtimer /usr/local/bin/

View File

@ -4,5 +4,5 @@ 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/
WWW: http://www.darkops.net/wmtimer/
Author: Josh <jking@dwave.net>