freebsd-ports/net/p5-REST-Google/Makefile
Adam Weinberger 10f22ecd6d Clean up the rest of the perl@ Makefiles a bit.
- Remove dependencies on modules distributed as part of perl core
- Remove references to FreeBSD < 8 and perl < 5.16
- Ensure that DOCS and EXAMPLES options exist for ports installing
  PORTDOCS or PORTEXAMPLES
- Reduce unnecessary inclusions of bsd.port.options.mk by using
  OPTIONS helpers and the like
- Fix some cases where dependencies were only assigned to BUILD_DEPENDS
- Fix a few of the cases where dependencies were only assigned to RUN_DEPENDS.
  This one happens in many, many ports. I only applied it in cases where
  it interfered with 'make test' but it should maybe be done more generally.
- Mute ${MKDIR} in installation
- Parethesize compound commands
- In www/p5-URI-Fetch, remove the ZLIB option that wasn't used
2015-03-13 17:29:58 +00:00

25 lines
676 B
Makefile

# Created by: Cheng-Lung Sung <clsung@FreeBSD.org>
# $FreeBSD$
PORTNAME= REST-Google
PORTVERSION= 1.0.8
PORTREVISION= 2
CATEGORIES= net perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:EJS
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Access Google REST (aka AJAX) API from Perl
RUN_DEPENDS= p5-libwww>=0:${PORTSDIR}/www/p5-libwww \
p5-Class-Accessor>0:${PORTSDIR}/devel/p5-Class-Accessor \
p5-Class-Data-Inheritable>0:${PORTSDIR}/devel/p5-Class-Data-Inheritable \
p5-URI>=1.35:${PORTSDIR}/net/p5-URI \
p5-JSON-Any>=1.16:${PORTSDIR}/converters/p5-JSON-Any
BUILD_DEPENDS:= ${RUN_DEPENDS}
USES= perl5
USE_PERL5= modbuild
.include <bsd.port.mk>