1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/www/logtools/Makefile
Adam Weinberger 013f4c87ed Stage, and fix build with clang.
PR:		191377
Submitted by:	tkato432@yahoo.com
2014-07-08 20:11:04 +00:00

32 lines
703 B
Makefile

# Created by: Mark Huizer; Eindhoven
# $FreeBSD$
PORTNAME= logtools
PORTVERSION= 0.13d
PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://www.coker.com.au/logtools/ \
LOCAL/chinsan/logtools/
MAINTAINER= ports@FreeBSD.org
COMMENT= Useful tools to deal with CLF files (Common Log File format)
LICENSE= GPLv2
USES= tar:tgz
GNU_CONFIGURE= yes
post-patch:
@${REINPLACE_CMD} -e \
's|-O2 -g|| ; \
s|-lstdc++|| ; \
s| \($${prefix}\)| $${DESTDIR}\1|g ; \
s| \(@mandir@\)| $${DESTDIR}\1|g ; \
s|.cfg |.cfg.sample | ; \
s| \(@sysconfdir@\)| $${DESTDIR}\1|g' ${WRKSRC}/Makefile.in
post-build:
@${LN} -sf clfdomainsplit.cfg ${WRKSRC}/clfdomainsplit.cfg.sample
.include <bsd.port.mk>