summaryrefslogtreecommitdiff
path: root/mail/mailsort
diff options
context:
space:
mode:
authorreed <reed>2012-11-05 15:06:45 +0000
committerreed <reed>2012-11-05 15:06:45 +0000
commitbc4695b253c81d2fccd5e2fb69ef54ce0c0d5a4a (patch)
tree01e753ada76e424f1ef8da2ba3458a2aa36b8805 /mail/mailsort
parent1cc845d371de586c1a369ffcf0a80e1d2f864a59 (diff)
downloadpkgsrc-bc4695b253c81d2fccd5e2fb69ef54ce0c0d5a4a.tar.gz
New package: mailsort
mailsort is a perl script that sorts mbox format (single file) mail folders by the dates in the `From ' lines that separate mail messages in each folder.
Diffstat (limited to 'mail/mailsort')
-rw-r--r--mail/mailsort/DESCR3
-rw-r--r--mail/mailsort/Makefile27
-rw-r--r--mail/mailsort/PLIST3
-rw-r--r--mail/mailsort/distinfo5
4 files changed, 38 insertions, 0 deletions
diff --git a/mail/mailsort/DESCR b/mail/mailsort/DESCR
new file mode 100644
index 00000000000..b9258747903
--- /dev/null
+++ b/mail/mailsort/DESCR
@@ -0,0 +1,3 @@
+mailsort is a perl script that sorts mbox format (single file) mail
+folders by the dates in the `From ' lines that separate mail messages
+in each folder.
diff --git a/mail/mailsort/Makefile b/mail/mailsort/Makefile
new file mode 100644
index 00000000000..1f53e7362ed
--- /dev/null
+++ b/mail/mailsort/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1 2012/11/05 15:06:45 reed Exp $
+#
+
+DISTNAME= mailsort-1.26
+CATEGORIES= mail
+MASTER_SITES= http://search.cpan.org/CPAN/authors/id/A/AZ/AZS/mailsort/
+
+MAINTAINER= reed@reedmedia.net
+HOMEPAGE= http://search.cpan.org/~azs/mailsort/
+COMMENT= Sort mbox mail folders by date
+
+LICENSE= gnu-gpl-v2
+
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
+REPLACE_PERL+= mailsort
+USE_LANGUAGES= # none
+USE_TOOLS= perl pod2man
+
+do-build:
+ pod2man ${WRKSRC}/mailsort > ${WRKSRC}/mailsort.1
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/mailsort ${DESTDIR}${PREFIX}/bin/
+ ${INSTALL_MAN} ${WRKSRC}/mailsort.1 \
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/mail/mailsort/PLIST b/mail/mailsort/PLIST
new file mode 100644
index 00000000000..628dd9fe470
--- /dev/null
+++ b/mail/mailsort/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2012/11/05 15:06:45 reed Exp $
+bin/mailsort
+man/man1/mailsort.1
diff --git a/mail/mailsort/distinfo b/mail/mailsort/distinfo
new file mode 100644
index 00000000000..dc83ca8478f
--- /dev/null
+++ b/mail/mailsort/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2012/11/05 15:06:45 reed Exp $
+
+SHA1 (mailsort-1.26.tar.gz) = c872b782ae9b0cb1ac35010461cd7434cdfa5ab4
+RMD160 (mailsort-1.26.tar.gz) = 9c32d16de72a3944e629c5a1096560652067aecc
+Size (mailsort-1.26.tar.gz) = 13422 bytes