1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00
freebsd-ports/www/logtools/Makefile
2021-04-06 16:31:07 +02:00

30 lines
681 B
Makefile

# Created by: Mark Huizer; Eindhoven
PORTNAME= logtools
PORTVERSION= 0.13e
PORTREVISION= 2
CATEGORIES= www
MASTER_SITES= http://www.coker.com.au/logtools/
MAINTAINER= ports@FreeBSD.org
COMMENT= Useful tools to deal with CLF files (Common Log File format)
LICENSE= GPLv2
USES= compiler:c++11-lang 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>