aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2012-12-10 00:13:57 +0800
committersunpoet <sunpoet@FreeBSD.org>2012-12-10 00:13:57 +0800
commit1f568c3f9286d9ba2db311ecddcf5942c59b5ea3 (patch)
tree8638a9ef7ff038a6ab8862fc61503ad7c665cf7e /devel
parentcb10afbc9813f307ebd224c4af82c040142d1bfb (diff)
downloadfreebsd-ports-gnome-1f568c3f9286d9ba2db311ecddcf5942c59b5ea3.tar.gz
freebsd-ports-gnome-1f568c3f9286d9ba2db311ecddcf5942c59b5ea3.tar.zst
freebsd-ports-gnome-1f568c3f9286d9ba2db311ecddcf5942c59b5ea3.zip
- 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
Diffstat (limited to 'devel')
-rw-r--r--devel/p5-Log-Dispatch/Makefile76
-rw-r--r--devel/p5-Log-Dispatch/distinfo4
2 files changed, 37 insertions, 43 deletions
diff --git a/devel/p5-Log-Dispatch/Makefile b/devel/p5-Log-Dispatch/Makefile
index 9752d54fc922..b5153b71f66c 100644
--- a/devel/p5-Log-Dispatch/Makefile
+++ b/devel/p5-Log-Dispatch/Makefile
@@ -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:${PORTSDIR}/devel/p5-Class-Load \
p5-Params-Validate>=0.15:${PORTSDIR}/devel/p5-Params-Validate
RUN_DEPENDS:= ${BUILD_DEPENDS}
-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 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
-OPTIONS_DEFINE= APACHELOG EMAIL_MIMELITE EMAIL_MAILSEND EMAIL_MAILSENDMAIL MAIL_SENDER DOCS
-OPTIONS_DEFAULT= EMAIL_MAILSENDMAIL
+PERL_CONFIGURE= yes
-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>
diff --git a/devel/p5-Log-Dispatch/distinfo b/devel/p5-Log-Dispatch/distinfo
index 302a48def798..fd6f980ff943 100644
--- a/devel/p5-Log-Dispatch/distinfo
+++ b/devel/p5-Log-Dispatch/distinfo
@@ -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