a765d6b2fc
PR: ports/161595 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
39 lines
812 B
Makefile
39 lines
812 B
Makefile
# New ports collection makefile for: srg
|
|
# Date created: 28 June 2004
|
|
# Whom: Dmitry Semkin <lslarry@gmail.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
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>
|