aboutsummaryrefslogtreecommitdiff
path: root/mail/nocc
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2013-07-11 08:11:51 +0000
committerAlex Dupre <ale@FreeBSD.org>2013-07-11 08:11:51 +0000
commite1ecf5a9e42348084cbf5b27426096a37f8c632c (patch)
treeb77f1f2962ad946f7319dcfc9af90911e2cfde82 /mail/nocc
parent5aec02a5df679eac498411ca593449b76b61a0be (diff)
downloadports-e1ecf5a9e42348084cbf5b27426096a37f8c632c.tar.gz
ports-e1ecf5a9e42348084cbf5b27426096a37f8c632c.zip
Add missing ctype dependency.
Submitted by: Andrea Venturoli <ml@netfence.it>
Notes
Notes: svn path=/head/; revision=322759
Diffstat (limited to 'mail/nocc')
-rw-r--r--mail/nocc/Makefile15
1 files changed, 8 insertions, 7 deletions
diff --git a/mail/nocc/Makefile b/mail/nocc/Makefile
index 9fbdf5c1dfef..3141adbc5928 100644
--- a/mail/nocc/Makefile
+++ b/mail/nocc/Makefile
@@ -1,19 +1,18 @@
-# New ports collection makefile for: nocc
-# Date created: Fri Feb 3 13:31:37 CET 2002
-# Whom: Alex Dupre <sysadmin@alexdupre.com>
-#
+# Created by: Alex Dupre <sysadmin@alexdupre.com>
# $FreeBSD$
-#
PORTNAME= nocc
PORTVERSION= 1.9.3
+PORTREVISION= 1
CATEGORIES= mail www
MASTER_SITES= SF/${PORTNAME}/NOCC/${PORTVERSION}
MAINTAINER= ale@FreeBSD.org
COMMENT= A webmail system which access POP3 and IMAP mail servers
-USE_PHP= iconv imap mbstring pcre session
+OPTIONS_DEFINE= DOCS
+
+USE_PHP= ctype iconv imap mbstring pcre session
WANT_PHP_WEB= yes
SUB_FILES= pkg-message
@@ -28,13 +27,15 @@ NOCCCOMP= .htaccess favicon.ico robots.txt \
PORTDOCS= *
+.include <bsd.port.options.mk>
+
do-install:
@${MKDIR} ${WWWDIR}
.for i in ${NOCCCOMP}
@cd ${WRKSRC} && ${COPYTREE_SHARE} ${i} ${WWWDIR}
.endfor
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/docs/* ${DOCSDIR}
.endif