aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/packit/Makefile
blob: 9295dcbaeb9a73220ba20308f839dd06a05a0d93 (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
# New ports collection makefile for:        packit
# Date created:                     02.06.2003
# Whom:                             Kirill Ponomarew <ponomarew@oberon.net>
#
# $FreeBSD$
#

PORTNAME=   packit
PORTVERSION=    0.6.0
CATEGORIES= net
MASTER_SITES=   http://packit.sourceforge.net/
DISTNAME=   ${PORTNAME}-latest
EXTRACT_SUFX=   .tgz

MAINTAINER= ponomarew@oberon.net
COMMENT=    Network auditing tool

BUILD_DEPENDS=  ${LOCALBASE}/lib/libnet.a:${PORTSDIR}/net/libnet-devel

LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet-config

WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION}

MAN8=       packit.8

GNU_CONFIGURE=  yes
USE_GMAKE=  yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LIBS="-L${LOCALBASE}/lib" \

pre-everything::
    @${ECHO_MSG} ""
    @${ECHO_MSG} ""#######################################################
    @${ECHO_MSG} ""
    @${ECHO_MSG} "You need ${PORTSDIR}/net/libnet-devel to build this port
    @${ECHO_MSG} ""
    @${ECHO_MSG} ""#######################################################
    @${ECHO_MSG} ""

.include <bsd.port.mk>