aboutsummaryrefslogtreecommitdiffstats
path: root/converters/mmencode/Makefile
blob: 87c2133ebfd5bd12ed1fcb65077c50c86695cbcf (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:    mmencode
# Date created:     30 September 1999
# Whom:         kbyanc
#
# $FreeBSD$
#

PORTNAME=   mmencode
PORTVERSION=    2.7
CATEGORIES= converters
MASTER_SITES=   ftp://wall.etl.go.jp/pub/mime/mm2.7/ \
        ftp://ftp.delegate.org/pub/mime/mm2.7/ \
        ftp://ftp.funet.fi/pub/unix/mail/metamail/
DISTNAME=   mm${PORTVERSION}
EXTRACT_SUFX=   .tar.Z

MAINTAINER= ports@FreeBSD.org
COMMENT=    Translate to and from mail-oriented encoding formats

WRKSRC=     ${WRKDIR}/${DISTNAME}/src/metamail

PLIST_FILES=    bin/mmencode bin/mimencode
MAN1=       mmencode.1
MLINKS=     mmencode.1 mimencode.1

ALL_TARGET= mmencode
MAKE_ARGS=  CFLAGS="${CFLAGS}"

do-install:
    @cd ${WRKSRC}       && ${INSTALL_PROGRAM} mmencode ${PREFIX}/bin
    @cd ${WRKSRC}/../man    && ${INSTALL_MAN} mmencode.1 ${PREFIX}/man/man1
    @cd ${PREFIX}/bin   && ${LN} -s mmencode mimencode

.include <bsd.port.mk>