summaryrefslogtreecommitdiff
path: root/net/modpcap/Makefile
blob: 5dbbf8d8be62d8b856e5c46a3dfa5ca209d564c2 (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
# $NetBSD: Makefile,v 1.1.1.1 2010/11/29 07:25:04 agc Exp $
#

DISTNAME=		modcap.c
PKGNAME=		modcap-0.0.5
CATEGORIES=		net security
MASTER_SITES=		http://www.emcy.it/Linux/files/
EXTRACT_SUFX=		# empty

MAINTAINER=		agc@NetBSD.org
COMMENT=		Command line utility to modify pcap capture files
LICENSE=		gnu-gpl-v2

PKG_DESTDIR_SUPPORT=	user-destdir
AUTO_MKDIRS=		yes

WRKSRC=			${WRKDIR}

do-build:
	cd ${WRKSRC} && ${CC} -I${PREFIX}/include modcap.c -lm -lpcap -o modcap

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/modcap ${DESTDIR}${PREFIX}/bin/

.include "../../net/libpcap/buildlink3.mk"

.include "../../mk/bsd.pkg.mk"