aboutsummaryrefslogtreecommitdiff
path: root/mail/mew
diff options
context:
space:
mode:
authorMasafumi Max NAKANE <max@FreeBSD.org>1997-01-03 16:48:49 +0000
committerMasafumi Max NAKANE <max@FreeBSD.org>1997-01-03 16:48:49 +0000
commitb2b694d1e9cdd3d4bf0f9c6577cc44bd91238233 (patch)
treebd1d21a55602ba87f91847746cb4530398a41e90 /mail/mew
parentbb42ba820049cde963a354d848482fab23ca5d37 (diff)
downloadports-b2b694d1e9cdd3d4bf0f9c6577cc44bd91238233.tar.gz
ports-b2b694d1e9cdd3d4bf0f9c6577cc44bd91238233.zip
Rename files/.{emacs,mh_profile} to dot.{emacs,mh_profile}.
Install sample files into share/examples/mew instead of to share/doc/mew. Use PKG_PREFIX in the installation/deinstallation scripts. Define RESTRICTED as this package has hook to pgp. Some Makefile cleanup. Editing of site-start.el during the installation procedure now adds autoload entries for this program. Submitted by: (Kiriyama Kazuhiko) <kiri@kiri.toba-cmt.ac.jp>
Notes
Notes: svn path=/head/; revision=5198
Diffstat (limited to 'mail/mew')
-rw-r--r--mail/mew/Makefile23
-rw-r--r--mail/mew/pkg-descr8
2 files changed, 17 insertions, 14 deletions
diff --git a/mail/mew/Makefile b/mail/mew/Makefile
index 3a8e408d5bc2..15f87f411fce 100644
--- a/mail/mew/Makefile
+++ b/mail/mew/Makefile
@@ -1,9 +1,9 @@
# New ports collection makefile for: Mew
# Version required: 1.54
-# Date created: 14 December 1996
+# Date created: 30 December 1996
# Whom: Kiriyama Kazuhiko <kiri@kiri.toba-cmt.ac.jp>
#
-# $Id$
+# $Id: Makefile,v 1.1.1.1 1996/12/18 05:09:26 asami Exp $
#
DISTNAME= mew-1.54
@@ -14,10 +14,12 @@ MAINTAINER= kiri@kiri.toba-cmt.ac.jp
BUILD_DEPENDS= emacs:${PORTSDIR}/editors/emacs
RUN_DEPENDS= emacs:${PORTSDIR}/editors/emacs \
- mhmail:${PORTSDIR}/mail/mh \
- perl:${PORTSDIR}/lang/perl5
+ mhmail:${PORTSDIR}/mail/mh
+
+RESTRICTED= "Includes non destrubuted encrypted codes(PGP)."
DOCDIR= ${PREFIX}/share/doc/mew
+SAMPLEDIR= ${PREFIX}/share/examples/mew
post-install:
@strip ${PREFIX}/bin/mewencode
@@ -28,13 +30,14 @@ post-install:
@${INSTALL_DATA} ${WRKSRC}/info/mew.info* ${PREFIX}/info
@${INSTALL_SCRIPT} ${FILESDIR}/MH-postproc ${PREFIX}/bin
.if !defined(NOPORTDOCS)
- @if [ ! -d ${DOCDIR} ]; then mkdir -p ${DOCDIR}; fi
- @${CP} ${WRKSRC}/info/*.texi ${DOCDIR}
-.for f in .emacs aliases .mh_profile scan.form
- ${CP} ${FILESDIR}/${f} ${DOCDIR}
+ @${MKDIR} ${DOCDIR}
+ @${INSTALL_DATA} ${WRKSRC}/info/*.texi ${DOCDIR}
+ @${MKDIR} ${SAMPLEDIR}
+.for f in dot.emacs aliases dot.mh_profile scan.form
+ @${INSTALL_DATA} ${FILESDIR}/${f} ${SAMPLEDIR}
.endfor
- @${INSTALL_SCRIPT} ${FILESDIR}/user-install ${DOCDIR}
+ @${INSTALL_SCRIPT} ${FILESDIR}/user-install ${SAMPLEDIR}
.endif
- @/bin/sh ${PKGDIR}/INSTALL ${PKGNAME} POST-INSTALL
+ @${SETENV} PKG_PREFIX=${PREFIX} /bin/sh ${PKGDIR}/INSTALL ${PKGNAME} POST-INSTALL
.include <bsd.port.mk>
diff --git a/mail/mew/pkg-descr b/mail/mew/pkg-descr
index 95d671bed886..d85cec22ff40 100644
--- a/mail/mew/pkg-descr
+++ b/mail/mew/pkg-descr
@@ -25,14 +25,14 @@ You must be setting your own environment:
(See info by C-h i and selecting "Mew", "Install" and "User" ).
-Sample files for those above are in /usr/local/share/doc/mew.
+Sample files for those above are in /usr/local/share/examples/mew.
Most easy going way to install user environment is to execute
-/usr/local/share/doc/mew/user-install on your home directory. You can easily
-set up your mail environment interactively.
+/usr/local/share/examples/mew/user-install on your home directory. You can
+easily set up your mail environment interactively.
If you have installed correctly, type "M-x mew", then you can see Mew
-introducing and little while later ready to use. Enjoy!
+greeting messages and little while later ready to use. Enjoy!
- Kiriyama Kazuhiko
kiri@kiri.toba-cmt.ac.jp