2004-06-29 12:30:46 +02:00
|
|
|
# New ports collection makefile for: srg
|
|
|
|
# Date created: 28 June 2004
|
2004-07-05 13:14:23 +02:00
|
|
|
# Whom: Dmitry Semkin <lslarry@gmail.com>
|
2004-06-29 12:30:46 +02:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= srg
|
2004-11-05 13:47:58 +01:00
|
|
|
PORTVERSION= 1.1
|
2007-10-17 12:13:01 +02:00
|
|
|
PORTREVISION= 1
|
2004-06-29 12:30:46 +02:00
|
|
|
CATEGORIES= www
|
2009-08-22 02:38:34 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} \
|
2004-06-29 12:30:46 +02:00
|
|
|
http://mirror.crc.net.nz/pub/srg/
|
2009-08-22 02:38:34 +02:00
|
|
|
|
2011-06-11 22:03:45 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2004-06-29 12:30:46 +02:00
|
|
|
COMMENT= A Squid Report Generator
|
|
|
|
|
|
|
|
USE_GMAKE= yes
|
2007-10-17 12:13:01 +02:00
|
|
|
USE_BISON= build
|
2004-06-29 12:30:46 +02:00
|
|
|
USE_BZIP2= yes
|
|
|
|
NO_INSTALL_MANPAGES= yes
|
|
|
|
|
|
|
|
post-patch:
|
2004-07-01 10:30:35 +02:00
|
|
|
${REINPLACE_CMD} -e 's|-g |${CFLAGS} ${CPPFLAGS} |' ${WRKSRC}/Makefile \
|
2004-06-29 12:30:46 +02:00
|
|
|
${WRKSRC}/lib/Makefile
|
2004-07-01 10:30:35 +02:00
|
|
|
${REINPLACE_CMD} -e 's|^\(LDFLAGS\)=|\1+=|' ${WRKSRC}/Makefile
|
2004-06-29 12:30:46 +02:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/srg ${PREFIX}/bin
|
2004-11-05 13:47:58 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
2004-06-29 12:30:46 +02:00
|
|
|
${MKDIR} ${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
|
2004-11-05 13:47:58 +01:00
|
|
|
.endif
|
2004-06-29 12:30:46 +02:00
|
|
|
|
2004-07-06 14:25:14 +02:00
|
|
|
.include <bsd.port.mk>
|