aboutsummaryrefslogtreecommitdiffstats
path: root/databases/p5-Mojo-Pg/Makefile
blob: 79290c17f92a02f717ab2367991d1eaf5d2d8728 (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
# Created by: Adam Weinberger <adamw@FreeBSD.org>
# $FreeBSD$

PORTNAME=   Mojo-Pg
PORTVERSION=    2.06
CATEGORIES= databases www perl5
MASTER_SITES=   CPAN
MASTER_SITE_SUBDIR= CPAN:SRI
PKGNAMEPREFIX=  p5-

MAINTAINER= perl@FreeBSD.org
COMMENT=    PostgreSQL integration for p5-Mojolicious

LICENSE=    ART20

BUILD_DEPENDS=  p5-DBD-Pg>=0:${PORTSDIR}/databases/p5-DBD-Pg \
        p5-Mojolicious>=6.0:${PORTSDIR}/www/p5-Mojolicious
RUN_DEPENDS:=   ${BUILD_DEPENDS}

OPTIONS_DEFINE= EXAMPLES

NO_ARCH=    yes
USES=       perl5
USE_PERL5=  configure

PORTEXAMPLES=   *

post-install:
    @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
    (cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})

.include <bsd.port.mk>