aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormax <max@FreeBSD.org>1997-01-04 00:48:49 +0800
committermax <max@FreeBSD.org>1997-01-04 00:48:49 +0800
commit5ea422cd284664649aac3d60154983a0545d5e75 (patch)
tree1cc39fd73446ac2631fdbb23e3e6b9617ea98fb0
parentd7bfc0dcbe7d823e972998fa1f0e4c58d3ca137c (diff)
downloadfreebsd-ports-gnome-5ea422cd284664649aac3d60154983a0545d5e75.tar.gz
freebsd-ports-gnome-5ea422cd284664649aac3d60154983a0545d5e75.tar.zst
freebsd-ports-gnome-5ea422cd284664649aac3d60154983a0545d5e75.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>
-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