diff --git a/www/llgal/Makefile b/www/llgal/Makefile new file mode 100644 index 00000000000..fc8d914d08e --- /dev/null +++ b/www/llgal/Makefile @@ -0,0 +1,40 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2007/07/27 19:16:27 steven Exp $ + +COMMENT= command-line online gallery generator + +DISTNAME= llgal-0.13.13 +CATEGORIES= www graphics + +HOMEPAGE= http://home.gna.org/llgal/ + +MAINTAINER= Steven Mestdagh + +# GPL +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +MASTER_SITES= http://download.gna.org/llgal/ +EXTRACT_SUFX= .tar.bz2 + +RUN_DEPENDS= ::graphics/ImageMagick \ + ::graphics/p5-Image-ExifTool \ + ::graphics/p5-Image-Size \ + ::devel/p5-Locale-gettext \ + ::www/p5-URI + +USE_GMAKE= Yes +NO_REGRESS= Yes +PKG_ARCH= * + +MAKE_ENV= SYSCONFDIR=${SYSCONFDIR} + +pre-build: + @perl -pi -e 's,/usr/share,${PREFIX}/share,' ${WRKSRC}/llgal.1 + +post-install: + ${INSTALL_MAN} ${WRKSRC}/llgal.1 ${PREFIX}/man/man1 + ${INSTALL_MAN} ${WRKSRC}/llgalrc.5 ${PREFIX}/man/man5 + +.include diff --git a/www/llgal/distinfo b/www/llgal/distinfo new file mode 100644 index 00000000000..eaafae86c11 --- /dev/null +++ b/www/llgal/distinfo @@ -0,0 +1,5 @@ +MD5 (llgal-0.13.13.tar.bz2) = kPUmH6mdhA6XB5bOA2qaqQ== +RMD160 (llgal-0.13.13.tar.bz2) = FK5kFqfBdLiGfjFejrQVtFN21lE= +SHA1 (llgal-0.13.13.tar.bz2) = 5IjaarCUkT4XSj/Lf3ky0EuHaug= +SHA256 (llgal-0.13.13.tar.bz2) = BvQd0/RHFUHBGx7t6RcUHMrHZIcawaoGf6WbO1FYbj4= +SIZE (llgal-0.13.13.tar.bz2) = 79208 diff --git a/www/llgal/patches/patch-Makefile b/www/llgal/patches/patch-Makefile new file mode 100644 index 00000000000..3592f77aba6 --- /dev/null +++ b/www/llgal/patches/patch-Makefile @@ -0,0 +1,21 @@ +$OpenBSD: patch-Makefile,v 1.1.1.1 2007/07/27 19:16:27 steven Exp $ +--- Makefile.orig Sun Jul 8 18:06:45 2007 ++++ Makefile Thu Jul 26 06:35:26 2007 +@@ -15,7 +15,7 @@ PREFIX = /usr/local + EXEC_PREFIX = $(PREFIX) + BINDIR = $(EXEC_PREFIX)/bin + DATADIR = $(PREFIX)/share +-SYSCONFDIR = $(PREFIX)/etc ++#SYSCONFDIR = $(PREFIX)/etc + MANDIR = $(PREFIX)/man + LOCALEDIR = $(DATADIR)/locale + DOCDIR = $(DATADIR)/doc +@@ -38,7 +38,7 @@ clean:: clean-lib clean-po + rm -f llgal + + install:: install-lib install-po +- install -d -m 0755 $(DESTDIR)$(BINDIR)/ $(DESTDIR)$(DATADIR)/llgal/ $(DESTDIR)$(SYSCONFDIR)/llgal/ ++ install -d -m 0755 $(DESTDIR)$(BINDIR)/ $(DESTDIR)$(DATADIR)/llgal/ + install -m 0755 llgal $(DESTDIR)$(BINDIR)/llgal + install -m 0644 $(DATA_SUBDIR)/* $(DESTDIR)$(DATADIR)/llgal/ + diff --git a/www/llgal/pkg/DESCR b/www/llgal/pkg/DESCR new file mode 100644 index 00000000000..cd34329594c --- /dev/null +++ b/www/llgal/pkg/DESCR @@ -0,0 +1,4 @@ +llgal is an easy and fast on-line gallery generator based on iGal. Its +primary goal is to NOT require any boring useless expensive feature in +your webserver, such as PHP, JavaScript, SQL, ... Thus, llgal generates +static web-pages. diff --git a/www/llgal/pkg/PLIST b/www/llgal/pkg/PLIST new file mode 100644 index 00000000000..55c505e181a --- /dev/null +++ b/www/llgal/pkg/PLIST @@ -0,0 +1,20 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2007/07/27 19:16:27 steven Exp $ +bin/llgal +libdata/perl5/site_perl/Llgal/ +libdata/perl5/site_perl/Llgal/Config.pm +libdata/perl5/site_perl/Llgal/Messages.pm +libdata/perl5/site_perl/Llgal/Templates.pm +libdata/perl5/site_perl/Llgal/Utils.pm +@man man/man1/llgal.1 +@man man/man5/llgalrc.5 +share/llgal/ +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/en/LC_MESSAGES/llgal.mo +share/locale/fr/LC_MESSAGES/llgal.mo