aboutsummaryrefslogtreecommitdiffstats
path: root/mail/rmime/Makefile
blob: 5aa2abc5fb380ceccf9bc1028ed42422c1be7125 (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
37
# 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)

USE_EMACS=  yes
EMACS_PORT_NAME?=   emacs20
RUN_DEPENDS=    metamail:${PORTSDIR}/mail/metamail

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>