1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/mail/nocc/Makefile
2008-07-02 06:06:23 +00:00

47 lines
1.1 KiB
Makefile

# 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
PORTVERSION= 1.6
CATEGORIES= mail www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ale@FreeBSD.org
COMMENT= A web-based e-mail system which access POP3 and IMAP mail servers
USE_PHP= iconv imap pcre session
WANT_PHP_WEB= yes
SUB_FILES= pkg-message
NO_BUILD= yes
NO_WRKSUBDIR= yes
PORTDOCS= *
do-install:
${MKDIR} ${PREFIX}/www/nocc
${CP} -Rp ${WRKSRC}/classes ${WRKSRC}/config ${WRKSRC}/fckeditor \
${WRKSRC}/html ${WRKSRC}/js ${WRKSRC}/lang ${WRKSRC}/themes \
${WRKSRC}/utils \
${PREFIX}/www/nocc
${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>