head	1.16;
access;
symbols
	RELEASE_8_3_0:1.15
	RELEASE_9_0_0:1.15
	RELEASE_7_4_0:1.12
	RELEASE_8_2_0:1.12
	RELEASE_6_EOL:1.12
	RELEASE_8_1_0:1.12
	RELEASE_7_3_0:1.12
	RELEASE_8_0_0:1.12
	RELEASE_7_2_0:1.11
	RELEASE_7_1_0:1.11
	RELEASE_6_4_0:1.11
	RELEASE_5_EOL:1.10
	RELEASE_7_0_0:1.9
	RELEASE_6_3_0:1.9
	PRE_XORG_7:1.8
	RELEASE_4_EOL:1.8
	RELEASE_6_2_0:1.8
	RELEASE_6_1_0:1.7
	RELEASE_5_5_0:1.7
	RELEASE_6_0_0:1.7
	RELEASE_5_4_0:1.7
	RELEASE_4_11_0:1.7
	RELEASE_5_3_0:1.6;
locks; strict;
comment	@# @;


1.16
date	2012.11.17.06.03.06;	author svnexp;	state Exp;
branches;
next	1.15;

1.15
date	2011.10.15.16.29.03;	author lwhsu;	state Exp;
branches;
next	1.14;

1.14
date	2011.09.23.22.26.06;	author amdmi3;	state Exp;
branches;
next	1.13;

1.13
date	2011.06.11.20.02.00;	author bapt;	state Exp;
branches;
next	1.12;

1.12
date	2009.08.22.00.38.25;	author amdmi3;	state Exp;
branches;
next	1.11;

1.11
date	2008.07.25.12.48.46;	author pav;	state Exp;
branches;
next	1.10;

1.10
date	2008.03.20.10.03.51;	author pav;	state Exp;
branches;
next	1.9;

1.9
date	2007.10.17.10.12.59;	author ade;	state Exp;
branches;
next	1.8;

1.8
date	2006.05.13.04.41.20;	author edwin;	state Exp;
branches;
next	1.7;

1.7
date	2004.11.05.12.47.58;	author pav;	state Exp;
branches;
next	1.6;

1.6
date	2004.07.07.11.21.22;	author osa;	state Exp;
branches;
next	1.5;

1.5
date	2004.07.06.12.25.14;	author osa;	state Exp;
branches;
next	1.4;

1.4
date	2004.07.05.11.14.23;	author osa;	state Exp;
branches;
next	1.3;

1.3
date	2004.07.04.00.43.16;	author kris;	state Exp;
branches;
next	1.2;

1.2
date	2004.07.01.08.30.35;	author osa;	state Exp;
branches;
next	1.1;

1.1
date	2004.06.29.10.30.46;	author osa;	state Exp;
branches;
next	;


desc
@@


1.16
log
@Switch exporter over
@
text
@# New ports collection makefile for:	srg
# Date created:		28 June 2004
# Whom:			Dmitry Semkin <lslarry@@gmail.com>
#
# $FreeBSD: head/www/srg/Makefile 300897 2012-07-14 14:29:18Z beat $
#

PORTNAME=	srg
PORTVERSION=	1.3.6
CATEGORIES=	www
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} \
		http://mirror.crc.net.nz/pub/srg/

MAINTAINER=	ports@@FreeBSD.org
COMMENT=	A Squid Report Generator

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/COPYING

USE_BZIP2=	yes
GNU_CONFIGURE=	yes
MAKE_JOBS_SAFE=	yes

MAN1=		srg.1

post-patch:
	@@${REINPLACE_CMD} -e \
		'/CPPFLAGS/s|-I/usr/local/include|| ; \
		 /LDFLAGS/s|-L/usr/local/lib||' ${WRKSRC}/configure

post-install:
.if !defined(NOPORTEXAMPLES)
	@@${MKDIR} ${EXAMPLESDIR}
.for ex in srg.daily srg.monthly srg.weekly
	${INSTALL_DATA} ${WRKSRC}/examples/${ex} ${EXAMPLESDIR}
.endfor
.endif

.include <bsd.port.mk>
@


1.15
log
@- Update to 1.3.6

PR:		ports/161595
Submitted by:	KATO Tsuguru <tkato432@@yahoo.com>
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.14
log
@- Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
@
text
@d9 1
a9 2
PORTVERSION=	1.1
PORTREVISION=	1
d17 3
a19 2
USE_GMAKE=	yes
USE_BISON=	build
d21 4
a24 1
NO_INSTALL_MANPAGES=	yes
d27 10
a36 9
	${REINPLACE_CMD} -e 's|-g |${CFLAGS} ${CPPFLAGS} |' ${WRKSRC}/Makefile \
		${WRKSRC}/lib/Makefile
	${REINPLACE_CMD} -e 's|^\(LDFLAGS\)=|\1+=|' ${WRKSRC}/Makefile

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/srg ${PREFIX}/bin
.if !defined(NOPORTDOCS)
	${MKDIR} ${EXAMPLESDIR}
	${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
@


1.13
log
@Reset maintainer

Submitted by:	maintainer (by mail)
@
text
@a21 1
MAKE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
@


1.12
log
@- Switch SourceForge ports to the new File Release System: categories starting with W
@
text
@d15 1
a15 2

MAINTAINER=	ds@@tic-tac.ru
@


1.11
log
@- Remove duplicates from MAKE_ENV after inclusion of CC and CXX in default MAKE_ENV
@
text
@d12 1
a12 1
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE} \
d14 1
a14 1
MASTER_SITE_SUBDIR=	${PORTNAME}
@


1.10
log
@- Remove USE_GETOPT_LONG which is a no-op since March 2007
@
text
@d23 1
a23 2
MAKE_ENV=	CC="${CC}" CXX="${CXX}" \
		CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
@


1.9
log
@Migration from bison 1.x to 2.x

PR:		117086
Tested by:	-exp runs
@
text
@a21 1
USE_GETOPT_LONG=yes
@


1.8
log
@Remove USE_REINPLACE from categories starting with W
@
text
@d10 1
d20 1
a20 1
USE_BISON=	yes
@


1.7
log
@- Update to 1.1

PR:		ports/73507
Submitted by:	Matthew Luckie <mjl@@luckie.org.nz>
Approved by:	maintainer
@
text
@a20 1
USE_REINPLACE=	yes
@


1.6
log
@Update maintainer's e-mail address.

Notice from:	maintainer
@
text
@d9 1
a9 2
PORTVERSION=	1.0
PORTREVISION=	1
a26 6
PLIST_FILES=	bin/srg
.for i in footer.php header.php ip2user.txt srg.conf
PLIST_FILES+=	share/examples/srg/${i}
.endfor
PLIST_DIRS=	share/examples/srg

d34 1
d37 1
@


1.5
log
@Attempt to fix build for sparc64.

Notice from:	kris via bento
Patch from:	Matt Brown <matt at crc dot net dot nz> (aka author)
@
text
@d16 1
a16 1
MAINTAINER=	lslarry@@gmail.com
@


1.4
log
@Fix MAINTAINER e-mail address.

Notice from:	kris
@
text
@d10 1
a33 6
.include <bsd.port.pre.mk>

.if ${ARCH} == "sparc64"
BROKEN=		"Fails self-tests on sparc64"
.endif

d44 1
a44 1
.include <bsd.port.post.mk>
@


1.3
log
@Reset maintainer:

<lslarry@@gmail.ru>:
Sorry, no mailbox here by that name. (#5.1.1)

Mark BROKEN on sparc64 (assertion failure during build)
@
text
@d3 1
a3 1
# Whom:			Dmitry Semkin <lslarry@@gmail.ru>
d15 1
a15 1
MAINTAINER=	ports@@FreeBSD.org
@


1.2
log
@Fix build under 4.x by use USE_GETOPT_LONG.

Notice from:	kris and bento
@
text
@d15 1
a15 1
MAINTAINER=	lslarry@@gmail.ru
d33 6
d49 1
a49 1
.include <bsd.port.mk>
@


1.1
log
@Add Squid Report Generator.

Main features are:
 * PHP Output with built in authentication hooks
 * Fast Processing
 * Reporting right down the the location vistied

Submitted by:	Dmitry Semkin <lslarry@@gmail.ru>
@
text
@d22 1
d24 2
a25 1
MAKE_ENV=	CC="${CC}" CXX="${CXX}"
d34 1
a34 1
	${REINPLACE_CMD} -e 's|-g |${CFLAGS} |' ${WRKSRC}/Makefile \
d36 1
@

