aboutsummaryrefslogtreecommitdiffstats
path: root/www/bacon/Makefile
blob: 4e17fe410e53a26399b0a1fe5d556eb1a3c44334 (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
31
32
33
34
35
# New ports collection makefile for:   bacon
# Date created:        9 September 1999
# Whom:                Justin Robinson <jmrobins@samurai.ruin.org>
#
# $FreeBSD$
#

PORTNAME=   bacon
PORTVERSION=    1.071999
CATEGORIES= www
MASTER_SITES=   http://galileo.spaceports.com/~jharris/distfiles/ \
        ftp://samurai.ruin.org/pub/All/

MAINTAINER= jmrobins@samurai.ruin.org
COMMENT=    Quick, easy-to-read, web statistics program

USE_PERL5=  yes
NO_BUILD=   yes

pre-patch:
    @${PERL} -pi.orig -e 's|${LOCALBASE}/bin/perl|${PERL}|' \
        ${WRKSRC}/bacon.pl

do-install:
    ${MKDIR} ${PREFIX}/www/cgi-bin
    ${INSTALL_SCRIPT} ${WRKSRC}/bacon.pl ${PREFIX}/www/cgi-bin/bacon.pl

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    @${INSTALL_DATA} ${WRKSRC}/INSTALL ${DOCSDIR}
.endif
    @${SED} -e "s|INSTALL|${DOCSDIR}/INSTALL|" ${PKGMESSAGE}

.include <bsd.port.mk>