1996-12-18 05:09:26 +00:00
|
|
|
# New ports collection makefile for: Mew
|
|
|
|
# Version required: 1.54
|
1997-01-03 16:48:49 +00:00
|
|
|
# Date created: 30 December 1996
|
1996-12-18 05:09:26 +00:00
|
|
|
# Whom: Kiriyama Kazuhiko <kiri@kiri.toba-cmt.ac.jp>
|
|
|
|
#
|
1997-01-03 16:48:49 +00:00
|
|
|
# $Id: Makefile,v 1.1.1.1 1996/12/18 05:09:26 asami Exp $
|
1996-12-18 05:09:26 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= mew-1.54
|
|
|
|
CATEGORIES= mail
|
|
|
|
MASTER_SITES= ftp://ftp.aist-nara.ac.jp/pub/elisp/Mew/
|
|
|
|
|
|
|
|
MAINTAINER= kiri@kiri.toba-cmt.ac.jp
|
|
|
|
|
|
|
|
BUILD_DEPENDS= emacs:${PORTSDIR}/editors/emacs
|
|
|
|
RUN_DEPENDS= emacs:${PORTSDIR}/editors/emacs \
|
1997-01-03 16:48:49 +00:00
|
|
|
mhmail:${PORTSDIR}/mail/mh
|
|
|
|
|
|
|
|
RESTRICTED= "Includes non destrubuted encrypted codes(PGP)."
|
1996-12-18 05:09:26 +00:00
|
|
|
|
|
|
|
DOCDIR= ${PREFIX}/share/doc/mew
|
1997-01-03 16:48:49 +00:00
|
|
|
SAMPLEDIR= ${PREFIX}/share/examples/mew
|
1996-12-18 05:09:26 +00:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
@strip ${PREFIX}/bin/mewencode
|
|
|
|
.for f in mewencode mew-refile uumerge vscan
|
|
|
|
@chown bin:bin ${PREFIX}/bin/${f}
|
|
|
|
@chmod 555 ${PREFIX}/bin/${f}
|
|
|
|
.endfor
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/info/mew.info* ${PREFIX}/info
|
|
|
|
@${INSTALL_SCRIPT} ${FILESDIR}/MH-postproc ${PREFIX}/bin
|
|
|
|
.if !defined(NOPORTDOCS)
|
1997-01-03 16:48:49 +00:00
|
|
|
@${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}
|
1996-12-18 05:09:26 +00:00
|
|
|
.endfor
|
1997-01-03 16:48:49 +00:00
|
|
|
@${INSTALL_SCRIPT} ${FILESDIR}/user-install ${SAMPLEDIR}
|
1996-12-18 05:09:26 +00:00
|
|
|
.endif
|
1997-01-03 16:48:49 +00:00
|
|
|
@${SETENV} PKG_PREFIX=${PREFIX} /bin/sh ${PKGDIR}/INSTALL ${PKGNAME} POST-INSTALL
|
1996-12-18 05:09:26 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|