head	1.17;
access;
symbols
	RELEASE_8_3_0:1.13
	RELEASE_9_0_0:1.13
	RELEASE_7_4_0:1.10
	RELEASE_8_2_0:1.10
	old_RELEASE_6_EOL:1.8
	old_RELEASE_8_1_0:1.8
	old_RELEASE_7_3_0:1.8
	old_RELEASE_8_0_0:1.8
	old_RELEASE_7_2_0:1.7
	old_RELEASE_7_1_0:1.6
	old_RELEASE_6_4_0:1.6
	old_RELEASE_5_EOL:1.5
	old_RELEASE_7_0_0:1.4
	old_RELEASE_6_3_0:1.4
	old_PRE_XORG_7:1.3
	old_RELEASE_4_EOL:1.2;
locks; strict;
comment	@# @;


1.17
date	2012.12.19.16.48.04;	author svnexp;	state Exp;
branches;
next	1.16;

1.16
date	2012.12.17.21.39.40;	author svnexp;	state Exp;
branches;
next	1.15;

1.15
date	2012.12.13.19.09.16;	author svnexp;	state Exp;
branches;
next	1.14;

1.14
date	2012.11.17.06.02.35;	author svnexp;	state Exp;
branches;
next	1.13;

1.13
date	2011.09.17.08.42.11;	author crees;	state Exp;
branches;
next	1.12;

1.12
date	2011.08.29.11.02.57;	author crees;	state Exp;
branches;
next	1.11;

1.11
date	2011.06.22.16.01.24;	author crees;	state Exp;
branches;
next	1.10;

1.10
date	2010.12.16.23.05.48;	author beech;	state Exp;
branches;
next	1.9;

1.9
date	2010.12.16.21.06.49;	author beech;	state Exp;
branches;
next	1.8;

1.8
date	2009.09.02.15.01.54;	author amdmi3;	state Exp;
branches;
next	1.7;

1.7
date	2009.01.07.16.21.21;	author rafan;	state Exp;
branches;
next	1.6;

1.6
date	2008.09.03.03.37.20;	author linimon;	state Exp;
branches;
next	1.5;

1.5
date	2007.12.11.20.17.36;	author edwin;	state Exp;
branches;
next	1.4;

1.4
date	2007.06.11.14.38.55;	author rafan;	state Exp;
branches;
next	1.3;

1.3
date	2007.03.24.16.43.27;	author pav;	state Exp;
branches;
next	1.2;

1.2
date	2006.11.21.19.32.08;	author miwi;	state Exp;
branches;
next	1.1;

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


desc
@@


1.17
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/309249
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r309249 | rene | 2012-12-19 16:45:09 +0000 (Wed, 19 Dec 2012) | 3 lines
## SVN ##
## SVN ## - Convert to optionsNG
## SVN ## - Strip Makefile header
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@# Created by: Bartlomiej Rutkowski <r@@robakdesign.com>
# $FreeBSD: head/www/hastymail2/Makefile 309249 2012-12-19 16:45:09Z rene $

PORTNAME=	hastymail2
PORTVERSION=	1.1
PORTREVISION=	2
PORTEPOCH=	1
CATEGORIES=	www mail
MASTER_SITES=	SF/hastymail/Hastymail2%20Stable%20Releases/Hastymail2%201.1/
DISTNAME=	hastymail2_${WIKEDVERSION}

MAINTAINER=	ports@@FreeBSD.org
COMMENT=	Small, fast and secure yet powerful IMAP webmail

LICENSE=	GPLv2

NO_BUILD=	yes
SUB_FILES=	pkg-message

CONFLICTS=	hastymail-* hastymail2-devel-*

PLIST=		${WRKDIR}/pkg-plist

WANT_PHP_WEB=	yes
USE_PHP=	ctype pcre session xml

WIKEDVERSION=	1_1
WRKSRC=		${WRKDIR}/${PORTNAME}_${WIKEDVERSION}
NO_BUILD=	yes
FIND_SKIP_OPTS=	-not -name hastymail2.conf.example -not -name '*.orig'

OPTIONS_DEFINE=	PGSQL MYSQL DB ICONV MBSTRING

DB_DESC=	Use older pear DB (instead of MDB2)
MBSTRING_DESC=	Support multi-byte character sets

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MMYSQL}
USE_MYSQL=	yes
.if ! ${PORT_OPTIONS:MDB}
RUN_DEPENDS+=	${LOCALBASE}/share/pear/MDB2/Driver/mysql.php:${PORTSDIR}/databases/pear-MDB2_Driver_mysql
.endif
.endif

.if ${PORT_OPTIONS:MPGSQL}
USE_PGSQL=	yes
.if ! ${PORT_OPTIONS:MDB}
RUN_DEPENDS+=	${LOCALBASE}/share/pear/MDB2/Driver/pgsql.php:${PORTSDIR}/databases/pear-MDB2_Driver_pgsql
.endif
.endif

.if ${PORT_OPTIONS:MDB} && (${PORT_OPTIONS:MMYSQL} || ${PORT_OPTIONS:MPGSQL})
RUN_DEPENDS+=	${LOCALBASE}/share/pear/DB.php:${PORTSDIR}/databases/pear-DB
.endif

.if ${PORT_OPTIONS:MICONV}
USE_PHP+=	iconv
.endif

.if ${PORT_OPTIONS:MMBSTRING}
USE_PHP+=	mbstring
.endif

post-patch:
	@@${SED} -I.orig -e "s#'/etc/hastymail2/hastymail2.rc'#'${PREFIX}/etc/hastymail2/hastymail2.rc'#" \
		${WRKSRC}/index.php
	@@${SED} -I.orig -e "s# /etc/hastymail/hastyamil2.rc# ${PREFIX}/etc/hastymail2/hastyamil2.rc#" \
		${WRKSRC}/hastymail2.conf.example

pre-install:
	@@${FIND} -s -d ${WRKSRC}/ -type f ${FIND_SKIP_OPTS} \
		| ${SED} "s#${WRKSRC}#${WWWDIR_REL}#g" > ${PLIST}
	@@${ECHO_CMD} etc/hastymail2/hastymail2.conf.sample >> ${PLIST}
	@@${FIND} -s -d ${WRKSRC}/ -type d ${FIND_SKIP_OPTS} \
		| ${SED} "s#${WRKSRC}#@@dirrm ${WWWDIR_REL}#g" >> ${PLIST}
	@@${ECHO_CMD} @@dirrmtry etc/hastymail2 >> ${PLIST}

do-install:
	@@${MKDIR} ${WWWDIR}
	@@cd ${WRKSRC} && ${FIND} . ${FIND_SKIP_OPTS} \
		| ${PAX} -rwd ${WWWDIR}
	@@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
	@@${MKDIR} ${PREFIX}/etc/hastymail2
	@@${INSTALL_DATA} ${WRKSRC}/hastymail2.conf.example \
		${PREFIX}/etc/hastymail2/hastymail2.conf.sample

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

.include <bsd.port.mk>
@


1.16
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/309131
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r309131 | wxs | 2012-12-17 21:34:09 +0000 (Mon, 17 Dec 2012) | 4 lines
## SVN ##
## SVN ## Reset maintainer per request.
## SVN ##
## SVN ## Approved by:	maintainer
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d1 2
a2 6
# New ports collection makefile for:	hastymail
# Date created:		2006-11-04
# Whom:			Bartlomiej Rutkowski <r@@robakdesign.com>
#
# $FreeBSD: head/www/hastymail2/Makefile 309131 2012-12-17 21:34:09Z wxs $
#
d20 1
a20 1
CONFLICTS=      hastymail-* hastymail2-devel-*
d32 1
a32 5
OPTIONS=	PGSQL	"Use PostgreSQL" off \
		MYSQL	"Use MySQL" off \
		DB	"Use older pear DB (instead of MDB2)" off \
		ICONV	"Support character set conversion" off \
		MBSTRING "Support multi-byte character sets" off
d34 2
a35 1
.include <bsd.port.pre.mk>
d37 3
a39 1
.if defined(WITH_MYSQL)
d41 1
a41 1
.if !defined(WITH_DB)
d46 1
a46 1
.if defined(WITH_PGSQL)
d48 1
a48 1
.if !defined(WITH_DB)
d53 1
a53 1
.if defined(WITH_DB) && (defined(WITH_MYSQL) || defined(WITH_PGSQL))
d57 1
a57 1
.if defined(WITH_ICONV)
d61 1
a61 1
.if defined(WITH_MBSTRING)
d91 1
a91 1
.include <bsd.port.post.mk>
@


1.15
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/308867
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r308867 | beech | 2012-12-13 19:04:56 +0000 (Thu, 13 Dec 2012) | 9 lines
## SVN ##
## SVN ## - Update to 1.1 final.
## SVN ## - Security vulnerabilities are fixed in this version.
## SVN ## - Addresses the concerns on Report #165549 which was closed
## SVN ##   because no patch was forthcoming.
## SVN ##
## SVN ## PR:		ports/172929
## SVN ## Submitted by:	Neil Darlow <neil@@darlow.co.uk>
## SVN ## Approved by:	Maintainer timeout (> Two Weeks)
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d5 1
a5 1
# $FreeBSD: head/www/hastymail2/Makefile 308867 2012-12-13 19:04:56Z beech $
d16 1
a16 1
MAINTAINER=	graudeejs@@gmail.com
@


1.14
log
@Switch exporter over
@
text
@d5 1
a5 1
# $FreeBSD: head/www/hastymail2/Makefile 300897 2012-07-14 14:29:18Z beat $
d10 1
a10 1
PORTREVISION=	1
d13 1
a13 1
MASTER_SITES=	SF/hastymail/Hastymail2%20Stable%20Releases/Hastymail2%201.01/
d24 1
a24 1
CONFLICTS=      hastymail2-devel-1.[0-9]*
a25 1
INSTALL_DIR?=	www/${PORTNAME}
d29 1
a29 1
USE_PHP=	session imap pcre
d31 1
a31 1
WIKEDVERSION=	1_01
d38 3
a40 1
		DB	"Use older pear DB (instead of MDB2)" off
d62 8
d78 1
a78 1
		| ${SED} "s#${WRKSRC}#${INSTALL_DIR}#g" > ${PLIST}
d81 1
a81 1
		| ${SED} "s#${WRKSRC}#@@dirrm ${INSTALL_DIR}#g" >> ${PLIST}
d85 1
a85 1
	@@${MKDIR} ${PREFIX}/${INSTALL_DIR}
d87 2
a88 2
		| ${PAX} -rwd ${PREFIX}/${INSTALL_DIR}
	@@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${INSTALL_DIR}
@


1.13
log
@Update email address for ports maintained by aldis@@bsdroot.lv --> graudeejs@@gmail.com
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.12
log
@- Add CONFLICTS on new hastymail2-devel port
- While here, move LICENSE section to make portlint happy

PR:		ports/159995
@
text
@d16 1
a16 1
MAINTAINER=	aldis@@bsdroot.lv
@


1.11
log
@- Add OPTIONS for database dependencies
- Remove redundant and incorrect WRKSRC line
- Correct typo in LICENSE
- Use redist version in DISTNAME

PR:		ports/153379
Submitted by:	Aldis Berjoza <aldis@@bsdroot.lv>
Approved by:	rene (mentor)
@
text
@d19 2
d24 1
a24 1
LICENSE=	GPLv2
@


1.10
log
@Hastymail2 is a full featured IMAP/SMTP client written in PHP. Our goal is to
create a fast, secure, compliant web mail client that has great usability.
Hastymail2 is much more lightweight than most popular web based mail
applications but still maintains a competitive feature set. The project
originated as Hastymail in 2002, then was nearly completely rewritten as
Hastymail2 starting in January of 2008. We are very near our first stable
release of the second generation of Hastymail and development continues to be
active.

Pass maintainership to submitter.

PR:		ports/152632
Submitted by:	Aldis Berjoza (aldis@@bsdroot.lv)
Approved by:	itetcu (mentor) (implicit)
@
text
@d10 1
d14 1
a14 1
DISTNAME=	hastymail2_1_01
a18 1
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
d22 1
a22 1
LICSENSE=	GPLv2
d25 1
a25 1
PLIST=          ${WRKDIR}/pkg-plist
d35 4
d41 18
@


1.9
log
@Forced commit after repocopy.

PR:		ports/152632
Submitted by:	Aldis Berjoza (aldis@@bsdroot.lv)
Approved by:	itetcu (mentor) (implicit)
@
text
@d8 6
a13 5
PORTNAME=		hastymail
PORTVERSION=		1.5
PORTREVISION=		3
CATEGORIES=		www
MASTER_SITES=		SF/${PORTNAME}/OldFiles
d15 1
a15 1
MAINTAINER=	ports@@FreeBSD.org
d22 2
d25 1
a25 1
PLIST=		${WRKDIR}/pkg-plist
d30 5
a36 4
# Don't install automatically CVS directories, patched files and the default config file.
FIND_SKIP_OPTS=	-not -name hastymail.conf-example -not -name '*.orig' \
		-not -name '*.bak' -not -path '*/CVS/*' -not -name CVS

d38 4
a41 2
	@@${REINPLACE_CMD} -e "s,%%PREFIX%%,${PREFIX}," \
		${WRKSRC}/lib/constant.php
d44 6
a49 5
	@@${FIND} -s -d ${WRKSRC}/ -type f ${FIND_SKIP_OPTS} | \
		${SED} "s?${WRKSRC}?${INSTALL_DIR}?g" >${PLIST}
	@@${FIND} -s -d ${WRKSRC}/ -type d ${FIND_SKIP_OPTS} | \
		${SED} "s?${WRKSRC}?@@dirrm ${INSTALL_DIR}?g" >> ${PLIST}
	@@${ECHO_CMD} etc/hastymail.conf.sample >> ${PLIST}
d53 2
a54 2
	@@cd ${WRKSRC} && ${FIND} . ${FIND_SKIP_OPTS} | \
		${PAX} -rwd ${PREFIX}/${INSTALL_DIR}
d56 3
a58 2
	@@${INSTALL_DATA} ${WRKSRC}/hastymail.conf-example \
		${PREFIX}/etc/hastymail.conf.sample
@


1.8
log
@- Retire MASTER_SITE_SOURCEFORGE_EXTENDED, it's no longer needed - all mirrors actually have all distfiles
- Merge all SF mirrors to MASTER_SITE_SOURCEFORGE, resort according to quick download speed survey
- Fix MASTER_SITES for all port that have used SOURCEFORGE_EXTENTED

Approved by:	portmgr (pav)
@
text
@@


1.7
log
@- Correctly put patch file under files

Pointy hat to:	rafan
Noticed by:	pav
@
text
@d12 1
a12 2
MASTER_SITES=		${MASTER_SITE_SOURCEFORGE_EXTENDED}
MASTER_SITE_SUBDIR=	hastymail
@


1.6
log
@Reset r@@robakdesign.com due to maintainer-timeouts and no response to email.

Hat:	portmgr
@
text
@d10 1
a10 1
PORTREVISION=		2
@


1.5
log
@www/hastymail requires extra php modules

	Expand USE_PHP with pcre

PR:		ports/116798
Submitted by:	Edwin Groothuis <edwin@@mavetju.org>
Approved by:	maintainer timeout
@
text
@d15 1
a15 1
MAINTAINER=	r@@robakdesign.com
@


1.4
log
@- Don't install CVS directory, backup files, .orig files
- Correct configuration file path
- Add '-d' to pax to make it not traverse directories
- Style cleanup
- Bump PORTREVISION

PR:		ports/113480
Submitted by:	Jan Srzednicki <w at wrzask.pl>
Approved by:	Bartek Rutkowski <r at robakdesign.com>
@
text
@d26 1
a26 1
USE_PHP=	session imap
@


1.3
log
@- WWWOWN and WWWGRP are defined in bsd.port.mk
@
text
@d10 1
a10 1
PORTREVISION=		1
d30 8
d39 5
a43 2
		@@${FIND} -s -d ${WRKSRC}/ -type f | ${SED} "s?${WRKSRC}?${INSTALL_DIR}?g" >${PLIST}
		@@${FIND} -s -d ${WRKSRC}/ -type d  | ${SED} "s?${WRKSRC}?@@dirrm ${INSTALL_DIR}?g" >> ${PLIST}
d46 6
a51 3
		@@${MKDIR} ${PREFIX}/${INSTALL_DIR}
		@@cd ${WRKSRC} && ${FIND} . | ${PAX} -rw ${PREFIX}/${INSTALL_DIR}
		@@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${INSTALL_DIR}
d54 1
a54 1
		@@${CAT} ${PKGMESSAGE}
@


1.2
log
@- Fix pkg-plist
- Switch from www/data/ to www/

Please Read the UPDATING.

Submitted by:   pointyhat via kris
@
text
@a21 2
WWWOWN?=	www
WWWGRP?=	www
@


1.1
log
@Hastymail is a streamlined, secure, fast web based IMAP client written
in PHP. Hastymail is designed to have low server requirements and follow
internet standards for MIME, IMAP and SMTP communications. Hastymail is also
designed to work with all the major and not so major web browsers available.
Hastymail does not use frames, javascript, or cookies and all output is 100%
W3C compliant 4.01 transitional HTML.

WWW:	http://hastymail.sourceforge.net/

PR:		ports/105646
Submitted by:	Bartlomiej Rutkowski <r at robakdesign.com>
@
text
@d10 1
d24 2
a25 1
INSTALL_DIR?=	www/data/${PORTNAME}
@

