1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00
freebsd-ports/converters/mmencode/Makefile
2021-04-06 16:31:07 +02:00

31 lines
791 B
Makefile

# Created by: kbyanc
PORTNAME= mmencode
PORTVERSION= 2.7
CATEGORIES= converters
MASTER_SITES= ftp://ftp.funet.fi/pub/unix/mail/metamail/
DISTNAME= mm${PORTVERSION}
MAINTAINER= ports@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>