blob: a2f3ffedde9dcd10cceefdfb2e1a76681d1cece2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# 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.0
CATEGORIES= www
MASTER_SITES= SF
MAINTAINER= toxa@toxahost.ru
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
.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>
|