blob: a5c66822e98e3db9889de03d6a4943d8f1866734 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
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>
|