mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-14 03:10:47 +00:00
71e3f7a7bf
Submitted by: maintainer (by mail)
37 lines
864 B
Makefile
37 lines
864 B
Makefile
# New ports collection makefile for: srg
|
|
# Date created: 28 June 2004
|
|
# Whom: Dmitry Semkin <lslarry@gmail.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= srg
|
|
PORTVERSION= 1.1
|
|
PORTREVISION= 1
|
|
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
|
|
|
|
USE_GMAKE= yes
|
|
USE_BISON= build
|
|
USE_BZIP2= yes
|
|
NO_INSTALL_MANPAGES= yes
|
|
MAKE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
|
|
|
post-patch:
|
|
${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}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|