# $OpenBSD: Makefile,v 1.4 2001/03/03 19:26:12 danh Exp $ # Original from: FreeLSD DISTNAME= radiusniff-0.2 CATEGORIES= security MAINTAINER= ports@openbsd.org PERMIT_PACKAGE_CDROM= "not specified, vague license" PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= "not specified, vague license" PERMIT_DISTFILES_FTP= Yes EXTRACT_SUFX= .tgz MASTER_SITES= http://adm.freelsd.net/ADM/ WRKSRC= ${WRKDIR}/radiusniff-0.2 do-build: cd ${WRKSRC} ; ${CC} -DOPENBSD -DDICTIONARY_FILENAME='"dictionary"' -I/usr/local/include -L/usr/local/lib -o radiusniff radiusniff.c md5.c -lpcap -lresolv do-install: ${INSTALL_PROGRAM} ${WRKSRC}/radiusniff ${PREFIX}/bin .include