opnsense-ports/www/logtools/Makefile
Franco Fichtner d543c3ab93 */*: sync with upstream
Taken from: FreeBSD
2016-04-02 16:03:17 +02:00

31 lines
701 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>