blob: 8b92a67b542856c990564cca7839c62eca6668c6 (
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
|
# 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>
|