Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Mar 2006 11:29:12 +1200
From:      Matthew Luckie <mjl@luckie.org.nz>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/94887: [new port] graphics/cuttlefish
Message-ID:  <E1FMZEu-000C6B-Iq@lycra.luckie.org.nz>
Resent-Message-ID: <200603232330.k2NNUBM1036911@freefall.freebsd.org>

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

>Number:         94887
>Category:       ports
>Synopsis:       [new port] graphics/cuttlefish
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 23 23:30:10 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Matthew Luckie
>Release:        FreeBSD 4.11-RELEASE-p8 i386
>Organization:
University of Waikato
>Environment:
System: FreeBSD lycra.luckie.org.nz 4.11-RELEASE-p8 FreeBSD 4.11-RELEASE-p8 #1: Wed May 11 14:02:09 NZST 2005 root@lycra.luckie.org.nz:/files/freebsd_src/sys/compile/lycra i386
>Description:
	Cuttlefish produces animated GIFs that reveal the interplay
	between the diurnal and geographical patterns of displayed
	data. By showing how the Sun's shadow covers the world map,
	cuttlefish yields a direct feeling for the time of day at
	a given geographic region, while moving graphs illustrate
	the relationship between local time and the visualized
	events.
>How-To-Repeat:
	patch below.  my main concern is in placing private perl modules
	in ${PREFIX}/lib/cuttlefish, but i did not know where else to put
	them.
>Fix:
--- cuttlefish.shar begins here ---
# 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:
#
#	cuttlefish/Makefile
#	cuttlefish/distinfo
#	cuttlefish/pkg-descr
#	cuttlefish/pkg-plist
#
echo x - cuttlefish/Makefile
sed 's/^X//' >cuttlefish/Makefile << 'END-of-cuttlefish/Makefile'
X# Ports collection Makefile for:	cuttlefish
X# Date created:				20 March 2006
X# Whom:					Matthew Luckie <mjl@luckie.org.nz>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	cuttlefish
XPORTVERSION=	1.2
XCATEGORIES=	graphics
XMASTER_SITES=	http://www.caida.org/tools/visualization/cuttlefish/code/
X
XMAINTAINER=	mjl@luckie.org.nz
XCOMMENT=	Plots diurnal and geographical patterns of supplied data
X
XRUN_DEPENDS+=	${SITE_PERL}/${PERL_ARCH}/GD.pm:${PORTSDIR}/graphics/p5-GD \
X		convert:${PORTSDIR}/graphics/ImageMagick \
X		gifsicle:${PORTSDIR}/graphics/gifsicle
X
XUSE_PERL5_RUN=	yes
XNO_BUILD=	yes
X
XIMAGES=		caida_logo.gif caida_logo_gray.gif \
X		japan-water-okinawa.jpg japan-water.jpg \
X		world-day.jpg world-water.jpg
X
XEXAMPLES=	japan-traces-small.config japan-traces.config \
X		nyxem-hosts-both.config \
X		witty-combined-small.config witty-combined.config
X
Xpost-patch:
X	@${REINPLACE_CMD} -e "s|../lib|../lib/cuttlefish|" \
X		${WRKSRC}/bin/cuttlefish.pl
X.for f in ${EXAMPLES}
X	@${REINPLACE_CMD} -e "s|images|${PREFIX}/share/cuttlefish|" \
X		${WRKSRC}/configs/${f}
X.endfor
X
Xdo-install:
X	@${INSTALL_SCRIPT} ${WRKSRC}/bin/cuttlefish.pl ${PREFIX}/bin
X	@${MKDIR} ${PREFIX}/lib/cuttlefish
X	@${MKDIR} ${PREFIX}/share/cuttlefish
X	@${MKDIR} ${PREFIX}/share/examples/cuttlefish
X.for f in Canvas.pm Control.pm Histogram.pm Image.pm Legend.pm Map.pm Util.pm
X	@${INSTALL_DATA} ${WRKSRC}/lib/${f} ${PREFIX}/lib/cuttlefish/${f}
X.endfor
X.for f in ${EXAMPLES}
X	@${INSTALL_DATA} ${WRKSRC}/configs/${f} \
X		${PREFIX}/share/examples/cuttlefish/${f}
X.endfor
X.for f in ${IMAGES}
X	@${INSTALL_DATA} ${WRKSRC}/images/${f} ${PREFIX}/share/cuttlefish/${f}
X.endfor
X
X.include <bsd.port.mk>
END-of-cuttlefish/Makefile
echo x - cuttlefish/distinfo
sed 's/^X//' >cuttlefish/distinfo << 'END-of-cuttlefish/distinfo'
XMD5 (cuttlefish-1.2.tar.gz) = aaeb3d75cf85b16e572f6e7b228856aa
XSHA256 (cuttlefish-1.2.tar.gz) = e8596a7a460aec4afcda12a07a0e78720fe13b08924946df67a2232ba6f00da8
XSIZE (cuttlefish-1.2.tar.gz) = 1093455
END-of-cuttlefish/distinfo
echo x - cuttlefish/pkg-descr
sed 's/^X//' >cuttlefish/pkg-descr << 'END-of-cuttlefish/pkg-descr'
XCuttlefish produces animated GIFs that reveal the interplay
Xbetween the diurnal and geographical patterns of displayed
Xdata. By showing how the Sun's shadow covers the world map,
Xcuttlefish yields a direct feeling for the time of day at
Xa given geographic region, while moving graphs illustrate
Xthe relationship between local time and the visualized
Xevents.
X
XWWW: http://www.caida.org/tools/visualization/cuttlefish/ 
END-of-cuttlefish/pkg-descr
echo x - cuttlefish/pkg-plist
sed 's/^X//' >cuttlefish/pkg-plist << 'END-of-cuttlefish/pkg-plist'
Xbin/cuttlefish.pl
Xlib/cuttlefish/Canvas.pm
Xlib/cuttlefish/Control.pm
Xlib/cuttlefish/Histogram.pm
Xlib/cuttlefish/Image.pm
Xlib/cuttlefish/Legend.pm
Xlib/cuttlefish/Map.pm
Xlib/cuttlefish/Util.pm
Xshare/cuttlefish/caida_logo.gif
Xshare/cuttlefish/caida_logo_gray.gif
Xshare/cuttlefish/japan-water-okinawa.jpg
Xshare/cuttlefish/japan-water.jpg
Xshare/cuttlefish/world-day.jpg
Xshare/cuttlefish/world-water.jpg
Xshare/examples/cuttlefish/japan-traces-small.config
Xshare/examples/cuttlefish/japan-traces.config
Xshare/examples/cuttlefish/nyxem-hosts-both.config
Xshare/examples/cuttlefish/witty-combined-small.config
Xshare/examples/cuttlefish/witty-combined.config 
X@dirrm share/examples/cuttlefish
X@dirrm share/cuttlefish
X@dirrm lib/cuttlefish
END-of-cuttlefish/pkg-plist
exit
--- cuttlefish.shar ends here ---


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1FMZEu-000C6B-Iq>