summaryrefslogtreecommitdiff
path: root/security/dsniff/Makefile.common
blob: 193589259e456559423994e4e7ffc59fc1f26ef0 (plain)
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
# $NetBSD: Makefile.common,v 1.9 2011/04/18 12:01:52 obache Exp $
#
# used by security/dsniff/Makefile
# used by security/dsniff-nox11/Makefile

DISTNAME=	dsniff-${VERS}
VERS=		2.3
CATEGORIES=	security
MASTER_SITES+=	http://monkey.org/~dugsong/dsniff/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://monkey.org/~dugsong/dsniff/

GNU_CONFIGURE=	yes
MAKE_JOBS_SAFE=	no

PATCHDIR=	${.CURDIR}/../../security/dsniff/patches
DISTINFO_FILE=	${.CURDIR}/../../security/dsniff/distinfo

SUBST_CLASSES+=		conf
SUBST_STAGE.conf=	pre-configure
SUBST_FILES.conf=	configure
SUBST_SED.conf=		-e "s|libnet-config|libnet10-config|g"
SUBST_SED.conf+=	-e "s|@@LN_INC@@|${BUILDLINK_PREFIX.libnet10}/include/libnet10|g"
SUBST_SED.conf+=	-e "s|@@LN_LIB@@|${BUILDLINK_PREFIX.libnet10}/lib/libnet10|g"
SUBST_MESSAGE.conf=	Fixing configuration script.

.include "../../net/libpcap/buildlink3.mk"
.include "../../devel/libnet10/buildlink3.mk"
.include "../../net/libnids/buildlink3.mk"