2013-07-11 10:11:51 +02:00
|
|
|
# Created by: Alex Dupre <sysadmin@alexdupre.com>
|
2002-03-30 08:35:01 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= nocc
|
2012-06-18 09:51:07 +02:00
|
|
|
PORTVERSION= 1.9.3
|
2013-07-11 10:11:51 +02:00
|
|
|
PORTREVISION= 1
|
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
|
2012-04-03 12:22:50 +02:00
|
|
|
COMMENT= A webmail system which access POP3 and IMAP mail servers
|
2002-03-30 08:35:01 +01:00
|
|
|
|
2013-07-11 10:11:51 +02:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
|
|
|
USE_PHP= ctype 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
|
|
|
|
2012-04-03 12:22:50 +02:00
|
|
|
NOCCCOMP= .htaccess favicon.ico robots.txt \
|
|
|
|
action.php common.php contacts.php contacts_manager.php \
|
|
|
|
delete.php down_mail.php download.php get_img.php \
|
|
|
|
help.php index.php logout.php rss.php send.php \
|
|
|
|
ckeditor classes config html js lang themes utils
|
|
|
|
|
2005-11-20 21:46:18 +01:00
|
|
|
PORTDOCS= *
|
2002-05-24 03:46:01 +02:00
|
|
|
|
2013-07-11 10:11:51 +02:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
2002-03-30 08:35:01 +01:00
|
|
|
do-install:
|
2012-04-03 12:22:50 +02:00
|
|
|
@${MKDIR} ${WWWDIR}
|
|
|
|
.for i in ${NOCCCOMP}
|
|
|
|
@cd ${WRKSRC} && ${COPYTREE_SHARE} ${i} ${WWWDIR}
|
|
|
|
.endfor
|
|
|
|
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
|
2013-07-11 10:11:51 +02:00
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
2012-04-03 12:22:50 +02:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/docs/* ${DOCSDIR}
|
2002-03-30 08:35:01 +01:00
|
|
|
.endif
|
2012-04-03 12:22:50 +02:00
|
|
|
@(cd ${WRKSRC}; ${FIND} ${NOCCCOMP} -not -type d) | ${SORT} | \
|
|
|
|
${SED} -ne 's,^,${WWWDIR_REL}/,p' >> ${TMPPLIST}
|
|
|
|
@(cd ${WRKSRC}; ${FIND} ${NOCCCOMP} -type d) | ${SORT} -r | \
|
|
|
|
${SED} -ne 's,^,@dirrm ${WWWDIR_REL}/,p' >> ${TMPPLIST}
|
|
|
|
@${ECHO_CMD} '@dirrm ${WWWDIR_REL}' >> ${TMPPLIST}
|
2002-03-30 08:35:01 +01:00
|
|
|
|
|
|
|
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>
|