mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
31 lines
827 B
Makefile
31 lines
827 B
Makefile
# Created by: onatan@gmail.com
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= ADMsnmp
|
|
PORTVERSION= 0.1
|
|
CATEGORIES= security
|
|
MASTER_SITES= ftp://adm.freelsd.net/pub/ADM/ \
|
|
http://adm.freelsd.net/ADM/ \
|
|
${MASTER_SITE_PACKETSTORM:=groups/ADM/}
|
|
DISTNAME= ${PORTNAME}.${PORTVERSION}
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= onatan@gmail.com
|
|
COMMENT= SNMP audit scanner
|
|
|
|
WRKSRC= ${WRKDIR}/ADMsnmp
|
|
|
|
do-build:
|
|
${CC} ${CFLAGS} -DPORTSHAREDIR="${PREFIX}/share/ADMsnmp" \
|
|
-o ${WRKSRC}/ADMsnmp ${WRKSRC}/snmp.c
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/ADMsnmp ${STAGEDIR}${PREFIX}/bin
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/share/ADMsnmp
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/ADMsnmp
|
|
${INSTALL_DATA} ${WRKSRC}/snmp.passwd ${STAGEDIR}${PREFIX}/share/ADMsnmp
|
|
${INSTALL_DATA} ${WRKSRC}/ADMsnmp.README \
|
|
${STAGEDIR}${PREFIX}/share/doc/ADMsnmp
|
|
|
|
.include <bsd.port.mk>
|