1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00
freebsd-ports/security/ftimes/Makefile
Tilman Keskinoz 6e57a687c6 Respect CFLAGS
Fix build on AMD64

Reported by:	bento
2004-02-28 16:58:12 +00:00

43 lines
787 B
Makefile

# New ports collection makefile for: ftimes
# Date created: 20 August 2002
# Whom: Klayton Monroe <klm@uidzero.org>
#
# $FreeBSD$
#
PORTNAME= ftimes
PORTVERSION= 3.3.0
CATEGORIES= security sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ftimes
EXTRACT_SUFX= .tgz
MAINTAINER= klm@uidzero.org
COMMENT= A system baselining and evidence collection tool
GNU_CONFIGURE= YES
USE_REINPLACE= YES
.if defined(WITHOUT_SSL)
CONFIGURE_ARGS+= --without-ssl
.else
USE_OPENSSL= YES
CONFIGURE_ARGS+= --with-ssl=${OPENSSLBASE}
.endif
.if defined(NO_STATIC)
CFLAGS+=
.else
CFLAGS+= -static
.endif
MAN1= ftimes.1
post-patch:
${REINPLACE_CMD} -e "s,-O2,${CFLAGS},g" ${WRKSRC}/configure
post-install:
${STRIP_CMD} ${PREFIX}/bin/ftimes
.include <bsd.port.mk>