aboutsummaryrefslogtreecommitdiffstats
path: root/net/vomit/Makefile
blob: 22d5c90da7e1851039083fe67e0d0a82e12593c4 (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
# Ports collection makefile for:  vomit
# Date created:           23 Aug 2001
# Whom:               Kris Kennaway <kris@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   vomit
PORTVERSION=    0.2c
CATEGORIES= net security
MASTER_SITES=   http://vomit.xtdnet.nl/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Voice over misconfigured internet telephones

BUILD_DEPENDS=  ${LOCALBASE}/lib/libevent.a:${PORTSDIR}/devel/libevent \
        ${LOCALBASE}/lib/libdnet.a:${PORTSDIR}/net/libdnet

USE_REINPLACE=  yes
GNU_CONFIGURE=  yes
CONFIGURE_TARGET=   --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"

MAN1=       vomit.1
PLIST_FILES=    bin/vomit

post-patch:
    @${REINPLACE_CMD} -e 's|-O2 -Wall -g|@CFLAGS@|g' ${WRKSRC}/Makefile.in

.include <bsd.port.mk>