d3dbe8efc9
Approved by: portmgr (blanket)
35 lines
965 B
Makefile
35 lines
965 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 && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
|
|
CFLAGS+= -Wno-error=int-conversion
|
|
.if ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )
|
|
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
|
.endif
|
|
.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>
|