head	1.6;
access;
symbols
	RELEASE_8_3_0:1.5
	RELEASE_9_0_0:1.5
	RELEASE_7_4_0:1.5
	RELEASE_8_2_0:1.5
	RELEASE_6_EOL:1.4
	RELEASE_8_1_0:1.2
	RELEASE_7_3_0:1.2
	RELEASE_8_0_0:1.2;
locks; strict;
comment	@# @;


1.6
date	2012.11.17.06.01.08;	author svnexp;	state Exp;
branches;
next	1.5;

1.5
date	2010.12.16.02.34.01;	author glarkin;	state Exp;
branches;
next	1.4;

1.4
date	2010.11.27.06.48.59;	author sahil;	state Exp;
branches;
next	1.3;

1.3
date	2010.07.29.02.58.43;	author sahil;	state Exp;
branches;
next	1.2;

1.2
date	2009.08.22.00.34.55;	author amdmi3;	state Exp;
branches;
next	1.1;

1.1
date	2009.08.14.19.54.33;	author miwi;	state Exp;
branches;
next	;


desc
@@


1.6
log
@Switch exporter over
@
text
@# New ports collection makefile for:	mailzu
# Date created:				20 July 2009
# Whom:					Sahil Tandon <sahil@@tandon.net>
#
# $FreeBSD: head/security/mailzu/Makefile 300897 2012-07-14 14:29:18Z beat $
#

PORTNAME=	mailzu
DISTVERSION=	0.8rc3
PORTREVISION=	2
CATEGORIES=	security
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/MailZu%200.8RC3
DISTNAME=	MailZu_${DISTVERSION:S/rc/RC/}

MAINTAINER=	sahil@@FreeBSD.org
COMMENT=	A simple and intuitive web interface to manage amavisd-new quarantine

RUN_DEPENDS=	${LOCALBASE}/sbin/amavisd:${PORTSDIR}/security/amavisd-new \
		${PEARDIR}/DB.php:${PORTSDIR}/databases/pear-DB \
		${PEARDIR}/Mail/mime.php:${PORTSDIR}/mail/pear-Mail_Mime \
		${PEARDIR}/Net/Socket.php:${PORTSDIR}/net/pear-Net_Socket \
		${PEARDIR}/Mail/mimeDecode.php:${PORTSDIR}/mail/pear-Mail_mimeDecode

NO_INSTALL_MANPAGES=	yes

PEARDIR?=	${LOCALBASE}/share/pear
SUB_LIST+=	PKGNAME=${PKGNAME}
SUB_FILES=	pkg-message
NO_BUILD=	yes
USE_PHP=	sockets
WANT_PHP_WEB=	yes

OPTIONS=	MYSQL	"Use MySQL database storage/auth backend (default)"	On \
		PGSQL	"Use PostgreSQL database/auth storage backend"		Off \
		IMAP	"Use IMAP auth backend"					Off \
		LDAP	"Use LDAP auth backend"					Off

.include <bsd.port.pre.mk>

.if defined(WITH_MYSQL)
USE_PHP+=	mysql
.endif

.if defined(WITH_PGSQL)
USE_PHP+=	pgsql
.endif

.if defined(WITH_IMAP)
USE_PHP+=	imap
.endif

.if defined(WITH_LDAP)
USE_PHP+=	ldap
.endif

.if !defined(WITH_MYSQL) && !defined(WITH_PGSQL)
IGNORE=	you must choose a SQL storage backend with 'make config'
.endif

.if !defined(NOPORTDOCS)
PORTDOCS=	*
.endif

do-install:
	@@${INSTALL} -d -o ${WWWOWN} -g ${WWWGRP} -m 755 ${WWWDIR}
	@@${INSTALL_DATA} ${WRKSRC}/*.php* ${WRKSRC}/*.js* ${WRKSRC}/*.css* ${WWWDIR}
	@@cd ${WRKSRC} && ${COPYTREE_SHARE} "config contrib img lang lib templates" \
		${WWWDIR} "! -name *.orig"
	@@cd ${WRKSRC} && ${COPYTREE_BIN} scripts ${WWWDIR}

post-install:
.if !defined(NOPORTDOCS)
	@@${INSTALL} -d -o ${DOCOWN} -g ${DOCGRP} -m 555 ${DOCSDIR}
	@@${INSTALL_MAN} ${WRKSRC}/CHANGELOG ${WRKSRC}/README ${DOCSDIR}
	@@${INSTALL_MAN} ${WRKSRC}/docs/* ${DOCSDIR}
.endif
	@@${CHMOD} 644 ${WWWDIR}/config/config.php.sample
	@@${CAT} ${PKGMESSAGE}

.include <bsd.port.post.mk>
@


1.5
log
@- Chase security/libksba shlib version bump

Requested by:	kwm
Pointyhat to:	glarkin
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.4
log
@Add a patch to fix quarantine summary in overview. Also
make a note in pkg-message that PHP's short_open_tag
boolean should be true for proper operation of MailZu.
While here, remove MD5 checksum from distinfo.

Bump PORTREVISION as this affects the package.

PR:		ports/152540
Submitted by:	Michael Ranner <michael@@ranner.eu>
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.3
log
@- Update my MAINTAINER address to sahil@@FreeBSD.org
@
text
@d10 1
d67 2
a68 1
	@@cd ${WRKSRC} && ${COPYTREE_SHARE} "config contrib img lang lib templates" ${WWWDIR}
@


1.2
log
@- Switch SourceForge ports to the new File Release System: categories starting with P,R,S
@
text
@d14 1
a14 1
MAINTAINER=	sahil@@tandon.net
@


1.1
log
@MailZu is a simple and intuitive web interface to manage Amavisd-new
quarantine. Users can view their own quarantine, release/delete messages
or request the release of messages. MailZu is written in PHP and requires
Amavisd-new version greater than 2.3.0.

WWW: http://sourceforge.net/projects/mailzu/

PR:		ports/137197
Submitted by:	Sahil Tandon <sahil at tandon.net>
@
text
@d11 1
a11 1
MASTER_SITES=	SF
@

