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
|
2005-10-06 17:02:59 +02:00
|
|
|
PORTVERSION= 0.9.7
|
2005-10-07 21:18:26 +02:00
|
|
|
PORTREVISION= 1
|
2002-03-30 08:35:01 +01:00
|
|
|
CATEGORIES= mail www
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2004-07-19 14:32:10 +02:00
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.r/RC/}
|
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
|
|
|
|
2005-10-07 21:18:26 +02:00
|
|
|
USE_PHP= imap pcre session
|
2004-01-29 10:43:09 +01:00
|
|
|
WANT_PHP_WEB= yes
|
2002-03-30 08:35:01 +01:00
|
|
|
|
2002-05-24 03:46:01 +02:00
|
|
|
PKGMESSAGE= ${WRKDIR}/pkg-message
|
2005-10-06 17:02:59 +02:00
|
|
|
WRKSRC= ${WRKDIR}
|
2002-03-30 08:35:01 +01:00
|
|
|
NO_BUILD= yes
|
|
|
|
|
2002-05-24 03:46:01 +02:00
|
|
|
pre-patch:
|
|
|
|
@${SED} 's|%%PREFIX%%|${PREFIX}|g' \
|
2004-01-29 10:43:09 +01:00
|
|
|
${PKGDIR}/pkg-message > ${PKGMESSAGE}
|
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
|
2002-03-30 08:35:01 +01:00
|
|
|
${CP} -Rp ${WRKSRC}/html ${WRKSRC}/lang ${WRKSRC}/themes \
|
2002-05-23 00:18:34 +02:00
|
|
|
${PREFIX}/www/nocc
|
|
|
|
${CP} -p ${WRKSRC}/*.php ${PREFIX}/www/nocc
|
|
|
|
${CP} -p ${WRKSRC}/conf.php.dist ${PREFIX}/www/nocc
|
|
|
|
@if [ ! -f ${PREFIX}/www/nocc/conf.php ]; then \
|
|
|
|
${CP} ${PREFIX}/www/nocc/conf.php.dist \
|
|
|
|
${PREFIX}/www/nocc/conf.php; \
|
|
|
|
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>
|