freebsd-ports/converters/mmencode/Makefile
Stefan Eßer bdd2d4af96 Update CONFLICTS definitions in categories a* to c*
Update the CONFLICTS definitions of ports in the following categories:

- accessibility
- archivers
- audio
- benchmarks
- biology
- cad
- chinese
- comms
- converters

An attempt has been made to use generic conflicts patterns that do not
have to be updated whenever a new version of a conflicting port is
added to the ports system.

There is a misunderstanding that the port being built/installed has to
be omitted from the conflicts pattern. This is not true - the port
being built is implicitly non-conflicting due to logic in bsd.port.mk.

Approved by:	portmgr (implicit)
2022-02-06 19:36:07 +01:00

32 lines
853 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}"
CONFLICTS_INSTALL= elm metamail # bin/mimencode bin/mmencode
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>