aboutsummaryrefslogtreecommitdiffstats
path: root/mail/rmime/Makefile
blob: f60b10da973b715d7a21be34ca134390d5f9552f (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
36
# 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
COMMENT=    Decode MIME messages inside Emacs (works with RMAIL, VM, and mh-e)

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>