aboutsummaryrefslogtreecommitdiff
path: root/security/ADMsmb/Makefile
blob: 30fb656a39e3981a7de5233eb921b58ea1bef58d (plain) (blame)
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
# 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

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>