freebsd-ports/mail/nocc/Makefile

46 lines
1.1 KiB
Makefile
Raw Normal View History

# 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
CATEGORIES= mail www
MASTER_SITES= SF/${PORTNAME}/NOCC/${PORTVERSION}
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
USE_PHP= iconv imap mbstring pcre session
WANT_PHP_WEB= yes
2006-04-20 22:16:24 +02:00
SUB_FILES= pkg-message
NO_BUILD= yes
2008-01-01 11:44:56 +01:00
NO_WRKSUBDIR= yes
2005-11-20 21:46:18 +01:00
PORTDOCS= *
do-install:
${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; \
fi
${CHOWN} -R www:www ${PREFIX}/www/nocc
.if !defined(NOPORTDOCS)
${INSTALL} -d -o ${DOCOWN} -g ${DOCGRP} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/docs/* ${DOCSDIR}
.endif
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>