summaryrefslogtreecommitdiff
path: root/mail/rmime/Makefile
blob: 8e731b3b294bad960e649f2273e07c07af125b08 (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
35
# 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.cinti.net/~rmoody/rmime/ \
		${MASTER_SITE_LOCAL} \
		http://www.unixfreak.org/~dima/distfiles/
MASTER_SITE_SUBDIR=	dd
DISTNAME=	rmime.el
EXTRACT_SUFX=	# empty
EXTRACT_ONLY=	# empty

MAINTAINER=	dd@FreeBSD.org

BUILD_DEPENDS=	emacs:${PORTSDIR}/editors/emacs20
RUN_DEPENDS=	metamail:${PORTSDIR}/mail/metamail

NO_WRKSUBDIR=	yes
STRIP=		# empty

do-build:
	${CP} ${DISTDIR}/rmime.el ${WRKDIR}
	emacs -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>