head	1.31;
access;
symbols
	RELEASE_8_3_0:1.27
	RELEASE_9_0_0:1.27
	RELEASE_7_4_0:1.19
	RELEASE_8_2_0:1.19
	RELEASE_6_EOL:1.16
	RELEASE_8_1_0:1.15
	RELEASE_7_3_0:1.15
	RELEASE_8_0_0:1.14
	RELEASE_7_2_0:1.12
	RELEASE_7_1_0:1.8
	RELEASE_6_4_0:1.8
	RELEASE_5_EOL:1.6;
locks; strict;
comment	@# @;


1.31
date	2013.03.10.15.20.47;	author svnexp;	state Exp;
branches;
next	1.30;

1.30
date	2013.02.19.19.28.45;	author svnexp;	state Exp;
branches;
next	1.29;

1.29
date	2012.11.17.06.03.13;	author svnexp;	state Exp;
branches;
next	1.28;

1.28
date	2012.10.10.21.31.36;	author sunpoet;	state Exp;
branches;
next	1.27;

1.27
date	2011.11.24.16.34.34;	author sunpoet;	state Exp;
branches;
next	1.26;

1.26
date	2011.11.07.03.30.30;	author sunpoet;	state Exp;
branches;
next	1.25;

1.25
date	2011.10.09.22.38.37;	author sunpoet;	state Exp;
branches;
next	1.24;

1.24
date	2011.09.23.00.52.13;	author sunpoet;	state Exp;
branches;
next	1.23;

1.23
date	2011.08.31.18.51.01;	author sunpoet;	state Exp;
branches;
next	1.22;

1.22
date	2011.06.24.23.35.18;	author sunpoet;	state Exp;
branches;
next	1.21;

1.21
date	2011.05.06.20.13.32;	author sunpoet;	state Exp;
branches;
next	1.20;

1.20
date	2011.03.11.17.12.48;	author sunpoet;	state Exp;
branches;
next	1.19;

1.19
date	2011.02.05.16.37.18;	author sunpoet;	state Exp;
branches;
next	1.18;

1.18
date	2011.01.31.14.46.29;	author sunpoet;	state Exp;
branches;
next	1.17;

1.17
date	2011.01.12.01.51.06;	author sunpoet;	state Exp;
branches;
next	1.16;

1.16
date	2010.11.17.16.35.09;	author sunpoet;	state Exp;
branches;
next	1.15;

1.15
date	2010.01.05.08.45.21;	author jadawin;	state Exp;
branches;
next	1.14;

1.14
date	2009.07.15.14.20.08;	author jadawin;	state Exp;
branches;
next	1.13;

1.13
date	2009.06.04.07.52.19;	author jadawin;	state Exp;
branches;
next	1.12;

1.12
date	2009.04.10.12.18.39;	author jadawin;	state Exp;
branches;
next	1.11;

1.11
date	2009.03.23.20.55.00;	author jadawin;	state Exp;
branches;
next	1.10;

1.10
date	2008.12.10.13.00.11;	author jadawin;	state Exp;
branches;
next	1.9;

1.9
date	2008.10.03.13.24.59;	author jadawin;	state Exp;
branches;
next	1.8;

1.8
date	2008.08.18.15.06.21;	author jadawin;	state Exp;
branches;
next	1.7;

1.7
date	2008.07.07.14.48.51;	author jadawin;	state Exp;
branches;
next	1.6;

1.6
date	2008.05.21.20.31.24;	author jadawin;	state Exp;
branches;
next	1.5;

1.5
date	2008.05.20.13.15.25;	author jadawin;	state Exp;
branches;
next	1.4;

1.4
date	2008.03.06.13.20.07;	author jadawin;	state Exp;
branches;
next	1.3;

1.3
date	2008.02.21.16.32.53;	author tabthorpe;	state Exp;
branches;
next	1.2;

1.2
date	2008.02.08.18.47.39;	author tabthorpe;	state Exp;
branches;
next	1.1;

1.1
date	2007.12.29.15.03.41;	author tabthorpe;	state Exp;
branches;
next	;


desc
@@


1.31
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/313796
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# Created by: Philippe Audeoud <jadawin@@tuxaco.net>
# $FreeBSD: head/www/zenphoto/Makefile 313796 2013-03-10 03:20:31Z sunpoet $

PORTNAME=	zenphoto
PORTVERSION=	1.4.4.3
CATEGORIES=	www
MASTER_SITES=	https://github.com/${PORTNAME}/${PORTNAME}/archive/

MAINTAINER=	sunpoet@@FreeBSD.org
COMMENT=	A simpler web photo gallery

LICENSE=	GPLv2

FETCH_ARGS=	-Fpr
NO_BUILD=	yes
USE_PHP=	gd gettext json mbstring mysql pcre session
WANT_PHP_WEB=	yes
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTNAME}-${PORTVERSION}

PKGDEINSTALL=	${WRKDIR}/pkg-deinstall
PKGMESSAGE=	${WRKDIR}/pkg-message
SUB_FILES=	pkg-message pkg-deinstall
SUB_LIST=	PORTNAME=${PORTNAME}

post-extract:
	@@${RM} ${WRKSRC}/doc_files/Zenphoto\ license.txt ${WRKSRC}/doc_files/README.html ${WRKSRC}/zp-core/Zenphoto.package

do-install:
	${MKDIR} ${WWWDIR}/
	cd ${WRKSRC}/ && ${COPYTREE_SHARE} \* ${WWWDIR}/
	${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}/

post-install:
	@@${CAT} ${PKGMESSAGE}

# maintainer section:

MS_DIRRMTRY=	albums cache themes zp-core
MS_PLIST=	${WRKDIR}/.ms-pkg-plist

genplist: do-clean extract
	cd ${WRKSRC}/ && \
		${FIND} -s * -type f | ${SED} 's|^|%%WWWDIR%%/|' > ${MS_PLIST} && \
		${FIND} -s * -type d | ${TAIL} -r | ${SED} 's|^|@@dirrm %%WWWDIR%%/|' >> ${MS_PLIST} && \
		${ECHO} '@@dirrmtry %%WWWDIR%%' >> ${MS_PLIST}
.for dir in ${MS_DIRRMTRY}
	${REINPLACE_CMD} '/^@@dirrm %%WWWDIR%%\/${dir:C/\//\\\//g}$$/ s|@@dirrm|&try|' ${MS_PLIST}
.endfor
	${INSTALL} -m 600 ${MS_PLIST} ${PLIST}

.include <bsd.port.mk>
@


1.30
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/312591
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d2 1
a2 1
# $FreeBSD: head/www/zenphoto/Makefile 312591 2013-02-19 17:30:46Z sunpoet $
d5 1
a5 1
PORTVERSION=	1.4.4.1b
@


1.29
log
@Switch exporter over
@
text
@d2 1
a2 1
# $FreeBSD: head/www/zenphoto/Makefile 305687 2012-10-10 21:31:36Z sunpoet $
d5 1
a5 1
PORTVERSION=	1.4.3.3
d7 1
a7 2
MASTER_SITES=	GOOGLE_CODE \
		http://www.zenphoto.org/files/
d14 1
d18 1
a18 1
WRKSRC=		${WRKDIR}/${PORTNAME}
a24 2
EMPTYDIRS=	albums cache cache_html/rss plugins/flag_thumbnail plugins/flvplayer plugins/gd_fonts plugins/imagick_fonts plugins/watermarks uploaded

d26 1
a26 1
	@@${RM} ${WRKSRC}/doc_files/License.txt ${WRKSRC}/doc_files/README.html ${WRKSRC}/zp-core/Zenphoto.package
a28 3
.for dir in ${EMPTYDIRS}
	${TOUCH} ${WRKSRC}/${dir}/.keepme
.endfor
a38 1
MS_EMPTYDIRS=	${WRKDIR}/.ms-empty-directories
a42 2
		${FIND} -s * -type d -empty | ${XARGS} > ${MS_EMPTYDIRS} && \
		${SED} 's|[^ ]*|&/.keepme|g' ${MS_EMPTYDIRS} | ${XARGS} -J % ${TOUCH} % && \
d50 1
a50 2
	${REINPLACE_CMD} -e "/^EMPTYDIRS=/ s|	.*$$|	`${CAT} ${MS_EMPTYDIRS}`|" ${.CURDIR}/Makefile
	
@


1.28
log
@SVN rev 305687 on 2012-10-10 21:31:36Z by sunpoet

- Update to 1.4.3.3
- Cleanup Makefile header
- Add maintainer section

Changes:	http://www.zenphoto.org/news/category/changelog
Feature safe:	yes
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.27
log
@- Update to 1.4.1.6

Changes:	http://www.zenphoto.org/news/zenphoto-1.4.1.6
Feature safe:	yes
@
text
@d1 1
a1 4
# New ports collection makefile for:   zenphoto
# Date created:                27 December 2007
# Whom:                        Philippe Audeoud <jadawin@@tuxaco.net>
#
a2 1
#
d5 1
a5 1
PORTVERSION=	1.4.1.6
d25 2
a28 4
.for i in albums cache cache_html/rss plugins/flag_thumbnail plugins/flvplayer \
	plugins/gd_fonts plugins/imagick_fonts plugins/watermarks uploaded zp-data
	@@${TOUCH} ${WRKSRC}/${i}/.keepme
.endfor
d31 3
d41 19
@


1.26
log
@- Update to 1.4.1.5

Changes:	http://www.zenphoto.org/news/zenphoto-1.4.1.5
@
text
@d9 1
a9 1
PORTVERSION=	1.4.1.5
d31 2
a32 2
.for i in albums cache cache_html/rss plugins/flag_thumbnail plugins/flvplayer plugins/gd_fonts plugins/imagick_fonts \
	plugins/watermarks uploaded zp-core/zp-extensions/tiny_mce/plugins/ajaxfilemanager/jscripts/edit_area/plugins zp-data
@


1.25
log
@- Update to 1.4.1.4
- Fix package: keep empty directories
- Cleanup PLIST

Changes:	http://www.zenphoto.org/news/zenphoto-1.4.1.4
@
text
@d9 1
a9 1
PORTVERSION=	1.4.1.4
@


1.24
log
@- Update to 1.4.1.3

Changes:	http://www.zenphoto.org/news/zenphoto-1.4.1.3
@
text
@d9 1
a9 1
PORTVERSION=	1.4.1.3
d29 7
d37 3
a39 8
	${MKDIR} ${WWWDIR}
	@@${RM} ${WRKSRC}/doc_files/License.txt \
		${WRKSRC}/doc_files/README.html \
		${WRKSRC}/zp-core/Zenphoto.package
	@@${TOUCH} ${WRKSRC}/uploaded/.keepme
	@@cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${WWWDIR}
	${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
	${CHMOD} 644 ${WWWDIR}/zp-core/images/*
@


1.23
log
@- Update to 1.4.1.2

Changes:	http://www.zenphoto.org/news/zenphoto-1.4.1.2
		http://www.zenphoto.org/news/zenphoto-1.4.1.1
@
text
@d9 1
a9 1
PORTVERSION=	1.4.1.2
@


1.22
log
@- Update to 1.4.1

Changes:	http://www.zenphoto.org/news/zenphoto-1.4.1
@
text
@d9 1
a9 1
PORTVERSION=	1.4.1
@


1.21
log
@- Update to 1.4.0.4

Changes:	http://www.zenphoto.org/news/zenphoto-1.4.0.4
@
text
@d9 1
a9 1
PORTVERSION=	1.4.0.4
@


1.20
log
@- Update to 1.4.0.3

Changes:	http://www.zenphoto.org/2011/03/zenphoto-1-4-0-3/
@
text
@d9 1
a9 1
PORTVERSION=	1.4.0.3
@


1.19
log
@- Update to 1.4.0.2

Changes:	http://www.zenphoto.org/2011/02/zenphoto-1-4-0-2/
Feature safe:	yes
@
text
@d9 1
a9 1
PORTVERSION=	1.4.0.2
@


1.18
log
@- Update to 1.4.0.1

Changes:	http://www.zenphoto.org/2011/01/zenphoto-1-4-0-1/
Feature safe:	yes
@
text
@d9 1
a9 1
PORTVERSION=	1.4.0.1
@


1.17
log
@- Update to 1.4

Changes:	http://www.zenphoto.org/category/news/release/
Feature safe:	yes
@
text
@d9 1
a9 1
PORTVERSION=	1.4
@


1.16
log
@- Update to 1.3.1.2
- Add MASTER_SITES: GOOGLE_CODE
- Add LICENSE
- Cosmetic change
- Take maintainership

Changes:	http://www.zenphoto.org/category/news/release/
PR:		ports/152242
Submitted by:	sunpoet (myself)
Approved by:	jadawin (maintainer)
@
text
@d4 1
d6 1
d9 1
a9 1
PORTVERSION=	1.3.1.2
d31 4
a35 3
	@@${RM} ${WWWDIR}/doc_files/License.txt
	@@${RM} ${WWWDIR}/doc_files/README.html
	@@${RM} ${WWWDIR}/zp-core/Zenphoto.package
@


1.15
log
@- Update to 1.2.8
- Changelog: http://www.zenphoto.org/2009/12/version-1-2-8/
@
text
@d7 1
a7 1
PORTVERSION=	1.2.8
d9 2
a10 1
MASTER_SITES=	http://www.zenphoto.org/files/
d12 1
a12 1
MAINTAINER=	jadawin@@FreeBSD.org
d15 1
a15 2
USE_PHP=	mysql gd session mbstring gettext pcre json
WANT_PHP_WEB=	yes
d18 3
a20 2

WRKSRC=	${WRKDIR}/${PORTNAME}
d25 1
a25 2
SUB_LIST=	PORTNAME=${PORTNAME} \
		WWWDIR=${WWWDIR}
d29 4
a32 2
	@@(cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${WWWDIR} \
		"! -name README.html ! -name License.txt ! -name Zenphoto.package")
d35 1
@


1.14
log
@- Add missing dependencies
- Bump PORTREVISION
@
text
@d7 1
a7 2
PORTVERSION=	1.2.5
PORTREVISION=	1
@


1.13
log
@- Update to 1.2.5
@
text
@d8 1
d15 1
a15 1
USE_PHP=	mysql gd session mbstring gettext
@


1.12
log
@- Update to 1.2.4
@
text
@d7 1
a7 1
PORTVERSION=	1.2.4
@


1.11
log
@- Update to 1.2.3

PR:		ports/132924
Submitted by:	Edmondas Girkantas <eg at fbsd.lt>
@
text
@d7 1
a7 1
PORTVERSION=	1.2.3
d30 1
a30 1
		"! -name README.html ! -name License.txt")
@


1.10
log
@- Update to 1.2.2
@
text
@d7 1
a7 1
PORTVERSION=	1.2.2
d14 1
a14 1
USE_PHP=	mysql gd session mbstring
@


1.9
log
@- Update to 1.2.1
- Changelog at http://www.zenphoto.org/2008/10/version-121/
@
text
@d7 1
a7 1
PORTVERSION=	1.2.1
@


1.8
log
@- Update to 1.2
@
text
@d7 1
a7 1
PORTVERSION=	1.2
@


1.7
log
@- Update to 1.1.7
@
text
@d7 1
a7 1
PORTVERSION=	1.1.7
d32 1
a32 5
.for i in multimediaDefault.png videoDefault.png zen-logo.jpg
.if exists(${WWWDIR}/albums/${i})
	${CHMOD} 644 ${WWWDIR}/albums/${i}
.endif
.endfor
@


1.6
log
@- Fix NOPORTDOCS/NOPORTDATA/NOPORTEXAMPLES

Notified by:	itetcu
Approved by:	tabthorpe
@
text
@d7 1
a7 1
PORTVERSION=	1.1.6
d32 3
a34 2
.if exists(${WWWDIR}/albums/zen-logo.jpg)
	${CHMOD} 644 ${WWWDIR}/albums/zen-logo.jpg
d36 1
a36 6
.if (exists(${WWWDIR}/albums/multimediaDefault.png) && \
	exists(${WWWDIR}/albums/videoDefault.png))
	${CHMOD} 644 ${WWWDIR}/albums/videoDefault.png
	${CHMOD} 644 ${WWWDIR}/albums/multimediaDefault.png
.endif

@


1.5
log
@- Update to 1.1.6

Changelog at <http://www.zenphoto.org/2008/05/version-116/>

Approved by:	tabthorpe (mentor)
@
text
@d32 8
a39 2
	${CHMOD} 644 ${WWWDIR}/albums/*.png
	${CHMOD} 644 ${WWWDIR}/albums/*.jpg
@


1.4
log
@- Update to 1.1.5
- Update maintainer address

Approved by: tabthorpe (co-mentor)
@
text
@d7 1
a7 1
PORTVERSION=	1.1.5
d14 1
a14 1
USE_PHP=	mysql gd session
d32 2
@


1.3
log
@- Update to 1.1.4
- Mark unforbidden
- Update and sorted pkg-plist
- Update pkg-message to better visual

PR:		ports/120913
Submitted by:	Felippe de Meirelles Motta <lippemail gmail.com>
Approved by:	maintainer implicit
Security:	http://www.vuxml.org/freebsd/1a818749-d646-11dc-8959-000bcdc1757a.html
@
text
@d7 1
a7 1
PORTVERSION=	1.1.4
d11 1
a11 1
MAINTAINER=	jadawin@@tuxaco.net
@


1.2
log
@- Mark FORBIDDEN, XSS security issues

Approved by:	maintainer implicit
@
text
@d7 1
a7 1
PORTVERSION=	1.1.3
a13 2
FORBIDDEN=	XSS security issues, http://www.securityfocus.com/bid/27084

@


1.1
log
@Zenphoto is an answer to lots of calls for an online gallery solution
that just makes sense. After years of bloated software that does
everything and your dishes, zenphoto just shows your photos, simply.

WWW: http://www.zenphoto.org/

PR:		ports/119072
Submitted by:	Philippe Audeoud <jadawin at tuxaco.net>
@
text
@d14 2
@

