Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Dec 2012 16:13:58 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r308538 - head/devel/p5-Log-Dispatch
Message-ID:  <201212091613.qB9GDw5I081634@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sun Dec  9 16:13:57 2012
New Revision: 308538
URL: http://svnweb.freebsd.org/changeset/ports/308538

Log:
  - Update to 2.34
  - Restore 'Created by:' Makefile header
  - Move OPTIONS_* and *_DESC upward
  - Remove unnecessary EMAIL_ prefix from options
  - Move option handlers to the section after .include <bsd.port.options.mk>
    No need to put APACHE_PKGNAMEPREFIX after bsd.port.pre.mk
  - Space/Tab twiddle
  
  Changes:	http://search.cpan.org/dist/Log-Dispatch/Changes

Modified:
  head/devel/p5-Log-Dispatch/Makefile   (contents, props changed)
  head/devel/p5-Log-Dispatch/distinfo   (contents, props changed)

Modified: head/devel/p5-Log-Dispatch/Makefile
==============================================================================
--- head/devel/p5-Log-Dispatch/Makefile	Sun Dec  9 16:12:23 2012	(r308537)
+++ head/devel/p5-Log-Dispatch/Makefile	Sun Dec  9 16:13:57 2012	(r308538)
@@ -1,7 +1,8 @@
+# Created by: Anton Berezin <tobez@tobez.org>
 # $FreeBSD$
 
 PORTNAME=	Log-Dispatch
-PORTVERSION=	2.32
+PORTVERSION=	2.34
 CATEGORIES=	devel perl5
 MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
@@ -15,68 +16,61 @@ BUILD_DEPENDS=	p5-Class-Load>=0:${PORTSD
 		p5-Params-Validate>=0.15:${PORTSDIR}/devel/p5-Params-Validate
 RUN_DEPENDS:=	${BUILD_DEPENDS}
 
+OPTIONS_DEFINE=	APACHELOG MIMELITE MAILSEND MAILSENDER MAILSENDMAIL DOCS
+OPTIONS_DEFAULT=	MAILSENDMAIL
+APACHELOG_DESC=		Apache::Log support
+MIMELITE_DESC=		MIME::Lite support
+MAILSEND_DESC=		Mail::Send support
+MAILSENDER_DESC=	Mail::Sender support
+MAILSENDMAIL_DESC=	Mail::Sendmail support
+
 PERL_CONFIGURE=	yes
 
-MAN3=	Log::Dispatch.3 \
-	Log::Dispatch::ApacheLog.3 \
-	Log::Dispatch::Base.3 \
-	Log::Dispatch::Email.3 \
-	Log::Dispatch::Email::MIMELite.3 \
-	Log::Dispatch::Email::MailSend.3 \
-	Log::Dispatch::Email::MailSender.3 \
-	Log::Dispatch::Email::MailSendmail.3 \
-	Log::Dispatch::File.3 \
-	Log::Dispatch::File::Locked.3 \
-	Log::Dispatch::Handle.3 \
-	Log::Dispatch::Null.3 \
-	Log::Dispatch::Output.3 \
-	Log::Dispatch::Screen.3 \
-	Log::Dispatch::Syslog.3
-
-OPTIONS_DEFINE=	APACHELOG EMAIL_MIMELITE EMAIL_MAILSEND EMAIL_MAILSENDMAIL MAIL_SENDER DOCS
-OPTIONS_DEFAULT=	EMAIL_MAILSENDMAIL
-
-APACHELOG_DESC=			Apache::Log support
-EMAIL_MIMELITE_DESC=		MIME::Lite support
-EMAIL_MAILSEND_DESC=		Mail::Send support
-EMAIL_MAILSENDMAIL_DESC=	Mail::Sendmail support
-MAIL_SENDER_DESC=		Mail::Sender support
+MAN3=		Log::Dispatch.3 \
+		Log::Dispatch::ApacheLog.3 \
+		Log::Dispatch::Base.3 \
+		Log::Dispatch::Email.3 \
+		Log::Dispatch::Email::MIMELite.3 \
+		Log::Dispatch::Email::MailSend.3 \
+		Log::Dispatch::Email::MailSender.3 \
+		Log::Dispatch::Email::MailSendmail.3 \
+		Log::Dispatch::File.3 \
+		Log::Dispatch::File::Locked.3 \
+		Log::Dispatch::Handle.3 \
+		Log::Dispatch::Null.3 \
+		Log::Dispatch::Output.3 \
+		Log::Dispatch::Screen.3 \
+		Log::Dispatch::Syslog.3
+PORTDOCS=	Changes README
 
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MAPACHELOG}
-USE_APACHE_RUN=	22+
-.endif
-
-.include <bsd.port.pre.mk>
-
-.if ${PORT_OPTIONS:MAPACHELOG}
 RUN_DEPENDS+=	${APACHE_PKGNAMEPREFIX}mod_perl2>=0:${PORTSDIR}/www/mod_perl2
+USE_APACHE_RUN=	22+
 .endif
 
-.if ${PORT_OPTIONS:MEMAIL_MIMELITE}
+.if ${PORT_OPTIONS:MMIMELITE}
 RUN_DEPENDS+=	p5-MIME-Lite>=0:${PORTSDIR}/mail/p5-MIME-Lite
 .endif
 
-.if ${PORT_OPTIONS:MEMAIL_MAILSEND}
+.if ${PORT_OPTIONS:MMAILSEND}
 RUN_DEPENDS+=	p5-Mail-Tools>=0:${PORTSDIR}/mail/p5-Mail-Tools
 .endif
 
-.if ${PORT_OPTIONS:MEMAIL_MAILSENDMAIL}
-RUN_DEPENDS+=	p5-Mail-Sendmail>=0:${PORTSDIR}/mail/p5-Mail-Sendmail
-.endif
-
-.if ${PORT_OPTIONS:MMAIL_SENDER}
+.if ${PORT_OPTIONS:MMAILSENDER}
 RUN_DEPENDS+=	p5-Mail-Sender>=0:${PORTSDIR}/mail/p5-Mail-Sender
 .endif
 
-.if ${PORT_OPTIONS:MDOCS}
-PORTDOCS=	Changes README
+.if ${PORT_OPTIONS:MMAILSENDMAIL}
+RUN_DEPENDS+=	p5-Mail-Sendmail>=0:${PORTSDIR}/mail/p5-Mail-Sendmail
+.endif
 
 post-install:
+.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}
 	@${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
 	@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
 .endif
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/devel/p5-Log-Dispatch/distinfo
==============================================================================
--- head/devel/p5-Log-Dispatch/distinfo	Sun Dec  9 16:12:23 2012	(r308537)
+++ head/devel/p5-Log-Dispatch/distinfo	Sun Dec  9 16:13:57 2012	(r308538)
@@ -1,2 +1,2 @@
-SHA256 (Log-Dispatch-2.32.tar.gz) = 10b2ec37dbd036c552918e3110b3e601e8b3bd003476854c07f25c1991463ef1
-SIZE (Log-Dispatch-2.32.tar.gz) = 31910
+SHA256 (Log-Dispatch-2.34.tar.gz) = c10defe17c1c3deb5dbc225797d4bf947ad706ccb403c9f4c9f629177e123f99
+SIZE (Log-Dispatch-2.34.tar.gz) = 32273



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212091613.qB9GDw5I081634>