head	1.15;
access;
symbols
	RELEASE_8_3_0:1.14
	RELEASE_9_0_0:1.14
	old_RELEASE_7_4_0:1.10
	old_RELEASE_8_2_0:1.10
	old_old_RELEASE_6_EOL:1.8
	old_old_RELEASE_8_1_0:1.8
	old_old_RELEASE_7_3_0:1.8
	old_old_RELEASE_8_0_0:1.8
	old_old_RELEASE_7_2_0:1.7
	old_old_RELEASE_7_1_0:1.6
	old_old_RELEASE_6_4_0:1.6
	old_old_RELEASE_5_EOL:1.5
	old_old_RELEASE_7_0_0:1.4
	old_old_RELEASE_6_3_0:1.4
	old_old_PRE_XORG_7:1.3
	old_old_RELEASE_4_EOL:1.2;
locks; strict;
comment	@# @;


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

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

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

1.12
date	2011.08.29.11.05.24;	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.15
log
@Switch exporter over
@
text
@# New ports collection makefile for:	hastymail
# Date created:		2006-11-04
# Whom:			Bartlomiej Rutkowski <r@@robakdesign.com>
#
# $FreeBSD: head/www/hastymail2-devel/Makefile 300897 2012-07-14 14:29:18Z beat $
#

PORTNAME=	hastymail2
PORTVERSION=	1.1.${HASTYMAIL_REV:S/.//g}
CATEGORIES=	www mail
MASTER_SITES=	http://files.bsdroot.lv/my/FreeBSD/distfiles/hastymail2-devel/
PKGNAMESUFFIX=	-devel
DISTNAME=	${PORTNAME}-devel-${HASTYMAIL_REV}

MAINTAINER=	graudeejs@@gmail.com
COMMENT=	Small, fast and secure yet powerful IMAP webmail

LICENSE=	GPLv2

NO_BUILD=	yes
SUB_FILES=	pkg-message

INSTALL_DIR?=	www/${PORTNAME}
PLIST=		${WRKDIR}/pkg-plist

WANT_PHP_WEB=	yes
USE_PHP=	session imap pcre

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

CONFLICTS=	hastymail2-1.[0-9]*

HASTYMAIL_REV=	2011.08.22

OPTIONS=	PGSQL	"Use PostgreSQL" off \
		MYSQL	"Use MySQL" off \
		DB	"Use older pear DB (instead of MDB2)" off

.include <bsd.port.pre.mk>

.if defined(WITH_MYSQL)
USE_MYSQL=	yes
.if !defined(WITH_DB)
RUN_DEPENDS+=	${LOCALBASE}/share/pear/MDB2/Driver/mysql.php:${PORTSDIR}/databases/pear-MDB2_Driver_mysql
.endif
.endif

.if defined(WITH_PGSQL)
USE_PGSQL=	yes
.if !defined(WITH_DB)
RUN_DEPENDS+=	${LOCALBASE}/share/pear/MDB2/Driver/pgsql.php:${PORTSDIR}/databases/pear-MDB2_Driver_pgsql
.endif
.endif

.if defined(WITH_DB) && (defined(WITH_MYSQL) || defined(WITH_PGSQL))
RUN_DEPENDS+=	${LOCALBASE}/share/pear/DB.php:${PORTSDIR}/databases/pear-DB
.endif

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

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

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

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

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


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


1.13
log
@New port www/hastymail2-devel.

This port tracks the latest in svn, once tested by the maintainer.

PR:		ports/159995
Submitted by:	Aldis Berjoza <aldis@@bsdroot.lv>
@
text
@d15 1
a15 1
MAINTAINER=	aldis@@bsdroot.lv
@


1.12
log
@Repocopied port: www/hastymail2 --> www/hastymail2-devel

PR:		ports/159995
Submitted by:	Aldis Berjoza <aldis@@bsdroot.lv> (maintainer)
Repocopied by:	marcus
@
text
@d9 1
a9 3
PORTVERSION=	1.1
PORTREVISION=	1
PORTEPOCH=	1
d11 3
a13 2
MASTER_SITES=	SF/hastymail/Hastymail2%20Stable%20Releases/Hastymail2%201.01/
DISTNAME=	hastymail2_${WIKEDVERSION}
d18 2
a22 2
LICENSE=	GPLv2

d29 1
a29 2
WIKEDVERSION=	1_01
WRKSRC=		${WRKDIR}/${PORTNAME}_${WIKEDVERSION}
d33 4
d62 1
a62 1
	@@${SED} -I.orig -e "s#'/etc/hastymail2/hastymail2.rc'#'${PREFIX}/etc/hastymail2/hastymail2.rc'#" \
d64 1
a64 1
	@@${SED} -I.orig -e "s# /etc/hastymail/hastyamil2.rc# ${PREFIX}/etc/hastymail2/hastyamil2.rc#" \
d70 1
a70 1
	@@${ECHO_CMD} etc/hastymail2/hastymail2.conf.sample >> ${PLIST}
d73 1
a73 1
	@@${ECHO_CMD} @@dirrmtry etc/hastymail2 >> ${PLIST}
d80 1
a80 1
	@@${MKDIR} ${PREFIX}/etc/hastymail2
d82 1
a82 1
		${PREFIX}/etc/hastymail2/hastymail2.conf.sample
@


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
@@


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}
@

