pkgsrc/comms/snooper/Makefile
2021-04-21 08:57:09 +00:00

34 lines
911 B
Makefile

# $NetBSD: Makefile,v 1.33 2021/04/21 08:57:09 wiz Exp $
DISTNAME= snooper-19991202
PKGREVISION= 5
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"