From nobody@FreeBSD.ORG Fri Jun 25 21:55:44 1999
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id D3C8C1546F; Fri, 25 Jun 1999 21:55:44 -0700 (PDT)
Message-Id: <19990626045544.D3C8C1546F@hub.freebsd.org>
Date: Fri, 25 Jun 1999 21:55:44 -0700 (PDT)
From: andrews@technologist.com
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@freebsd.org
Subject: new port: wmglobe
X-Send-Pr-Version: www-1.0

>Number:         12396
>Category:       ports
>Synopsis:       new port: wmglobe
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 25 22:00:00 PDT 1999
>Closed-Date:    Sat Jun 26 01:35:46 PDT 1999
>Last-Modified:  Sat Jun 26 01:36:09 PDT 1999
>Originator:     Will Andrews
>Release:        3.2-STABLE i386
>Organization:
none
>Environment:
FreeBSD shadow.blackdawn.com 3.2-STABLE FreeBSD 3.2-STABLE #0: Wed Jun 23 12:45:46 EDT 1999     root@shadow.blackdawn.com:/usr/src/sys/compile/SHADOW  i386

>Description:
This is the port for wmglobe-1.0, a neat WindowMaker dockapp that
shows the current view of the earth from the sun (like xearth).

It also does a lot of other neat stuff. :-)
>How-To-Repeat:
Use the shar below.
>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:
#
#	./CVS
#	./Makefile
#	./README.html
#	./files
#	./pkg
#
echo c - ./CVS
mkdir -p ./CVS > /dev/null 2>&1
echo x - ./Makefile
sed 's/^X//' >./Makefile << 'END-of-./Makefile'
X# New ports collection makefile for:   wmglobe
X# Version required:    1.0
X# Date created:                23 Jun 1999
X# Whom:                        Will Andrews <andrews@technologist.com>
X#
X# $Id$
X#
X
XDISTNAME=      wmglobe-1.0
XCATEGORIES=    astro
XMASTER_SITES=	http://perso.linuxfr.org/jdumont/wmg/ \
X		http://www.cana.net/~acme/wmglobe/ \
X		http://www.psn.net/~andrews/wmglobe/
X
XMAINTAINER=	andrews@technologist.com
X
XLIB_DEPENDS=	Xpm.4:${PORTSDIR}/graphics/xpm \
X		jpeg.9:${PORTSDIR}/graphics/jpeg \
X		png.3:${PORTSDIR}/graphics/png \
X		tiff.4:${PORTSDIR}/graphics/tiff34 \
X		gif.3:${PORTSDIR}/graphics/giflib \
X		wraster.3:${PORTSDIR}/x11-wm/windowmaker
X
XUSE_X_PREFIX=	yes
X
XWRKSRC=	${WRKDIR}/${DISTNAME}
XUSE_GMAKE=	YES
X
Xdo-build:
X	@(cd ${WRKSRC} && make INC="-I${LOCALBASE}/include -I${PREFIX}/include" \
X	LIBS="-lXext -lX11 -lm -lXpm -lz -ltiff -lpng -ljpeg -lgif -lwraster -L${PREFIX}/lib -L${LOCALBASE}/lib")
X
Xdo-install:
X	@${INSTALL_PROGRAM} ${WRKSRC}/wmglobe ${PREFIX}/bin/
X	@${INSTALL_MAN} ${WRKSRC}/wmglobe.1 ${PREFIX}/man/man1/
X	@${GZIP_CMD} ${PREFIX}/man/man1/wmglobe.1
X
X.include <bsd.port.mk>
END-of-./Makefile
echo x - ./README.html
sed 's/^X//' >./README.html << 'END-of-./README.html'
X<html>
X<title> The FreeBSD Ports Collection (astro/wmglobe)</title>
X<head><h1> The FreeBSD Ports Collection ("astro/wmglobe")</h1> </head> <hr>
X<body>
X
X<p>You are now in the directory for the port "astro/wmglobe" (package name "wmglobe-1.0").
X
X<p>This is the one-line description for this port:
X
X<p><hr><p>
XThis is a neat xearth-like WindowMaker dockapp.
X<p><hr>
X
X<p>Please read the file "<a href="pkg/DESCR">pkg/DESCR</a>" for a
Xlonger description.
X
X<p>Go to the <a href="../../README.html">top of the ports tree</a> for
Xa summary on how to use the ports collection.
X
X<p>
X
X<p>
X
X
X<p><hr><p>
X<a href="../README.html"> Go up one level</a>
X|
X<a href="../../README.html"> Go to top of ports tree</a>
X</body>
X</html>
END-of-./README.html
echo c - ./files
mkdir -p ./files > /dev/null 2>&1
echo c - ./pkg
mkdir -p ./pkg > /dev/null 2>&1
exit

>Release-Note:
>Audit-Trail:

From: Chris Piazza <cpiazza@home.net>
To: andrews@technologist.com
Cc: freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: ports/12396: new port: wmglobe
Date: Fri, 25 Jun 1999 22:32:44 -0700

 On Fri, Jun 25, 1999 at 09:55:44PM -0700, andrews@technologist.com wrote:
 
 I'm going to nitpick your port here so bear with me :-). 
 
 > 
 > >Fix:
 > #
 > #	./CVS
 
 Don't do this, it's created when the port is imported.
 
 > #	./README.html
 
 This is created automatically.
 
 [...]
 
 > X
 > XWRKSRC=	${WRKDIR}/${DISTNAME}
 
 Not needed, WRKSRC is set to ${WRKDIR}/${DISTNAME} by default.
 
 > Xdo-build:
 > X	@(cd ${WRKSRC} && make INC="-I${LOCALBASE}/include -I${PREFIX}/include" \
 
 MAKE_ENV= INC="-I${LOCALBASE}/include ...." LIBS="...."
 
 
 > X	LIBS="-lXext -lX11 -lm -lXpm -lz -ltiff -lpng -ljpeg -lgif -lwraster -L${PREFIX}/lib -L${LOCALBASE}/lib")
 
 Are these really all needed?
 
 [...]
 
 > X	@${GZIP_CMD} ${PREFIX}/man/man1/wmglobe.1
 
 MAN1=	wmglobe.1
 instead.  Make sure man pages aren't in PLIST, either.
 
 > echo c - ./files
 > mkdir -p ./files > /dev/null 2>&1
 > echo c - ./pkg
 > mkdir -p ./pkg > /dev/null 2>&1
 > exit
 
 Where are the files that are supposed to be in these directories?
 
 Please reply to the PR with the output of shar `find wmglobe`
 
 You'd probably do well to read http://www.freebsd.org/handbook/porting.html
 and ports/Mk/bsd.port.mk
 
 -Chris
 
 -- 
 cpiazza@home.net                   cpiazza@FreeBSD.org
 "Life is divided into the horrible and the miserable."
                                           -Woody Allen
 

From: Will Andrews <andrews@technologist.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:  
Subject: Re: ports/12396: new port: wmglobe
Date: Sat, 26 Jun 1999 04:06:19 -0400 (EDT)

 >Submitter-Id:   current-users
 >Originator:     Will Andrews
 >Organization:   none
 >Confidential:   no
 >Synopsis:       Re: ports/12396: new port: wmglobe
 >Severity:       non-critical
 >Priority:       low
 >Category:       ports
 >Release:        FreeBSD 3.2-STABLE i386
 >Class:          change-request
 >Environment: 
 
 FreeBSD shadow.blackdawn.com 3.2-STABLE FreeBSD 3.2-STABLE #0: Wed Jun 23 12:45:46 EDT 1999     root@shadow.blackdawn.com:/usr/src/sys/compile/SHADOW  i386
 
 >Description: 
 
 This is the _CORRECT_ way to submit a port. _This_ is the CORRECT way to
 submit a port. This is the CORRECT way to _submit_ a port. :>
 
 >How-To-Repeat: 
 
 Just use this shar, not the originally submitted one. :>
 
 Note that I decided to use a patch to fix the dumb Makefile, rather than
 screw with MAKE_ENV, which apparently doesn't work... :\
 
 >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:
 #
 #       ./
 #       ./pkg
 #       ./pkg/PLIST
 #       ./pkg/DESCR
 #       ./pkg/COMMENT
 #       ./files
 #       ./files/md5
 #       ./Makefile
 #       ./patches
 #       ./patches/patch-aa
 #
 echo c - ./
 mkdir -p ./ > /dev/null 2>&1
 echo c - ./pkg
 mkdir -p ./pkg > /dev/null 2>&1
 echo x - ./pkg/PLIST
 sed 's/^X//' >./pkg/PLIST << 'END-of-./pkg/PLIST'
 Xbin/wmglobe
 END-of-./pkg/PLIST
 echo x - ./pkg/DESCR
 sed 's/^X//' >./pkg/DESCR << 'END-of-./pkg/DESCR'
 Xwmglobe is a neat WindowMaker dockapp that displays a
 Xxearth-like display of the earth that is currently under
 Xthe sun, and does a lot of other neat stuff. :-)
 X
 XAuthor: jerome.dumonteil@linuxfr.org
 XWWW: http://perso.linuxfr.org/jdumont/wmg/
 X
 X- Will <andrews@technologist.com>
 END-of-./pkg/DESCR
 echo x - ./pkg/COMMENT
 sed 's/^X//' >./pkg/COMMENT << 'END-of-./pkg/COMMENT'
 XThis is a neat xearth-like WindowMaker dockapp.
 END-of-./pkg/COMMENT
 echo c - ./files
 mkdir -p ./files > /dev/null 2>&1
 echo x - ./files/md5
 sed 's/^X//' >./files/md5 << 'END-of-./files/md5'
 XMD5 (wmglobe-1.0.tar.gz) = 0452931026c9c6ed84732a0e57f9bfff
 END-of-./files/md5
 echo x - ./Makefile
 sed 's/^X//' >./Makefile << 'END-of-./Makefile'
 X# New ports collection makefile for:   wmglobe
 X# Version required:    1.0
 X# Date created:                23 Jun 1999
 X# Whom:                        Will Andrews <andrews@technologist.com>
 X#
 X# $Id$
 X#
 X
 XDISTNAME=      wmglobe-1.0
 XCATEGORIES=    astro
 XMASTER_SITES=  http://perso.linuxfr.org/jdumont/wmg/ \
 X               http://www.cana.net/~acme/wmglobe/ \
 X               http://www.psn.net/~andrews/wmglobe/
 X
 XMAINTAINER=    andrews@technologist.com
 X
 XLIB_DEPENDS=   Xpm.4:${PORTSDIR}/graphics/xpm \
 X               jpeg.9:${PORTSDIR}/graphics/jpeg \
 X               png.3:${PORTSDIR}/graphics/png \
 X               tiff.4:${PORTSDIR}/graphics/tiff34 \
 X               gif.3:${PORTSDIR}/graphics/giflib \
 X               wraster.3:${PORTSDIR}/x11-wm/windowmaker
 X
 XUSE_X_PREFIX=  yes
 X
 XWRKSRC=                ${WRKDIR}/${DISTNAME}
 XUSE_GMAKE=     yes
 X
 XMAN1=          wmglobe.1
 X
 Xdo-install:
 X       @${INSTALL_PROGRAM} ${WRKSRC}/wmglobe ${PREFIX}/bin/
 X       @${INSTALL_MAN} ${WRKSRC}/wmglobe.1 ${PREFIX}/man/man1
 X
 X.include <bsd.port.mk>
 END-of-./Makefile
 echo c - ./patches
 mkdir -p ./patches > /dev/null 2>&1
 echo x - ./patches/patch-aa
 sed 's/^X//' >./patches/patch-aa << 'END-of-./patches/patch-aa'
 X--- Makefile.old       Tue Feb  2 15:11:37 1999
 X+++ Makefile   Sat Jun 26 03:33:40 1999
 X@@ -1,6 +1,7 @@
 X INC   =       -I/usr/X11R6/include
 X-LIBS  =       -lXext -lX11 -lm -L/usr/X11R6/lib \
 X-              -ltiff  -lXpm -lpng -lz -ljpeg -lungif -lwraster
 X+LIBS  =       -lXext -lX11 -lm -ltiff  -lXpm -lpng \
 X+              -lz -ljpeg -lgif -lwraster
 X+LIBDIRS =     -L/usr/X11R6/lib -L/usr/local/lib
 X OBJS  =       src/wmglobe.o src/rend.o src/wmgutil.o \
 X               src/sunpos.o src/myconvert.o src/mycontext.o 
 X 
 X@@ -14,7 +15,7 @@
 X       rm -f src/*.o wmglobe
 X       
 X wmglobe :     $(OBJS)
 X-              gcc -O2 -Wall $(OBJS) -o wmglobe $(LIBS)
 X+              gcc -O2 -Wall $(OBJS) -o wmglobe $(LIBDIRS) $(LIBS)
 X               strip wmglobe 
 X 
 X install :     
 END-of-./patches/patch-aa
 exit
 
State-Changed-From-To: open->closed 
State-Changed-By: cpiazza 
State-Changed-When: Sat Jun 26 01:35:46 PDT 1999 
State-Changed-Why:  
New port committed, thanks! 
>Unformatted:
