Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Jun 1999 01:10:03 -0700 (PDT)
From:      Will Andrews <andrews@technologist.com>
To:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/12396: new port: wmglobe
Message-ID:  <199906260810.BAA03583@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/12396; it has been noted by GNATS.

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
 


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?199906260810.BAA03583>