aboutsummaryrefslogblamecommitdiff
path: root/databases/p5-Mojo-Pg/Makefile
blob: e7b7cc244023ed54f2c110f4147f92e00d46050f (plain) (tree)
1
2
3
4
5
6
7
8
9
10



                                                 
                    




                                   
                                   


                                                         
                                 
 
                              
                                                      
                                                         
                                                               



                         

                   
                        
 
                         


                                                                                
                      
# Created by: Adam Weinberger <adamw@FreeBSD.org>
# $FreeBSD$

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

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

LICENSE=	ART20
LICENSE_FILE=	${WRKSRC}/LICENSE

BUILD_DEPENDS=	${RUN_DEPENDS}
RUN_DEPENDS=	p5-DBD-Pg>=3.7.4:databases/p5-DBD-Pg \
		p5-Mojolicious>=8.50:www/p5-Mojolicious \
		p5-SQL-Abstract>=1.86:databases/p5-SQL-Abstract

USES=		perl5
USE_PERL5=	configure

NO_ARCH=	yes

OPTIONS_DEFINE=	EXAMPLES

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

.include <bsd.port.mk>