aboutsummaryrefslogtreecommitdiffstats
path: root/mail/biffer/Makefile
blob: c6bee1b0c82d8cb04de39296377d08e993cabf6d (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
34
35
36
37
38
39
40
41
42
43
44
# Created by: jsellens
# $FreeBSD$

PORTNAME=   biffer
PORTVERSION=    1.0
PORTREVISION=   1
CATEGORIES= mail
MASTER_SITES=   http://www.generalconcepts.com/resources/software/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Better mail notification server

DEPRECATED= Fails to build with new utmpx
EXPIRATION_DATE=    2014-07-23

RUN_DEPENDS=    xmsg:${PORTSDIR}/x11/xmsg

MAKE_JOBS_UNSAFE=   yes

MAN1=       biffopt.1
MAN8=       biffer.8 biffer_comsat.8

NO_STAGE=   yes
.include <bsd.port.pre.mk>

.if ${OSVERSION} > 900007
BROKEN=     fails to build with new utmpx
.endif

post-patch:
    @${REINPLACE_CMD} -e 's,/usr/local,${PREFIX},g' ${WRKSRC}/biffer_comsat/Makefile

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/biffer/biffer ${PREFIX}/libexec
    ${INSTALL_PROGRAM} ${WRKSRC}/biffopt/biffopt ${PREFIX}/bin
    ${INSTALL_MAN} ${WRKSRC}/biffopt/biffopt.1 ${MAN1PREFIX}/man/man1
    ${INSTALL_MAN} ${WRKSRC}/biffer/biffer.8 ${MAN8PREFIX}/man/man8
    cd ${WRKSRC}/biffer_comsat && ${MAKE} ${MFLAGS} install

post-install:
    @${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} \
        POST-INSTALL

.include <bsd.port.post.mk>