aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authoraaron <aaron@FreeBSD.org>2006-05-27 02:28:08 +0800
committeraaron <aaron@FreeBSD.org>2006-05-27 02:28:08 +0800
commitc3bd81b501df24a7427fcb731f6c88767920670b (patch)
treef8e40fc6b39ab2f5bdc8f2b475c1033a3e8219f7 /textproc
parent104a8af04e716a645b5b0378aa0410576ac44a72 (diff)
downloadfreebsd-ports-gnome-c3bd81b501df24a7427fcb731f6c88767920670b.tar.gz
freebsd-ports-gnome-c3bd81b501df24a7427fcb731f6c88767920670b.tar.zst
freebsd-ports-gnome-c3bd81b501df24a7427fcb731f6c88767920670b.zip
Adding port textproc/p5-Petal-Mail, Format text e-mail using Petal.
Approved by: tobez (implicit)
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/p5-Petal-Mail/Makefile32
-rw-r--r--textproc/p5-Petal-Mail/distinfo3
-rw-r--r--textproc/p5-Petal-Mail/pkg-descr9
-rw-r--r--textproc/p5-Petal-Mail/pkg-plist6
5 files changed, 51 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index db44a7bb29f4..7cd7472b95d2 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -384,6 +384,7 @@
SUBDIR += p5-PerlPoint-Package
SUBDIR += p5-Petal
SUBDIR += p5-Petal-CodePerl
+ SUBDIR += p5-Petal-Mail
SUBDIR += p5-Plucene
SUBDIR += p5-Plucene-Plugin-Analyzer-SnowballAnalyzer
SUBDIR += p5-Pod-Constants
diff --git a/textproc/p5-Petal-Mail/Makefile b/textproc/p5-Petal-Mail/Makefile
new file mode 100644
index 000000000000..d4da873fa550
--- /dev/null
+++ b/textproc/p5-Petal-Mail/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: p5-Petal-Mail
+# Date created: 26 May 2006
+# Whom: Aaron Dalton <aaron@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Petal-Mail
+PORTVERSION= 0.31
+CATEGORIES= textproc perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= ../../authors/id/B/BP/BPOSTLE
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= aaron@FreeBSD.org
+COMMENT= Format text e-mail using Petal
+
+BUILD_DEPENDS= ${SITE_PERL}/Petal.pm:${PORTSDIR}/textproc/p5-Petal \
+ ${SITE_PERL}/${PERL_ARCH}/Encode.pm:${PORTSDIR}/devel/p5-Encode
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+MAN3= Petal::Mail.3
+
+PERL_CONFIGURE= yes
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500703
+IGNORE= requires at least Perl 5.7.3 due to dependencies. Please install lang/perl5.8 and try again
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/textproc/p5-Petal-Mail/distinfo b/textproc/p5-Petal-Mail/distinfo
new file mode 100644
index 000000000000..a1a4f8831050
--- /dev/null
+++ b/textproc/p5-Petal-Mail/distinfo
@@ -0,0 +1,3 @@
+MD5 (Petal-Mail-0.31.tar.gz) = 16c56abfef21499d7f9c3f374f1e41e7
+SHA256 (Petal-Mail-0.31.tar.gz) = 5012346850284189e6f59948c88715443ef0b6b72ae258d1295e95a8c0feccd1
+SIZE (Petal-Mail-0.31.tar.gz) = 7567
diff --git a/textproc/p5-Petal-Mail/pkg-descr b/textproc/p5-Petal-Mail/pkg-descr
new file mode 100644
index 000000000000..73000e6f2780
--- /dev/null
+++ b/textproc/p5-Petal-Mail/pkg-descr
@@ -0,0 +1,9 @@
+Petal::Mail processes a Petal XML template, and then turns the resulting
+XML into a text email which can be sent through sendmail or other. The XML
+has to follow a certain syntax which is defined in this documentation.
+
+Since Petal::Mail's is a subclass of Petal, its API is the same. Which
+means you need to read about Petal before you can use Petal::Mail.
+
+WWW: http://search.cpan.org/dist/Petal-Mail
+Author: Jean-Michel Hiver
diff --git a/textproc/p5-Petal-Mail/pkg-plist b/textproc/p5-Petal-Mail/pkg-plist
new file mode 100644
index 000000000000..35b701e4fd2e
--- /dev/null
+++ b/textproc/p5-Petal-Mail/pkg-plist
@@ -0,0 +1,6 @@
+%%SITE_PERL%%/Petal/Mail.pm
+%%SITE_PERL%%/Petal/fake_sendmail.pl
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Petal/Mail/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Petal/Mail
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Petal
+@dirrmtry %%SITE_PERL%%/Petal