1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00
freebsd-ports/www/free-sa/Makefile

45 lines
1.0 KiB
Makefile

# Created by: Anton Karpov <toxa@toxahost.ru>
# $FreeBSD$
PORTNAME= free-sa
PORTVERSION= 1.6.2
CATEGORIES= www
MASTER_SITES= SF
MAINTAINER= lippe@FreeBSD.org
COMMENT= Statistic analyzer for daemons log files similar to SARG
PORTDOCS= COPYING INSTALL README README.DEV ChangeLog FAQ THANKS
DOCSDIR= share/doc/free-sa-${DISTVERSION}
MAN1= free-sa.1
MAN5= free-sa.conf.5
CONFLICTS= free-sa-devel[0-9]*
LATEST_LINK= free-sa
NO_STAGE= yes
.include <bsd.port.pre.mk>
.if ${ARCH} == "sparc64"
BROKEN= Does not configure on sparc64
.endif
.if defined(NOPORTDOCS)
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-Makefile
.endif
.if (${OSVERSION} >= 700000 && ${OSVERSION} <= 800000)
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-global-native.mk
.else
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-global-i386.mk
.if ${ARCH} != "i386"
BROKEN= build fails with error: CPU you selected does not support x86-64 instruction set
.endif
.endif
post-patch:
@${REINPLACE_CMD} -e 's,^CFLAGS =.*,CFLAGS = -I. -I.. ${CFLAGS},' ${WRKSRC}/global.mk
.include <bsd.port.post.mk>