Files
ports/mail/hbiff/Makefile
T
Rene Ladan 4485bd8221 all: drop support for expired FreeBSD 14.0
Simplify expressions for FreeBSD 13.X

Reviewed by:	many

Differential Revision:	https://reviews.freebsd.org/D46601
2024-10-01 20:56:20 +02:00

34 lines
786 B
Makefile

PORTNAME= hbiff
PORTVERSION= 1.2
PORTREVISION= 3
CATEGORIES= mail
MASTER_SITES= ftp://nuxi.ucdavis.edu/pub/misc/ \
LOCAL/obrien
MAINTAINER= bofh@FreeBSD.org
COMMENT= Replacement for xbiff that handles popup window with mail headers
USES= localbase xorg
USE_XORG= x11
CFLAGS+= -L${LOCALBASE}/lib
LDFLAGS+= -lX11
PLIST_FILES= bin/hbiff share/man/man1/hbiff.1.gz
.include <bsd.port.pre.mk>
.if ${OPSYS} == FreeBSD
CFLAGS+= -Wno-error=int-conversion
CFLAGS+= -Wno-error=incompatible-function-pointer-types
.endif
do-build:
${CC} ${CFLAGS} ${LDFLAGS} ${WRKSRC}/hbiff.c -o ${WRKSRC}/${PORTNAME}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/share/man/man1
.include <bsd.port.post.mk>