freebsd-ports/databases/p5-Mojo-Pg/Makefile
2019-10-20 17:08:41 +00:00

34 lines
744 B
Makefile

# Created by: Adam Weinberger <adamw@FreeBSD.org>
# $FreeBSD$
PORTNAME= Mojo-Pg
PORTVERSION= 4.17
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.03: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>