head	1.9;
access;
symbols
	RELEASE_8_3_0:1.8
	RELEASE_9_0_0:1.8
	RELEASE_7_4_0:1.8
	RELEASE_8_2_0:1.8
	RELEASE_6_EOL:1.8
	RELEASE_8_1_0:1.8
	RELEASE_7_3_0:1.8
	RELEASE_8_0_0:1.8
	RELEASE_7_2_0:1.7
	RELEASE_7_1_0:1.6
	RELEASE_6_4_0:1.6
	RELEASE_5_EOL:1.5
	RELEASE_7_0_0:1.4
	RELEASE_6_3_0:1.4
	PRE_XORG_7:1.3
	RELEASE_4_EOL:1.2;
locks; strict;
comment	@# @;


1.9
date	2012.11.17.06.02.35;	author svnexp;	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.9
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/hastymail/Makefile 300897 2012-07-14 14:29:18Z beat $
#

PORTNAME=		hastymail
PORTVERSION=		1.5
PORTREVISION=		3
CATEGORIES=		www
MASTER_SITES=		SF/${PORTNAME}/OldFiles

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

WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
NO_BUILD=	yes
SUB_FILES=	pkg-message

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

WANT_PHP_WEB=	yes
USE_PHP=	session imap pcre

.include <bsd.port.pre.mk>

# 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

post-patch:
	@@${REINPLACE_CMD} -e "s,%%PREFIX%%,${PREFIX}," \
		${WRKSRC}/lib/constant.php

pre-install:
	@@${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}

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

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

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


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
@d5 1
a5 1
# $FreeBSD$
@


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

