summaryrefslogtreecommitdiff
path: root/mail/im
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2008-01-06 12:00:29 +0000
committerobache <obache@pkgsrc.org>2008-01-06 12:00:29 +0000
commit2fd08109ac61fee184106fc109d287b7ea2a40c6 (patch)
tree4f1e855065158f7bf451a8097de2611e20776bb2 /mail/im
parentc4c597ff15731b06b8bdc50673a02270a2e2a790 (diff)
downloadpkgsrc-2fd08109ac61fee184106fc109d287b7ea2a40c6.tar.gz
Import IM version 149.
Based on packaged by URA Hiroshi in pkgsrc-wip and Tetsuya Isaki via private mail. IM provides a series of user interface commands (imput, imget, imls, ...) and backend Perl5 modules to integrate E-mail and NetNews user interface. They are designed to be used both from Mew version 1.x and on command line.
Diffstat (limited to 'mail/im')
-rw-r--r--mail/im/DESCR3
-rw-r--r--mail/im/Makefile45
-rw-r--r--mail/im/PLIST87
-rw-r--r--mail/im/distinfo6
-rw-r--r--mail/im/patches/patch-aa26
5 files changed, 167 insertions, 0 deletions
diff --git a/mail/im/DESCR b/mail/im/DESCR
new file mode 100644
index 00000000000..d1d7cb98ec4
--- /dev/null
+++ b/mail/im/DESCR
@@ -0,0 +1,3 @@
+IM provides a series of user interface commands (imput, imget, imls, ...)
+and backend Perl5 modules to integrate E-mail and NetNews user interface.
+They are designed to be used both from Mew version 1.x and on command line.
diff --git a/mail/im/Makefile b/mail/im/Makefile
new file mode 100644
index 00000000000..08f2587465d
--- /dev/null
+++ b/mail/im/Makefile
@@ -0,0 +1,45 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/01/06 12:00:29 obache Exp $
+
+DISTNAME= im-149
+CATEGORIES= mail
+MASTER_SITES= http://tats.haun.org/im/
+
+MAINTAINER= obache@NetBSD.org
+HOMEPAGE= http://tats.haun.org/im/
+COMMENT= E-Mail and NetNews user interface commands
+
+GNU_CONFIGURE= yes
+USE_TOOLS+= perl:run
+
+CONFIGURE_ARGS+= --libdir=${PKG_SYSCONFBASE}
+CONFIGURE_ARGS+= --with-perldir=${PREFIX}/${PERL5_SUB_INSTALLVENDORLIB}
+CONFIGURE_ENV+= im_path_perl=${PERL5:Q}
+
+PKG_SYSCONFSUBDIR= im
+
+CONF_FILES= ${PREFIX}/share/examples/im/SiteConfig ${PKG_SYSCONFDIR}/SiteConfig
+
+DOCDIR= ${PREFIX}/share/doc/im
+EXAMPLESDIR= ${PREFIX}/share/examples/im
+DOCS= 00changes 00copyright 00copyright.jis 00perl 00readme 00usage
+MAN= imput
+MAN_JA= imali.jis imcat.jis imcd.jis imclean.jis imget.jis \
+ imhist.jis imjoin.jis immv.jis impack.jis imput.jis \
+ imrm.jis imsetup.jis imsort.jis imstore.jis imtar.jis
+
+INSTALLATION_DIRS+= ${DOCDIR} ${EXAMPLESDIR} ${DOCDIR}/man ${DOCDIR}/man/ja
+
+post-install:
+.for file in ${DOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCDIR}
+.endfor
+.for file in ${MAN}
+ ${INSTALL_DATA} ${WRKSRC}/man/${file} ${DOCDIR}/man
+.endfor
+.for file in ${MAN_JA}
+ ${INSTALL_DATA} ${WRKSRC}/man/${file} ${DOCDIR}/man/ja
+.endfor
+ cp -r ${WRKSRC}/dot.im/* ${EXAMPLESDIR}
+
+.include "../../lang/perl5/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/mail/im/PLIST b/mail/im/PLIST
new file mode 100644
index 00000000000..8bbe1039575
--- /dev/null
+++ b/mail/im/PLIST
@@ -0,0 +1,87 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/01/06 12:00:29 obache Exp $
+bin/imali
+bin/imcat
+bin/imcd
+bin/imclean
+bin/imget
+bin/imgrep
+bin/imhist
+bin/imhsync
+bin/imjoin
+bin/imls
+bin/immknmz
+bin/immv
+bin/impack
+bin/impath
+bin/imput
+bin/impwagent
+bin/imrm
+bin/imsetup
+bin/imsort
+bin/imstore
+bin/imtar
+${PERL5_SUB_INSTALLVENDORLIB}/IM/Address.pm
+${PERL5_SUB_INSTALLVENDORLIB}/IM/Alias.pm
+${PERL5_SUB_INSTALLVENDORLIB}/IM/Config.pm
+${PERL5_SUB_INSTALLVENDORLIB}/IM/EncDec.pm
+${PERL5_SUB_INSTALLVENDORLIB}/IM/File.pm
+${PERL5_SUB_INSTALLVENDORLIB}/IM/Folder.pm
+${PERL5_SUB_INSTALLVENDORLIB}/IM/GetPass.pm
+${PERL5_SUB_INSTALLVENDORLIB}/IM/Grep.pm
+${PERL5_SUB_INSTALLVENDORLIB}/IM/History.pm
+${PERL5_SUB_INSTALLVENDORLIB}/IM/Http.pm
+${PERL5_SUB_INSTALLVENDORLIB}/IM/Imap.pm
+${PERL5_SUB_INSTALLVENDORLIB}/IM/Iso2022jp.pm
+${PERL5_SUB_INSTALLVENDORLIB}/IM/Japanese.pm
+${PERL5_SUB_INSTALLVENDORLIB}/IM/LocalMbox.pm
+${PERL5_SUB_INSTALLVENDORLIB}/IM/Log.pm
+${PERL5_SUB_INSTALLVENDORLIB}/IM/MD5.pm
+${PERL5_SUB_INSTALLVENDORLIB}/IM/Message.pm
+${PERL5_SUB_INSTALLVENDORLIB}/IM/MsgStore.pm
+${PERL5_SUB_INSTALLVENDORLIB}/IM/Nntp.pm
+${PERL5_SUB_INSTALLVENDORLIB}/IM/Pop.pm
+${PERL5_SUB_INSTALLVENDORLIB}/IM/Recipient.pm
+${PERL5_SUB_INSTALLVENDORLIB}/IM/Scan.pm
+${PERL5_SUB_INSTALLVENDORLIB}/IM/Smtp.pm
+${PERL5_SUB_INSTALLVENDORLIB}/IM/Ssh.pm
+${PERL5_SUB_INSTALLVENDORLIB}/IM/Stdio.pm
+${PERL5_SUB_INSTALLVENDORLIB}/IM/TcpTransaction.pm
+${PERL5_SUB_INSTALLVENDORLIB}/IM/Util.pm
+share/doc/im/00changes
+share/doc/im/00copyright
+share/doc/im/00copyright.jis
+share/doc/im/00perl
+share/doc/im/00readme
+share/doc/im/00usage
+share/doc/im/man/imput
+share/doc/im/man/ja/imali.jis
+share/doc/im/man/ja/imcat.jis
+share/doc/im/man/ja/imcd.jis
+share/doc/im/man/ja/imclean.jis
+share/doc/im/man/ja/imget.jis
+share/doc/im/man/ja/imhist.jis
+share/doc/im/man/ja/imjoin.jis
+share/doc/im/man/ja/immv.jis
+share/doc/im/man/ja/impack.jis
+share/doc/im/man/ja/imput.jis
+share/doc/im/man/ja/imrm.jis
+share/doc/im/man/ja/imsetup.jis
+share/doc/im/man/ja/imsort.jis
+share/doc/im/man/ja/imstore.jis
+share/doc/im/man/ja/imtar.jis
+share/examples/im/Config
+share/examples/im/Petnames
+share/examples/im/SiteConfig
+share/examples/im/get.sbr
+share/examples/im/get.sbr.refile
+share/examples/im/getchk.sbr
+share/examples/im/getchk.sbr.postpet
+share/examples/im/password
+share/examples/im/scan.sbr
+share/examples/im/scan.sbr.sample1
+share/examples/im/scan.sbr.sample2
+@dirrm share/examples/im
+@dirrm share/doc/im/man/ja
+@dirrm share/doc/im/man
+@dirrm share/doc/im
+@dirrm ${PERL5_SUB_INSTALLVENDORLIB}/IM
diff --git a/mail/im/distinfo b/mail/im/distinfo
new file mode 100644
index 00000000000..f2c6c7477a9
--- /dev/null
+++ b/mail/im/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/01/06 12:00:29 obache Exp $
+
+SHA1 (im-149.tar.gz) = 638fd2af6b8a04d51cb6e3e36660c0ebe0ae346f
+RMD160 (im-149.tar.gz) = 482ef2714e3e1810740200dca80a5e3ad27a00f9
+Size (im-149.tar.gz) = 221971 bytes
+SHA1 (patch-aa) = 71bb1bed56be580c30f291360e7320a85a818087
diff --git a/mail/im/patches/patch-aa b/mail/im/patches/patch-aa
new file mode 100644
index 00000000000..b4130400619
--- /dev/null
+++ b/mail/im/patches/patch-aa
@@ -0,0 +1,26 @@
+$NetBSD: patch-aa,v 1.1.1.1 2008/01/06 12:00:29 obache Exp $
+
+--- Makefile.in.orig 2003-03-21 15:09:45.000000000 +0000
++++ Makefile.in
+@@ -30,7 +30,7 @@ libdir=@libdir@
+ perldir=@im_path_siteperl@
+
+ # If you modify imlibdir, you should also modify IM/Config.
+-imlibdir= $(libdir)/im
++imlibdir= $(prefix)/share/examples/im
+ moddir= $(perldir)/IM
+
+ RPOP= @im_rpop@
+@@ -76,11 +76,7 @@ installdata::
+ fi
+ $(chmod) 755 $(imlibdir)
+ for cnf_im in SiteConfig ; do \
+- if test ! -f $(imlibdir)/$$cnf_im; then \
+- $(INSTALL_DATA) cnf.im/$$cnf_im $(imlibdir); \
+- else \
+- $(INSTALL_DATA) cnf.im/$$cnf_im $(imlibdir)/$$cnf_im.new; \
+- fi ;\
++ $(INSTALL_DATA) cnf.im/$$cnf_im $(imlibdir)/$$cnf_im; \
+ done
+
+ clean::