summaryrefslogtreecommitdiff
path: root/mail/im/Makefile
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/Makefile
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/Makefile')
-rw-r--r--mail/im/Makefile45
1 files changed, 45 insertions, 0 deletions
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"