mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
27 lines
678 B
Makefile
27 lines
678 B
Makefile
# Created by: Jacek Serwatynski <tutus@trynet.eu.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= ADMsmb
|
|
PORTVERSION= 0.3
|
|
CATEGORIES= security
|
|
MASTER_SITES= ${MASTER_SITE_PACKETSTORM}
|
|
MASTER_SITE_SUBDIR= groups/ADM
|
|
DISTNAME= ${PORTNAME}_${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Security scanner for Samba
|
|
|
|
USES= gmake
|
|
MAKE_ARGS= CC="${CC}" FLAGS1="${CFLAGS}"
|
|
|
|
post-patch:
|
|
@${FIND} ${WRKSRC} -name "*.o" -delete
|
|
@${REINPLACE_CMD} -e 's|-O3|${CFLAGS}|' ${WRKSRC}/Makefile
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/ADMsmb ${STAGEDIR}${PREFIX}/bin
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/share/ADMsmb
|
|
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${PREFIX}/share/ADMsmb
|
|
|
|
.include <bsd.port.mk>
|