blob: bd78a10f52c0452d018fabef760856e0a249575e (
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
|
# Created by: kbyanc
# $FreeBSD$
PORTNAME= mmencode
PORTVERSION= 2.7
CATEGORIES= converters
MASTER_SITES= ftp://ftp.funet.fi/pub/unix/mail/metamail/
DISTNAME= mm${PORTVERSION}
MAINTAINER= johans@FreeBSD.org
COMMENT= Translate to and from mail-oriented encoding formats
LICENSE= MIT
WRKSRC= ${WRKDIR}/${DISTNAME}/src/metamail
PLIST_FILES= bin/mmencode bin/mimencode \
man/man1/mmencode.1.gz man/man1/mimencode.1.gz
USES= tar:Z
ALL_TARGET= mmencode
MAKE_ARGS= CFLAGS="${CFLAGS}"
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/mmencode ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/../man/mmencode.1 \
${STAGEDIR}${MAN1PREFIX}/man/man1/
cd ${STAGEDIR}${MAN1PREFIX}/man/man1 && ${LN} -s mmencode.1 mimencode.1
cd ${STAGEDIR}${PREFIX}/bin && ${LN} -s mmencode mimencode
.include <bsd.port.mk>
|