blob: e40a40d3b77a25b8539c3678df16c9dd85b260ae (
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
31
32
33
34
35
36
37
38
39
40
|
# $NetBSD: Makefile.common,v 1.2 2005/04/11 21:47:02 tv Exp $
#
DISTNAME= wistumbler2.00-pre9
PKGNAME= ${DISTNAME:S/wistumbler/wistumbler-/}
CATEGORIES= net
MASTER_SITES= ftp://ftp.nopcode.org/prj/wistumbler2/
MAINTAINER= pancake@phreaker.net
HOMEPAGE= http://www.nopcode.org/?t=wistumbler2
COMMENT= Fork of original WaveLAN/IEEE network stumbler
DISTINFO_FILE= ${.CURDIR}/../../net/wistumbler2/distinfo
PATCHDIR= ${.CURDIR}/../../net/wistumbler2/patches
PLIST_SRC= ${.CURDIR}/../../net/wistumbler2/PLIST
NOT_FOR_PLATFORM= NetBSD-[01].[012345]*-*
ONLY_FOR_PLATFORM= NetBSD-*-* FreeBSD-*-* OpenBSD-*-*
HAS_CONFIGURE= YES
MANCOMPRESSED= YES
USE_PKGINSTALL= YES
CONFIGURE_ENV+= PREFIX=${PREFIX}
CONF_FILES= ${PREFIX}/share/examples/wistumbler2/wistumbler2.conf \
${PKG_SYSCONFDIR}/wistumbler2.conf
SUBST_CLASSES+= conf
SUBST_STAGE.conf= pre-configure
SUBST_FILES.conf= src/userconf.c
SUBST_SED.conf= -e "s|/etc|${PKG_SYSCONFDIR}|g"
SUBST_MESSAGE.conf= "Fixing path to configuration files."
post-extract:
${CHMOD} ${PKGDIRMODE} ${WRKSRC}/doc
${CHMOD} ${PKGDIRMODE} ${WRKSRC}/img
.include "../../net/libpcap/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
|