1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-07 02:06:57 +00:00
freebsd-ports/mail/mailx/Makefile
Stefan Eßer 819f25b36d */*: Remove redundant '-[0-9]*' from CONFLICTS
The conflict checks compare the patterns first against the package
names without version (as reported by "pkg query "%n"), then - if
there was no match - agsinst the full package names including the
version (as reported by "pkg query "%n-%v").

Many CONFLICTS definitions used patterns like "bash-[0-9]*" to filter
for the bash package in any version. But that pattern is functionally
identical with just "bash".

Approved by:	portmgr (blanket)
2021-10-29 11:50:18 +02:00

39 lines
903 B
Makefile

# Created by: Issei Suzuki <issei@jp.FreeBSD.org>
PORTNAME= mailx
PORTVERSION= 0.5
PORTREVISION= 2
CATEGORIES= mail
MASTER_SITES= PORTS_JP
DISTFILES= mail-2.2.8.tar.gz mailx-memo-2.2.8R
PATCH_SITES= PORTS_JP
PATCHFILES= mailx.v05.patch.gz
PATCH_DIST_STRIP= -p1
MAINTAINER= ports@FreeBSD.org
COMMENT= Mail command with mailx extensions
LICENSE= BSD4CLAUSE
CONFLICTS= heirloom-mailx
EXTRACT_ONLY= mail-2.2.8.tar.gz
WRKSRC= ${WRKDIR}/mail-2.2.8
USES= perl5
USE_PERL5= run build patch
post-patch:
${PERL5} -pi.bak -e 's/^(\.Nm mail)/$$1x/i; s/^(\.Dt MAIL)/$$1X/' \
${WRKSRC}/mail.1
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/mail ${STAGEDIR}${PREFIX}/bin/mailx
${INSTALL_MAN} ${WRKSRC}/mail.1.gz \
${STAGEDIR}${MAN1PREFIX}/share/man/man1/mailx.1.gz
${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/mailx
${INSTALL_DATA} ${DISTDIR}/mailx-memo-2.2.8R \
${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>