1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/www/logtools/Makefile
Mark Linimon aecf049634 Fix build on gcc-based archs by updating USES.
Tested on powerpc64 and amd64 (for no regression).

While here, pet portlint.

Approved by:	portmgr (tier-2 blanket)
2018-09-22 05:30:31 +00:00

30 lines
677 B
Makefile

# Created by: Mark Huizer; Eindhoven
# $FreeBSD$
PORTNAME= logtools
PORTVERSION= 0.13e
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>