summaryrefslogtreecommitdiff
path: root/comms/snooper/Makefile
blob: 20b7b08c1d922470fb329d3de05d669a862227cd (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
# $NetBSD: Makefile,v 1.30 2012/10/03 11:24:44 asau Exp $

DISTNAME=	snooper-19991202
PKGREVISION=	3
CATEGORIES=	comms
MASTER_SITES=	ftp://ftp.foretune.co.jp/pub/tools/snooper/

MAINTAINER=	pkgsrc-users@NetBSD.org
COMMENT=	Serial line protocol analyzer (need two serial interfaces)

WRKSRC=		${WRKDIR}/snooper
GNU_CONFIGURE=	yes
CONFIGURE_DIRS=	build
BUILD_DIRS=	build

INSTALLATION_DIRS+=	share/doc/snooper

PKG_GROUPS=		${DIALER_GROUP}
PKG_USERS=		${UUCP_USER}:${UUCP_GROUP}
PKG_GROUPS_VARS+=	DIALER_GROUP UUCP_GROUP
PKG_USERS_VARS=		UUCP_USER
SPECIAL_PERMS+=		${PREFIX}/bin/snooper ${UUCP_USER} ${DIALER_GROUP} 4555

CFLAGS.SunOS+=		-Du_int32_t=uint32_t
LDFLAGS.SunOS+=		-l${BUILDLINK_LIBNAME.curses}

post-extract:
	${RM} ${WRKSRC}/build/.depend

post-install:
	${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/snooper

.include "../../mk/curses.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"