aboutsummaryrefslogtreecommitdiffstats
path: root/www/p5-Nginx-ReadBody/Makefile
blob: 8d096ae189120f47b244e6a964fa75ae71e9da15 (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
# New ports collection makefile for:    p5-Nginx-ReadBody
# Date created:             2010-04-19
# Whom:                 jupengfei <jupengfei@gmail.com>
#
# $FreeBSD$
#

PORTNAME=   Nginx-ReadBody
PORTVERSION=    0.07
CATEGORIES= www perl5
MASTER_SITES=   CPAN
MASTER_SITE_SUBDIR= CPAN:TPABA/Nginx
PKGNAMEPREFIX=  p5-

MAINTAINER= jupengfei@gmail.com
COMMENT=    Nginx embeded perl module to read and evaluate a request body

OPTIONS=    NGINX_DEVEL "Use nginx-devel" off

.include <bsd.port.options.mk>

.if defined(WITH_NGINX_DEVEL)
RUN_DEPENDS+=   nginx:${PORTSDIR}/www/nginx-devel
.else
RUN_DEPENDS+=   nginx:${PORTSDIR}/www/nginx
.endif

PERL_CONFIGURE= YES

pre-everything::
        @${CAT} ${PKGMESSAGE}

MAN3=       Nginx::ReadBody.3 \
        Nginx::ReadBody::Russian.3

.include <bsd.port.mk>