7 CATEGORIES= sysutils www
8 MASTER_SITES= ftp://ftp.nuug.no/pub/anders/distfiles/
10 MAINTAINER= ports@FreeBSD.org
11 COMMENT= Apache log rollover program with strftime(3) filename support
14 CONFIGURE_ARGS= --prefix=${PREFIX}
15 PORTDOCS= ChangeLog README
21 ${REINPLACE_CMD} -e "s@<wait.h>@<sys/wait.h>@" httplog.c && \
23 "s@/var/lib/apache/bin/httplog@${PREFIX}/sbin/httplog@" \
27 (cd ${WRKSRC} && ${CC} ${CFLAGS} -o httplog httplog.c -lz)
30 ${INSTALL_PROGRAM} ${WRKSRC}/httplog ${STAGEDIR}${PREFIX}/sbin
31 ${INSTALL_MAN} ${WRKSRC}/httplog.8 ${STAGEDIR}${MAN8PREFIX}/man/man8
32 ${MKDIR} ${STAGEDIR}${DOCSDIR}
34 ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
37 .include <bsd.port.mk>