freebsd-ports/security/ADMsmb/Makefile
Pav Lucistnik 22f9406fd1 - Author included object files in distfile. Get rid of them otherwise
build fails on non-i386 platforms.
- Respect CFLAGS

Submitted by:	Koop Mast
Approved by:	adamw (mentor)
2003-11-20 23:06:45 +00:00

29 lines
669 B
Makefile

# 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= http://www.geocities.com/bofn1001/ \
http://adm.freelsd.net/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>