1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00
freebsd-ports/www/srg/Makefile

38 lines
768 B
Makefile
Raw Normal View History

2013-05-04 22:01:18 +00:00
# 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= A Squid Report Generator
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USE_BZIP2= yes
GNU_CONFIGURE= yes
MAN1= srg.1
NO_STAGE= yes
2013-05-04 22:01:18 +00:00
.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:
2013-05-04 22:01:18 +00:00
.if ${PORT_OPTIONS:MEXAMPLES}
@${MKDIR} ${EXAMPLESDIR}
.for ex in srg.daily srg.monthly srg.weekly
${INSTALL_DATA} ${WRKSRC}/examples/${ex} ${EXAMPLESDIR}
.endfor
.endif
.include <bsd.port.mk>