aboutsummaryrefslogtreecommitdiff
path: root/mail/rmime/Makefile
blob: a043c1acdd19507e2a0ff9ea91a22a5ab84e3543 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# New ports collection makefile for:	rmime
# Date created:			28 July 2001
# Whom:				dd
#
# $FreeBSD$
#

PORTNAME=	rmime
PORTVERSION=	1.2
CATEGORIES=	mail
MASTER_SITES=	http://www.subterrain.net/code/
DISTNAME=	rmime.el
EXTRACT_SUFX=	# empty
EXTRACT_ONLY=	# empty

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Decode MIME messages inside Emacs (works with RMAIL, VM, and mh-e)

RUN_DEPENDS=	metamail:${PORTSDIR}/mail/metamail

USE_EMACS=	yes
EMACS_PORT_NAME?=	emacs20
NO_WRKSUBDIR=	yes
STRIP=		# empty

do-build:
	${CP} ${DISTDIR}/rmime.el ${WRKDIR}
	${EMACS_CMD} -batch -f batch-byte-compile ${WRKDIR}/rmime.el

do-install:
	${INSTALL_DATA} ${WRKDIR}/rmime.el ${WRKDIR}/rmime.elc\
		${PREFIX}/share/emacs/site-lisp

.include <bsd.port.mk>