aboutsummaryrefslogtreecommitdiffstats
path: root/www/apercu/Makefile
blob: ad78c8e3794b9f614d76dea51a4dbed63372ebfb (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
25
26
27
28
29
30
# ex:ts=8
# Ports collection makefile for:    apercu
# Date created:             Sep 21, 2006
# Whom:                 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

MAN1=       apercu.1
PLIST_FILES=    bin/apercu

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

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

.include <bsd.port.mk>