46b97d0840
next to MAC addresses found in standard input. ok pea@
35 lines
755 B
Makefile
35 lines
755 B
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2011/12/30 14:24:07 sthen Exp $
|
|
|
|
COMMENT= simple filter to look up MAC address vendors
|
|
|
|
DISTNAME= maclookup-1.2
|
|
|
|
CATEGORIES= net textproc
|
|
|
|
MAINTAINER= Stuart Henderson <sthen@openbsd.org>
|
|
|
|
# Public Domain
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= http://spacehopper.org/mirrors/
|
|
|
|
RUN_DEPENDS= net/arp-scan # lazy way to get the data files
|
|
|
|
NO_BUILD= Yes
|
|
NO_REGRESS= Yes
|
|
|
|
PKG_ARCH= *
|
|
|
|
do-configure:
|
|
cd ${WRKSRC}; \
|
|
perl -pi -e 's,/usr/local,${LOCALBASE},g' maclookup.pl maclookup.1
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/maclookup.pl ${PREFIX}/bin/maclookup
|
|
${INSTALL_MAN} ${WRKSRC}/maclookup.1 ${PREFIX}/man/man1
|
|
|
|
.include <bsd.port.mk>
|