aboutsummaryrefslogtreecommitdiffstats
path: root/www/phproxy/Makefile
blob: fe94406fbda03e015b0d8f028983c4451587ce10 (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
36
37
38
39
40
41
42
# New ports collection makefile for:    eventum
# Date created:     2006-01-06
# Whom:         Babak Farrokhi <babak@farrokhi.net>
#
# $FreeBSD$
#

PORTNAME=   phproxy
PORTVERSION=    0.5b2
PORTREVISION=   3
CATEGORIES= www
MASTER_SITES=   SF
MASTER_SITE_SUBDIR= poxy
DISTNAME=   poxy-${DISTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    PHP based web proxy

NO_BUILD=   YES
WANT_PHP_WEB=   YES
USE_ZIP=    YES
USE_PHP=    ctype pcre
EXTRACT_AFTER_ARGS+=    -d ${WRKSRC}

DOCFILES=   ChangeLog.txt LICENSE.txt README.txt TODO.txt

do-install:

.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
.for i in ${DOCFILES}
    @${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}/${i}
.endfor
.endif

    @${RM} ${WRKSRC}/*.txt
    ${MKDIR} ${WWWDIR}
    @(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${WWWDIR}/)
    @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>