Upgrade to 0.3
PR: 10900 Submitted by: Jim Mock <jim@phrantic.phear.net>
This commit is contained in:
parent
9ab530f761
commit
aa7a1aef34
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=18004
3 changed files with 27 additions and 13 deletions
|
@ -1,12 +1,12 @@
|
|||
# New ports collection makefile for: wmitime
|
||||
# Version required: 0.2
|
||||
# Version required: 0.3
|
||||
# Date created: 14 March 1999
|
||||
# Whom: Jim Mock <jim@phrantic.phear.net>
|
||||
#
|
||||
# $Id$
|
||||
# $Id: Makefile,v 1.1.1.1 1999/03/16 09:46:15 kris Exp $
|
||||
#
|
||||
|
||||
DISTNAME= wmitime-0.2
|
||||
DISTNAME= wmitime-0.3
|
||||
CATEGORIES= x11-clocks windowmaker afterstep
|
||||
MASTER_SITES= http://www.neotokyo.org/illusion/
|
||||
|
||||
|
@ -17,7 +17,7 @@ LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm
|
|||
USE_GMAKE= yes
|
||||
USE_X_PREFIX= yes
|
||||
|
||||
WRKSRC= ${WRKDIR}/wmitime.app/wmitime
|
||||
WRKSRC= ${WRKDIR}/wmitime/wmitime
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/wmitime ${PREFIX}/bin
|
||||
|
|
|
@ -1 +1 @@
|
|||
MD5 (wmitime-0.2.tar.gz) = 80de7b5fd8fb3eb19e01389d39063b8f
|
||||
MD5 (wmitime-0.3.tar.gz) = 7168e9d6b5930d510727530a309d812c
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
--- Makefile.orig Sat Dec 12 13:11:45 1998
|
||||
+++ Makefile Tue Mar 16 20:05:45 1999
|
||||
@@ -1,6 +1,10 @@
|
||||
--- Makefile.orig Thu Apr 1 17:38:14 1999
|
||||
+++ Makefile Thu Apr 1 17:41:17 1999
|
||||
@@ -1,7 +1,10 @@
|
||||
-#LANG = fr
|
||||
+CC ?= gcc
|
||||
+CFLAGS ?= -O2
|
||||
+CFLAGS += -Wall
|
||||
|
@ -12,20 +13,20 @@
|
|||
OBJS = wmitime.o \
|
||||
../wmgeneral/wmgeneral.o \
|
||||
../wmgeneral/misc.o \
|
||||
@@ -8,10 +12,10 @@
|
||||
@@ -9,10 +12,10 @@
|
||||
|
||||
|
||||
.c.o:
|
||||
- cc -I/usr/X11R6/share/include $(FLAGS) -c -Wall $< -o $*.o
|
||||
- cc -I/usr/X11R6/share/include $(FLAGS) -D$(LANG) -c -Wall $< -o $*.o
|
||||
+ $(CC) $(CFLAGS) -D$(shell echo `uname -s`) -c $< -o $*.o $(INCDIR)
|
||||
|
||||
wmtime: $(OBJS)
|
||||
- cc $(FLAGS) -o wmitime $^ -lXext $(LIBDIR) $(LIBS)
|
||||
+ $(CC) $(CFLAGS) $(SYSTEM) -o wmitime $^ $(INCDIR) $(LIBDIR) $(LIBS)
|
||||
- cc $(FLAGS) -D$(LANG) -o wmitime $^ -lXext $(LIBDIR) $(LIBS)
|
||||
+ $(CC) $(CFLAGS) $(SYSTEM) -o wmitime $^ $(INCDIR) $(LIBDIR) $(LIBS)
|
||||
|
||||
all:: wmtime
|
||||
|
||||
@@ -23,11 +27,5 @@
|
||||
@@ -24,24 +27,5 @@
|
||||
rm -f *~
|
||||
|
||||
install:: wmitime
|
||||
|
@ -38,3 +39,16 @@
|
|||
-# chmod 644 /etc/wminetrc
|
||||
+ install -s -m 0755 wmitime $(DESTDIR)/bin
|
||||
@echo "wmitime Installation finished..."
|
||||
-
|
||||
-
|
||||
-
|
||||
-
|
||||
-
|
||||
-
|
||||
-
|
||||
-
|
||||
-
|
||||
-
|
||||
-
|
||||
-
|
||||
-
|
||||
|
|
Loading…
Reference in a new issue