1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/japanese/p5-Date-Japanese-Holiday/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

25 lines
512 B
Makefile

# $FreeBSD$
PORTNAME= Date-Japanese-Holiday
PORTVERSION= 0.05
PORTREVISION= 3
CATEGORIES= japanese perl5
MASTER_SITES= CPAN
MAINTAINER= kuriyama@FreeBSD.org
COMMENT= Perl module for Calculate Japanese Holiday
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= p5-Date-Calc>5.3:devel/p5-Date-Calc \
p5-Date-Simple>1.03:devel/p5-Date-Simple \
p5-Time-modules>0.01:devel/p5-Time-modules
USES= perl5
USE_PERL5= configure
.include <bsd.port.pre.mk>
PKGNAMEPREFIX:= ${PKGNAMEPREFIX}p5-
.include <bsd.port.post.mk>