summaryrefslogtreecommitdiffstats
path: root/security/ADMsmb/Makefile
blob: a356ff103f46c04a82d5a22e17fbe996e25e532f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Ports collection makefile for:	ADMsmb
# Date created:			23 Jun 2003
# Whom:				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

USE_REINPLACE=	yes

post-patch:
	@${FIND} ${WRKSRC} -name "*.o" -delete
	@${REINPLACE_CMD} -e 's|-O3|${CFLAGS}|' ${WRKSRC}/Makefile

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/ADMsmb ${PREFIX}/bin
	${MKDIR} ${PREFIX}/share/ADMsmb
	${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/ADMsmb

.include <bsd.port.mk>
OpenPOWER on IntegriCloud