freebsd-ports/www/srg/Makefile

35 lines
751 B
Makefile
Raw Normal View History

2013-05-05 00:01:18 +02: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
OPTIONS_DEFINE= EXAMPLES
2013-05-05 00:01:18 +02: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:
2014-02-21 15:02:36 +01:00
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
.for ex in srg.daily srg.monthly srg.weekly
2014-02-21 15:02:36 +01:00
${INSTALL_DATA} ${WRKSRC}/examples/${ex} ${STAGEDIR}${EXAMPLESDIR}
.endfor
.include <bsd.port.mk>