diff --git a/llgal/DESCR b/llgal/DESCR new file mode 100644 index 0000000000..4163e75b0a --- /dev/null +++ b/llgal/DESCR @@ -0,0 +1,7 @@ +llgal is a HTML gallery generator for images, videos, text and links. +It is based on igal and adds supports for various types of slides +including movies, text, links and subdirectories and several features +such as the addition of headers and footers in generated HTML files or +the generation of slide captions from JFIF, GIF or EXIF comments. +llgal generates nice web-pages through very simple HTML code that does +not require anything like php or javascript. diff --git a/llgal/Makefile b/llgal/Makefile new file mode 100644 index 0000000000..385c418775 --- /dev/null +++ b/llgal/Makefile @@ -0,0 +1,43 @@ +# $NetBSD: Makefile,v 1.1.1.1 2010/03/28 11:48:07 ryo-on Exp $ +# + +DISTNAME= llgal-0.13.16 +CATEGORIES= www graphics +MASTER_SITES= http://download.gna.org/llgal/ +EXTRACT_SUFX= .tar.bz2 + +MAINTAINER= ryo_on@yk.rim.or.jp +HOMEPAGE= http://home.gna.org/llgal/ +COMMENT= The llgal is an easy and fast on-line static gallery generator + +LICENSE= gnu-gpl-v2 + +PKG_DESTDIR_SUPPORT= user-destdir + +USE_LANGUAGES= # none + +USE_TOOLS+= gmake perl:run +PERL5_MODULE_TYPE= MakeMaker +PERL5_PACKLIST= auto/Llgal/.packlist + +DEPENDS+= p5-Image-ExifTool-[0-9]*:../../graphics/p5-Image-ExifTool +DEPENDS+= p5-Image-Size-[0-9]*:../../graphics/p5-Image-Size +DEPENDS+= p5-URI-[0-9]*:../../www/p5-URI +DEPENDS+= p5-gettext-[0-9]*:../../devel/p5-gettext + +SUBST_CLASSES+= fix-paths +SUBST_STAGE.fix-paths= pre-configure +SUBST_MESSAGE.fix-paths= Fixing absolute paths. +SUBST_FILES.fix-paths= Makefile +SUBST_SED.fix-paths= -e 's,/usr/local,${PREFIX},g' + +SUBST_CLASSES+= interpreter +SUBST_STAGE.interpreter= pre-configure +SUBST_MESSAGE.interpreter= Fixing absolute path of interpreter. +SUBST_FILES.interpreter= llgal.in +SUBST_SED.interpreter= -e 's,/usr/bin/perl,${PREFIX}/bin/perl,g' + +.include "../../graphics/ImageMagick/buildlink3.mk" +.include "../../lang/perl5/module.mk" +.include "../../lang/perl5/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/llgal/PLIST b/llgal/PLIST new file mode 100644 index 0000000000..27ac072152 --- /dev/null +++ b/llgal/PLIST @@ -0,0 +1,22 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2010/03/28 11:48:07 ryo-on Exp $ +bin/llgal +lib/perl5/vendor_perl/5.10.0/Llgal/Config.pm +lib/perl5/vendor_perl/5.10.0/Llgal/Messages.pm +lib/perl5/vendor_perl/5.10.0/Llgal/Templates.pm +lib/perl5/vendor_perl/5.10.0/Llgal/Utils.pm +lib/perl5/vendor_perl/5.10.0/${MACHINE_ARCH}-${LOWER_OPSYS}-thread-multi/auto/Llgal/.packlist +man/man1/llgal.1 +man/man5/llgalrc.5 +share/llgal/captions.header +share/llgal/index.png +share/llgal/indextemplate.html +share/llgal/llgal.css +share/llgal/next.png +share/llgal/prev.png +share/llgal/slidetemplate.html +share/llgal/tile.png +share/locale/de/LC_MESSAGES/llgal.mo +share/locale/en/LC_MESSAGES/llgal.mo +share/locale/fr/LC_MESSAGES/llgal.mo +share/locale/it/LC_MESSAGES/llgal.mo +@pkgdir etc/llgal diff --git a/llgal/distinfo b/llgal/distinfo new file mode 100644 index 0000000000..23fe282858 --- /dev/null +++ b/llgal/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2010/03/28 11:48:07 ryo-on Exp $ + +SHA1 (llgal-0.13.16.tar.bz2) = 235edb2704b838c7a2a81ed2de971d1c06eece47 +RMD160 (llgal-0.13.16.tar.bz2) = 6ba5b76d01ffa96842de3390908c792e5f50447c +Size (llgal-0.13.16.tar.bz2) = 80812 bytes +SHA1 (patch-aa) = 3790cfa25138695ec2e32241cd113e90c1e812c2 diff --git a/llgal/patches/patch-aa b/llgal/patches/patch-aa new file mode 100644 index 0000000000..0d4e430ce1 --- /dev/null +++ b/llgal/patches/patch-aa @@ -0,0 +1,24 @@ +$NetBSD: patch-aa,v 1.1.1.1 2010/03/28 11:48:07 ryo-on Exp $ + +* install modules into vendor_perl directory +* install man pages +--- Makefile.orig 2010-02-28 07:57:05.000000000 +0000 ++++ Makefile +@@ -19,7 +19,7 @@ SYSCONFDIR = $(PREFIX)/etc + MANDIR = $(PREFIX)/man + LOCALEDIR = $(DATADIR)/locale + DOCDIR = $(DATADIR)/doc +-PERL_INSTALLDIRS = ++PERL_INSTALLDIRS = vendor + + TARBALL = $(NAME)-$(VERSION) + DEBIAN_TARBALL = $(NAME)_$(VERSION).orig +@@ -37,7 +37,7 @@ llgal:: llgal.in VERSION build-lib updat + clean:: clean-lib clean-po + rm -f llgal + +-install:: install-lib install-po ++install:: install-lib install-po install-man + install -d -m 0755 $(DESTDIR)$(BINDIR)/ $(DESTDIR)$(DATADIR)/llgal/ $(DESTDIR)$(SYSCONFDIR)/llgal/ + install -m 0755 llgal $(DESTDIR)$(BINDIR)/llgal + install -m 0644 $(DATA_SUBDIR)/* $(DESTDIR)$(DATADIR)/llgal/