Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Apr 1999 10:33:11 +1000 (EST)
From:      jim@phrantic.phear.net
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/11297: new port: wmtz-0.2
Message-ID:  <199904240033.KAA23871@blues.ghis.net>

next in thread | raw e-mail | index | archive | help

>Number:         11297
>Category:       ports
>Synopsis:       new port: wmtz-0.2
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 23 17:40:00 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Jim Mock
>Release:        FreeBSD 3.1-RELEASE i386
>Organization:
>Environment:

	

>Description:

New port of wmtz, a dockapp that shows the time in different time zones
which are set in the config file.

>How-To-Repeat:

	

>Fix:
	
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	wmtz
#	wmtz/patches
#	wmtz/patches/patch-aa
#	wmtz/Makefile
#	wmtz/files
#	wmtz/files/md5
#	wmtz/pkg
#	wmtz/pkg/COMMENT
#	wmtz/pkg/DESCR
#	wmtz/pkg/PLIST
#
echo c - wmtz
mkdir -p wmtz > /dev/null 2>&1
echo c - wmtz/patches
mkdir -p wmtz/patches > /dev/null 2>&1
echo x - wmtz/patches/patch-aa
sed 's/^X//' >wmtz/patches/patch-aa << 'END-of-wmtz/patches/patch-aa'
X--- Makefile.orig	Sat Apr 24 09:24:32 1999
X+++ Makefile	Sat Apr 24 09:26:34 1999
X@@ -1,7 +1,7 @@
X CC = gcc
X LIBDIR = -L/usr/X11R6/lib
X LIBS   = -lXpm -lXext -lX11 -lm
X-FLAGS = -O2 
X+CFLAGS = -Wall -O2 
X OBJS =	wmtz.o \
X 		../wmgeneral/wmgeneral.o \
X 		../wmgeneral/misc.o \
X@@ -9,10 +9,10 @@
X 
X 
X .c.o:
X-	$(CC) -I/usr/X11R6/share/include $(FLAGS) -c -Wall $< -o $*.o
X+	$(CC) -I/usr/X11R6/share/include $(CFLAGS) -c $< -o $*.o
X 
X wmtz: $(OBJS)
X-	$(CC) $(FLAGS) -o wmtz $^ -lXext $(LIBDIR) $(LIBS)
X+	$(CC) $(CFLAGS) -o wmtz $^ -lXext $(LIBDIR) $(LIBS)
X 
X all:: wmtz
X 
X@@ -24,18 +24,11 @@
X 	rm -f *~
X 
X install:: wmtz
X-	cp -f wmtz /usr/local/bin/
X-	chmod 755 /usr/local/bin/wmtz
X-	chown root:root /usr/local/bin/wmtz
X-	cp wmtzrc $(HOME)/.wmtzrc
X-	chmod 600 $(HOME)/.wmtzrc
X-	cp wmtzrc /etc/wmtzrc
X-	chmod 644 /etc/wmtzrc
X+	cp -f wmtz /usr/X11R6/bin/
X+	chmod 755 /usr/X11R6/bin/wmtz
X+	chown root.wheel /usr/X11R6/bin/wmtz
X 	@echo "wmtz: Installation finished..."
X 
X uninstall:: 
X-	rm -i /usr/local/bin/wmtz
X-	rm -i /etc/wmtzrc
X-	chmod 666 $(HOME)/.wmtzrc
X-	rm -i $(HOME)/.wmtzrc
X+	rm -i /usr/X11R6/bin/wmtz
X 	@echo "wmtz: Uninstall completed..."
END-of-wmtz/patches/patch-aa
echo x - wmtz/Makefile
sed 's/^X//' >wmtz/Makefile << 'END-of-wmtz/Makefile'
X# New ports collection makefile for:	wmtz
X# Version required:		0.2
X# Date created:			24 Apr 1999
X# Whom:				Jim Mock <jim@phrantic.phear.net>
X#
X# $Id$
X#
X
XDISTNAME=	wmtz-0.2
XCATEGORIES=	misc windowmaker afterstep
XMASTER_SITES=	http://www.algonet.se/~jlin/
X
XMAINTAINER=	jim@phrantic.phear.net
X
XLIB_DEPENDS=	Xpm.4:${PORTSDIR}/graphics/xpm
X
XUSE_GMAKE=	yes
XWRKSRC=		${WRKDIR}/${DISTNAME}/wmtz
XUSE_X_PREFIX=	yes
X
Xpost-install:
X	@${ECHO} "		"
X	@${ECHO} "-----------------------------------------------------------"
X	@${ECHO} "===> Installing wmtzrc in ${PREFIX}/share/examples/wmtz"
X	@${ECHO} "===> Modify to your config and copy to ~/.wmtzrc"
X	@${ECHO} "-----------------------------------------------------------"
X	@${ECHO} "		"
X	@${MKDIR} ${PREFIX}/share/examples/wmtz && chmod a+rx ${PREFIX}/share/examples/wmtz
X	${INSTALL_DATA} ${WRKSRC}/wmtzrc ${PREFIX}/share/examples/wmtz
X	@${ECHO} "		"
X	@${ECHO} "-----------------------------------------------------------"
X	@${ECHO} "===> Run wmtz --help for usage instructions"
X	@${ECHO} "-----------------------------------------------------------"
X	@${ECHO} "		"
X
X.include <bsd.port.mk>
END-of-wmtz/Makefile
echo c - wmtz/files
mkdir -p wmtz/files > /dev/null 2>&1
echo x - wmtz/files/md5
sed 's/^X//' >wmtz/files/md5 << 'END-of-wmtz/files/md5'
XMD5 (wmtz-0.2.tar.gz) = 966b00f5867801e7b21fde307f5aaf7a
END-of-wmtz/files/md5
echo c - wmtz/pkg
mkdir -p wmtz/pkg > /dev/null 2>&1
echo x - wmtz/pkg/COMMENT
sed 's/^X//' >wmtz/pkg/COMMENT << 'END-of-wmtz/pkg/COMMENT'
Xwmtz is a dockapp that displays the time in different time zones.
END-of-wmtz/pkg/COMMENT
echo x - wmtz/pkg/DESCR
sed 's/^X//' >wmtz/pkg/DESCR << 'END-of-wmtz/pkg/DESCR'
Xwmtz is a dockapp for the Window Maker that displays the time in 
Xdifferent time zones as defined in it's configuration file. It can
Xalso display the current Julian Day Number. 
X
XWWW Homepage: http://www.algonet.se/~jlin/wmtz.html
X
X- Jim <jim@phrantic.phear.net>
END-of-wmtz/pkg/DESCR
echo x - wmtz/pkg/PLIST
sed 's/^X//' >wmtz/pkg/PLIST << 'END-of-wmtz/pkg/PLIST'
Xbin/wmtz
Xshare/examples/wmtz/wmtzrc
X@dirrm share/examples/wmtz
X
END-of-wmtz/pkg/PLIST
exit

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199904240033.KAA23871>