aboutsummaryrefslogtreecommitdiffstats
path: root/mail/hbiff/Makefile
blob: 8d8c07155d11ea60a52786afe22d44b81349278a (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
# Created by: David O'Brien (obrien@NUXI.com)
# $FreeBSD$

PORTNAME=   hbiff
PORTVERSION=    1.2
PORTREVISION=   2
CATEGORIES= mail
MASTER_SITES=   ftp://nuxi.ucdavis.edu/pub/misc/  \
        LOCAL
MASTER_SITE_SUBDIR= obrien

MAINTAINER= obrien@FreeBSD.org
COMMENT=    Replacement for xbiff that handles popup window with mail headers

USE_XORG=   x11

CFLAGS+=    -I${LOCALBASE}/include -L${LOCALBASE}/lib
LDFLAGS+=   -lX11

PLIST_FILES=    bin/hbiff man/man1/hbiff.1.gz

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}${MANPREFIX}/man/man1

.include <bsd.port.mk>