Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Jun 2003 20:45:34 -0400 (EDT)
From:      Munish Chopra <munish@opiate.soulwax.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/53330: New port: graphics/rubyphoto, a ruby web gallery
Message-ID:  <20030615004534.4C02422@opiate.soulwax.net>
Resent-Message-ID: <200306150050.h5F0oA6d092585@freefall.freebsd.org>

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

>Number:         53330
>Category:       ports
>Synopsis:       New port: graphics/rubyphoto, a ruby web gallery
>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:   Sat Jun 14 17:50:09 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Munish Chopra
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
>Environment:
System: FreeBSD opiate.soulwax.net 5.1-CURRENT FreeBSD 5.1-CURRENT #6: Thu Jun 12 22:46:51 EDT 2003 munish@opiate.soulwax.net:/usr/src/sys/i386/compile/OPIATE i386


	
>Description:
	Add rubyphoto-1.4, a program for creating image galleries for the web.
	
>How-To-Repeat:
	
>Fix:

	

--- rubyphoto.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:
#
#	rubyphoto
#	rubyphoto/pkg-plist
#	rubyphoto/pkg-descr
#	rubyphoto/Makefile
#	rubyphoto/distinfo
#	rubyphoto/pkg-message
#
echo c - rubyphoto
mkdir -p rubyphoto > /dev/null 2>&1
echo x - rubyphoto/pkg-plist
sed 's/^X//' >rubyphoto/pkg-plist << 'END-of-rubyphoto/pkg-plist'
X%%DATADIR%%/COPYING
X%%DATADIR%%/README.html
X%%DATADIR%%/album.rb
X%%DATADIR%%/config.rb
X%%DATADIR%%/dyn_resize.rb
X%%DATADIR%%/image_cat.rb
X%%DATADIR%%/image_size_cache.rb
X%%DATADIR%%/joke.rb
X%%DATADIR%%/myxml.rb
X%%DATADIR%%/photo.rb
X%%DATADIR%%/rp_debug.rb
X%%DATADIR%%/ruby_photo.rb
X%%DATADIR%%/sample_input/album.xml
X%%DATADIR%%/sample_input/config.xml
X%%DATADIR%%/sample_input/config.xml.old
X%%DATADIR%%/sample_input/example.jpg.xml
X%%DATADIR%%/sample_input/granitesm_left.gif
X%%DATADIR%%/sample_input/granitesm_right.gif
X%%DATADIR%%/sample_input/granitesm_top.gif
X%%DATADIR%%/sample_input/granitesm_up.gif
X%%DATADIR%%/sample_input/rubyphoto.css
X%%DATADIR%%/templates/alternate/album.xml
X%%DATADIR%%/templates/alternate/image.xml
X%%DATADIR%%/templates/alternate/shared.xml
X%%DATADIR%%/templates/alternate/tree.xml
X%%DATADIR%%/templates/album.xml
X%%DATADIR%%/templates/image.xml
X%%DATADIR%%/templates/shared.xml
X%%DATADIR%%/templates/tree.xml
X%%DATADIR%%/swigs-converters/albums.rb
X%%DATADIR%%/swigs-converters/images.rb
X%%DATADIR%%/xml-generators/classify-photos
X%%DATADIR%%/xml-generators/make-album
X%%DATADIR%%/template.rb
X%%DATADIR%%/urlencode.rb
X@dirrm %%DATADIR%%/sample_input
X@dirrm %%DATADIR%%/templates/alternate
X@dirrm %%DATADIR%%/templates
X@dirrm %%DATADIR%%/swigs-converters
X@dirrm %%DATADIR%%/xml-generators
X@dirrm %%DATADIR%%
END-of-rubyphoto/pkg-plist
echo x - rubyphoto/pkg-descr
sed 's/^X//' >rubyphoto/pkg-descr << 'END-of-rubyphoto/pkg-descr'
XRubyPhoto is a program for creating image galleries for the web. It
Xrecurses through a directory tree creating album index files for each
Xsub-directory and image index files and thumbnails of specified sizes
Xfor each image. The generated HTML is completely customisable via
Xtemplates. All configuration and image/album information is supplied
Xin XML files.
X
XWWW: http://plig.net/~ture/rubyphoto/
X
X- Munish Chopra
X<mchopra@engmail.uwaterloo.ca>
END-of-rubyphoto/pkg-descr
echo x - rubyphoto/Makefile
sed 's/^X//' >rubyphoto/Makefile << 'END-of-rubyphoto/Makefile'
X# New ports collection makefile for:	rubyphoto
X# Date created:			June 14, 2003
X# Whom:				Munish Chopra <mchopra@engmail.uwaterloo.ca>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	rubyphoto
XPORTVERSION=	1.4
XCATEGORIES=	graphics ruby www
XMASTER_SITES=	http://plig.net/~ture/rubyphoto/files/
X
XMAINTAINER=	mchopra@engmail.uwaterloo.ca
XCOMMENT=	A program for creating image galleries for the web
X
XRUN_DEPENDS=    convert:${PORTSDIR}/graphics/ImageMagick \
X		${RUBY_SITELIBDIR}/image_size.rb:${PORTSDIR}/graphics/ruby-image_size \
X		${RUBY_SITELIBDIR}/xml/parser.rb:${PORTSDIR}/textproc/ruby-xmlparser
X
XLIB_DEPENDS=	expat.4:${PORTSDIR}/textproc/expat2
X
XNO_BUILD=	yes
X
XUSE_RUBY=	yes
XRUBY_SHEBANG_FILES=	ruby_photo.rb
X
Xdo-install:
X	${INSTALL_SCRIPT} ${WRKSRC}/abspath.rb ${RUBY_SITELIBDIR}
X	${INSTALL_SCRIPT} ${WRKSRC}/findbin.rb ${RUBY_SITELIBDIR}
X	@${MKDIR} ${DATADIR}
X	@${MKDIR} ${DATADIR}/sample_input
X	@${MKDIR} ${DATADIR}/templates
X	@${MKDIR} ${DATADIR}/templates/alternate
X	@${MKDIR} ${DATADIR}/swigs-converters
X	@${MKDIR} ${DATADIR}/xml-generators
X	${INSTALL_DATA} ${WRKSRC}/COPYING ${DATADIR}
X	${INSTALL_DATA} ${WRKSRC}/README.html ${DATADIR}
X	${INSTALL_DATA} ${WRKSRC}/album.rb ${DATADIR}
X	${INSTALL_DATA} ${WRKSRC}/config.rb ${DATADIR}
X	${INSTALL_DATA} ${WRKSRC}/dyn_resize.rb ${DATADIR}
X	${INSTALL_DATA} ${WRKSRC}/image_cat.rb ${DATADIR}
X	${INSTALL_DATA} ${WRKSRC}/image_size_cache.rb ${DATADIR}
X	${INSTALL_DATA} ${WRKSRC}/joke.rb ${DATADIR}
X	${INSTALL_DATA} ${WRKSRC}/myxml.rb ${DATADIR}
X	${INSTALL_DATA} ${WRKSRC}/photo.rb ${DATADIR}
X	${INSTALL_DATA} ${WRKSRC}/rp_debug.rb ${DATADIR}
X	${INSTALL_DATA} ${WRKSRC}/ruby_photo.rb ${DATADIR}
X	${INSTALL_DATA} ${WRKSRC}/template.rb ${DATADIR}
X	${INSTALL_DATA} ${WRKSRC}/urlencode.rb ${DATADIR}
X	${INSTALL_DATA} ${WRKSRC}/sample_input/* ${DATADIR}/sample_input
X	${INSTALL_DATA} ${WRKSRC}/templates/album.xml ${DATADIR}/templates
X	${INSTALL_DATA} ${WRKSRC}/templates/image.xml ${DATADIR}/templates
X	${INSTALL_DATA} ${WRKSRC}/templates/shared.xml ${DATADIR}/templates
X	${INSTALL_DATA} ${WRKSRC}/templates/tree.xml ${DATADIR}/templates
X	${INSTALL_DATA} ${WRKSRC}/templates/alternate/* ${DATADIR}/templates/alternate
X	${INSTALL_DATA} ${WRKSRC}/swigs-converters/* ${DATADIR}/swigs-converters
X	${INSTALL_DATA} ${WRKSRC}/xml-generators/* ${DATADIR}/xml-generators
X
Xpost-install:
X	@${SED} -e "s#%%DATADIR%%#${DATADIR}#" ${PKGMESSAGE}
X
X.include <bsd.port.mk>
END-of-rubyphoto/Makefile
echo x - rubyphoto/distinfo
sed 's/^X//' >rubyphoto/distinfo << 'END-of-rubyphoto/distinfo'
XMD5 (rubyphoto-1.4.tar.gz) = 6610464b1e276b3c5c9e5e8f98a69c1c
END-of-rubyphoto/distinfo
echo x - rubyphoto/pkg-message
sed 's/^X//' >rubyphoto/pkg-message << 'END-of-rubyphoto/pkg-message'
X---------------------------------------------------------
X* Copy %%DATADIR%%/templates/* to
X  ~/.rubyphoto-templates.
X* Copy %%DATADIR%%/sample_input/config.xml
X  to ~/.rubyphoto-conf and edit it if you wish to deviate
X  from the default settings.
X* Copy rubyphoto.css and the granitesm_*.gif icons from
X  %%DATADIR%%/sample_input/ to your
X  top-level photo directory. In this directory, create
X  a file called .rubyphoto-ignore which contains 
X  granitesm_*.gif.
X---------------------------------------------------------
END-of-rubyphoto/pkg-message
exit
--- rubyphoto.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?20030615004534.4C02422>