1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-19 08:13:21 +00:00
freebsd-ports/mail/xmail/Makefile
Gleb Popov e427ab10bf *: Move manpages to share/man for imake ports.
Approved by:	portmgr (blanket)
2024-02-04 22:13:55 +03:00

27 lines
612 B
Makefile

PORTNAME= xmail
PORTVERSION= 1.6
PORTREVISION= 3
CATEGORIES= mail
MASTER_SITES= XCONTRIB/applications
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= cy@FreeBSD.org
COMMENT= X-based interface to the Berkeley mail program
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
USES= imake xorg
USE_XORG= ice sm x11 xaw xbitmaps xext xmu xpm xt
CFLAGS+= -Wno-incompatible-function-pointer-types -lutil
post-patch:
# Fix the build with -fno-common (for Clang 11 and GCC 10)
@${REINPLACE_CMD} -e '/In_Bogus_Mail_File;/d' ${WRKSRC}/xmail.c
pre-install:
@${ELFCTL} -e +noaslr ${WRKSRC}/xmail
.include <bsd.port.mk>