svn commit: r322759 - head/mail/nocc

Alex Dupre ale at FreeBSD.org
Thu Jul 11 08:11:51 UTC 2013


Author: ale
Date: Thu Jul 11 08:11:51 2013
New Revision: 322759
URL: http://svnweb.freebsd.org/changeset/ports/322759

Log:
  Add missing ctype dependency.
  
  Submitted by:	Andrea Venturoli <ml at netfence.it>

Modified:
  head/mail/nocc/Makefile

Modified: head/mail/nocc/Makefile
==============================================================================
--- head/mail/nocc/Makefile	Thu Jul 11 08:02:01 2013	(r322758)
+++ head/mail/nocc/Makefile	Thu Jul 11 08:11:51 2013	(r322759)
@@ -1,19 +1,18 @@
-# New ports collection makefile for:	nocc
-# Date created:		Fri Feb 3 13:31:37 CET 2002
-# Whom:			Alex Dupre <sysadmin at alexdupre.com>
-#
+# Created by: Alex Dupre <sysadmin at alexdupre.com>
 # $FreeBSD$
-#
 
 PORTNAME=	nocc
 PORTVERSION=	1.9.3
+PORTREVISION=	1
 CATEGORIES=	mail www
 MASTER_SITES=	SF/${PORTNAME}/NOCC/${PORTVERSION}
 
 MAINTAINER=	ale at 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.t
 
 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


More information about the svn-ports-all mailing list