22f9406fd1
build fails on non-i386 platforms. - Respect CFLAGS Submitted by: Koop Mast Approved by: adamw (mentor)
29 lines
669 B
Makefile
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>
|