aboutsummaryrefslogtreecommitdiffstats
path: root/www/apercu/Makefile
blob: c9c0ce177e370ae1a9fd5c2fb6ee543e399a04e7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Created by: mich
# $FreeBSD$

PORTNAME=   apercu
PORTVERSION=    1.0.2
CATEGORIES= www
MASTER_SITES=   http://www.incava.org/pub/apercu/

MAINTAINER= mich@FreeBSD.org
COMMENT=    Summarize information from Apache logs

USE_RUBY=   yes
NO_BUILD=   yes

PLIST_FILES=    bin/apercu man/man1/apercu.1.gz

pre-patch:
    @${REINPLACE_CMD} -e 's|/usr/bin/ruby|${RUBY}|' ${WRKSRC}/apercu

do-install:
    ${INSTALL_SCRIPT} ${WRKSRC}/apercu ${STAGEDIR}${PREFIX}/bin
    ${INSTALL_MAN} ${WRKSRC}/apercu.1 ${STAGEDIR}${MANPREFIX}/man/man1

.include <bsd.port.mk>