head	1.3;
access;
symbols
	RELEASE_7_2_0:1.2
	RELEASE_7_1_0:1.2
	RELEASE_6_4_0:1.2
	RELEASE_5_EOL:1.2
	RELEASE_7_0_0:1.2
	RELEASE_6_3_0:1.2
	PRE_XORG_7:1.2
	RELEASE_4_EOL:1.2
	RELEASE_6_2_0:1.2
	RELEASE_6_1_0:1.2
	RELEASE_5_5_0:1.2
	RELEASE_6_0_0:1.2
	RELEASE_5_4_0:1.1
	RELEASE_4_11_0:1.1
	RELEASE_5_3_0:1.1
	RELEASE_4_10_0:1.1
	RELEASE_5_2_1:1.1
	RELEASE_5_2_0:1.1
	RELEASE_4_9_0:1.1
	RELEASE_5_1_0:1.1
	RELEASE_4_8_0:1.1;
locks; strict;
comment	@# @;


1.3
date	2009.05.08.16.56.44;	author pgollucci;	state dead;
branches;
next	1.2;

1.2
date	2005.07.19.20.39.37;	author philip;	state Exp;
branches;
next	1.1;

1.1
date	2003.01.16.03.12.21;	author edwin;	state Exp;
branches;
next	;


desc
@@


1.3
log
@- APACHE_COMPAT is deprecated
- Consolidate (BUILD|RUN)_DEPENDS
- Kill DEPENDS_ARGS not needed anymore
- Use SUB_FILES for pkg-message
- pkg-plist fix
- Bump PORTREVISION

PR:             ports/133690
Approved by:    maintainer timeout (30 days)
Submitted by:   me
@
text
@---------------------------------------------------------------------------------------

<VirtualHost 123.123.123.123>
        ServerName   gallery.yourdomain.org
        DocumentRoot /data/pictures/
        ErrorLog     logs/gallery-error_log
        TransferLog  logs/gallery-access_log
        PerlSetVar   GalleryTemplateDir '%%DATADIR%%/templates/default'
        PerlSetVar   GalleryInfo 'Picture Taken => DateTimeOriginal, Flash => Flash' 
        PerlSetVar   GallerySizes '640 1024 1600 2272'
        PerlSetVar   GalleryThumbnailSize '100x75'
        PerlSetVar   GalleryCacheDir '/var/tmp/Apache-Gallery/'
        <Location />
                SetHandler        perl-script
                PerlHandler       Apache::Gallery
        </Location>
</VirtualHost>

And copy %%DATADIR%%/templates/default/gallery.css to your DocumentRoot

---------------------------------------------------------------------------------------
@


1.2
log
@Update to 1.0RC2.  While here, fix a couple of outstanding annoyances:

 o Use the ${DATADIR} variable instead of hardcoding share/Apache-Gallery
   for the data-files that need to be installed under there.

 o Also use %%DATADIR%% instead of hardcoding share/Apache-Gallery in the
   pkg-plist.  Never try to remove www/icons itself, which should be done
   by the Apache port.

 o Install both the 'default' and the 'new' template directories, leaving
   the css files with the templates instead of moving them into a css/
   subdirectory.

 o Put the icons under www/icons/gallery, removing the need for the patch
   to the template files, also makes them easier to move around if people
   like doing that sort of thing.

Approved by:	krion (mentor) kvs@@pil.dk (maintainer)
@
text
@@


1.1
log
@New port: Apache::Gallery - mod_perl handler to create an image gallery

PR:		ports/44434
Submitted by:	Erwin Lansing <erwin@@lansing.dk>
@
text
@d8 1
a8 1
        PerlSetVar   GalleryTemplateDir '%%PREFIX%%/share/Apache-Gallery/templates'
d19 1
a19 1
And copy %%PREFIX%%/share/Apache-Gallery/css/gallery.css to your DocumentRoot
@

