1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/www/srg/Makefile
Olli Hauer a3f7aafc78 ports in cat www where MAINTAINER=ports
- USE_BZIP2 -> USES= tar:bzip2
- LICENSE=BSD -> BSD[n]CLAUSE
2014-03-16 16:07:59 +00:00

35 lines
751 B
Makefile

# Created by: 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= Squid Report Generator
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USES= tar:bzip2
GNU_CONFIGURE= yes
OPTIONS_DEFINE= EXAMPLES
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e \
'/CPPFLAGS/s|-I/usr/local/include|| ; \
/LDFLAGS/s|-L/usr/local/lib||' ${WRKSRC}/configure
post-install:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
.for ex in srg.daily srg.monthly srg.weekly
${INSTALL_DATA} ${WRKSRC}/examples/${ex} ${STAGEDIR}${EXAMPLESDIR}
.endfor
.include <bsd.port.mk>