2021-04-21 10:57:09 +02:00
|
|
|
# $NetBSD: Makefile,v 1.33 2021/04/21 08:57:09 wiz Exp $
|
1999-05-12 08:00:06 +02:00
|
|
|
|
1999-12-02 04:34:48 +01:00
|
|
|
DISTNAME= snooper-19991202
|
2015-08-18 09:31:00 +02:00
|
|
|
PKGREVISION= 5
|
1999-05-12 08:00:06 +02:00
|
|
|
CATEGORIES= comms
|
2021-04-21 10:57:09 +02:00
|
|
|
MASTER_SITES= # ftp://ftp.foretune.co.jp/pub/tools/snooper/
|
1999-05-12 08:00:06 +02:00
|
|
|
|
2007-11-17 14:40:15 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2003-07-21 18:35:12 +02:00
|
|
|
COMMENT= Serial line protocol analyzer (need two serial interfaces)
|
1999-05-12 08:00:06 +02:00
|
|
|
|
2005-11-03 21:01:20 +01:00
|
|
|
WRKSRC= ${WRKDIR}/snooper
|
1999-05-12 08:08:48 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2005-11-03 21:01:20 +01:00
|
|
|
CONFIGURE_DIRS= build
|
|
|
|
BUILD_DIRS= build
|
1999-05-12 08:08:48 +02:00
|
|
|
|
2009-12-17 22:43:16 +01:00
|
|
|
INSTALLATION_DIRS+= share/doc/snooper
|
2011-12-18 19:18:50 +01:00
|
|
|
|
|
|
|
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
|
2009-12-17 22:43:16 +01:00
|
|
|
|
2012-02-16 18:47:04 +01:00
|
|
|
CFLAGS.SunOS+= -Du_int32_t=uint32_t
|
|
|
|
LDFLAGS.SunOS+= -l${BUILDLINK_LIBNAME.curses}
|
|
|
|
|
2005-12-27 14:51:27 +01:00
|
|
|
post-extract:
|
|
|
|
${RM} ${WRKSRC}/build/.depend
|
|
|
|
|
1999-05-12 08:00:06 +02:00
|
|
|
post-install:
|
2009-12-17 22:43:16 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/snooper
|
1999-05-12 08:00:06 +02:00
|
|
|
|
2011-12-18 16:52:44 +01:00
|
|
|
.include "../../mk/curses.buildlink3.mk"
|
1999-05-12 08:08:48 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|