ports/94887: [new port] graphics/cuttlefish
Matthew Luckie
mjl at luckie.org.nz
Thu Mar 23 23:30:12 UTC 2006
>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 at 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 at 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 at 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 at dirrm share/examples/cuttlefish
X at dirrm share/cuttlefish
X at dirrm lib/cuttlefish
END-of-cuttlefish/pkg-plist
exit
--- cuttlefish.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list