freebsd-ports/www/free-sa/Makefile
Felippe de Meirelles Motta 3d3b17f223 - Fix LATEST_LINK reference.
Reported by:	erwin
Feature safe:	yes
2009-09-20 16:31:35 +00:00

48 lines
1.1 KiB
Makefile

# New ports collection makefile for: free-sa
# Date created: 22 Mar 2007
# Whom: 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}
MAKE_JOBS_SAFE= yes
MAN1= free-sa.1
MAN5= free-sa.conf.5
CONFLICTS= free-sa-devel[0-9]*
LATEST_LINK= free-sa
.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>