freebsd-ports/www/p5-Google-Search/Makefile
Mathieu Arnold f6d56007b9 Remove all := from BUILD_DEPENDS, here are never needed.
While there, cleanup, and sort depends.

When build and run dependencies are the same, there are three ways to
avoid duplicating the list while not adding the framework added
BUILD_DEPENDS to the RUN_DEPENDS.  In order of preference, they are:

1) use RUN_DEPENDS to set BUILD_DEPENDS:

BUILD_DEPENDS=	${RUN_DEPENDS}
RUN_DEPENDS=	foo:bar/baz

2) create another variable and use it:

MY_DEPENDS= foo:bar/baz
BUILD_DEPENDS=	${MY_DEPENDS}
RUN_DEPENDS=	${MY_DEPENDS}

3) use BUILD_DEPENDS to set RUN_DEPENDS and force evaluation:

BUILD_DEPENDS=	foo:bar/baz
RUN_DEPENDS:=	${BUILD_DEPENDS}

Sponsored by:	Absolight
2018-07-09 08:40:17 +00:00

30 lines
695 B
Makefile

# Created by: Emanuel Haupt <ehaupt@FreeBSD.org>
# $FreeBSD$
PORTNAME= Google-Search
PORTVERSION= 0.028
PORTREVISION= 1
CATEGORIES= www perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Interface to the Google AJAX Search API and suggestion API
LICENSE= ART10 GPLv1+
LICENSE_COMB= dual
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= p5-Any-Moose>=0:devel/p5-Any-Moose \
p5-JSON>=2.16:converters/p5-JSON \
p5-Carp-Clan-Share>=0:devel/p5-Carp-Clan-Share \
p5-Test-Most>=0:devel/p5-Test-Most \
p5-URI>=0:net/p5-URI \
p5-libwww>0:www/p5-libwww \
p5-Try-Tiny>=0.07:lang/p5-Try-Tiny
USES= perl5
USE_PERL5= configure
NO_ARCH= yes
.include <bsd.port.mk>