2002-03-30 08:35:01 +01:00
|
|
|
# New ports collection makefile for: nocc
|
|
|
|
# Date created: Fri Feb 3 13:31:37 CET 2002
|
|
|
|
# Whom: Alex Dupre <sysadmin@alexdupre.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= nocc
|
2010-05-20 17:15:08 +02:00
|
|
|
PORTVERSION= 1.8.2
|
2002-03-30 08:35:01 +01:00
|
|
|
CATEGORIES= mail www
|
2009-08-22 02:28:34 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/NOCC/${PORTVERSION}
|
2002-03-30 08:35:01 +01:00
|
|
|
|
2004-01-18 11:50:15 +01:00
|
|
|
MAINTAINER= ale@FreeBSD.org
|
2003-02-21 13:51:06 +01:00
|
|
|
COMMENT= A web-based e-mail system which access POP3 and IMAP mail servers
|
2002-03-30 08:35:01 +01:00
|
|
|
|
2008-10-31 12:28:06 +01:00
|
|
|
USE_PHP= iconv imap mbstring pcre session
|
2004-01-29 10:43:09 +01:00
|
|
|
WANT_PHP_WEB= yes
|
2002-03-30 08:35:01 +01:00
|
|
|
|
2006-04-20 22:16:24 +02:00
|
|
|
SUB_FILES= pkg-message
|
2002-03-30 08:35:01 +01:00
|
|
|
NO_BUILD= yes
|
2008-01-01 11:44:56 +01:00
|
|
|
NO_WRKSUBDIR= yes
|
2002-03-30 08:35:01 +01:00
|
|
|
|
2005-11-20 21:46:18 +01:00
|
|
|
PORTDOCS= *
|
2002-05-24 03:46:01 +02:00
|
|
|
|
2002-03-30 08:35:01 +01:00
|
|
|
do-install:
|
2002-05-23 00:18:34 +02:00
|
|
|
${MKDIR} ${PREFIX}/www/nocc
|
2008-07-02 08:06:23 +02:00
|
|
|
${CP} -Rp ${WRKSRC}/classes ${WRKSRC}/config ${WRKSRC}/fckeditor \
|
|
|
|
${WRKSRC}/html ${WRKSRC}/js ${WRKSRC}/lang ${WRKSRC}/themes \
|
|
|
|
${WRKSRC}/utils \
|
2008-01-01 11:44:56 +01:00
|
|
|
${PREFIX}/www/nocc
|
2008-07-02 08:06:23 +02:00
|
|
|
${CP} -p ${WRKSRC}/*.php ${WRKSRC}/*.ico ${PREFIX}/www/nocc
|
|
|
|
@if [ ! -f ${PREFIX}/www/nocc/config/conf.php ]; then \
|
|
|
|
${CP} ${PREFIX}/www/nocc/config/conf.php.dist \
|
|
|
|
${PREFIX}/www/nocc/config/conf.php; \
|
2002-05-23 00:18:34 +02:00
|
|
|
fi
|
|
|
|
${CHOWN} -R www:www ${PREFIX}/www/nocc
|
2002-03-30 08:35:01 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${INSTALL} -d -o ${DOCOWN} -g ${DOCGRP} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/docs/* ${DOCSDIR}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-install:
|
2002-05-24 03:46:01 +02:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
2002-03-30 08:35:01 +01:00
|
|
|
|
2004-02-09 12:43:38 +01:00
|
|
|
.include <bsd.port.mk>
|