1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-30 10:38:37 +00:00
freebsd-ports/converters/p5-JSON-XS/Makefile
Dag-Erling Smørgrav 9dff352320 Fix every instance of RUN_DEPENDS:=${BUILD_DEPENDS} in p5 ports, except
for where it resulted in a change in output from build-depends-list or
run-depends-list.

Approved by:	portmgr (adamw)
2018-10-06 13:06:42 +00:00

31 lines
717 B
Makefile

# Created by: Lung Sung <clsung@FreeBSD.org>
# $FreeBSD$
PORTNAME= JSON-XS
PORTVERSION= 3.04
CATEGORIES= converters perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= JSON serialising/deserialising, done correctly and fast
LICENSE= ART10 GPLv1+
LICENSE_COMB= dual
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= p5-Types-Serialiser>=0:devel/p5-Types-Serialiser \
p5-common-sense>0:devel/p5-common-sense
USES= perl5
USE_PERL5= configure
post-patch:
# This dependency does nothing and is safe to remove
@${REINPLACE_CMD} -e '/use Canary::Stability/d' ${WRKSRC}/Makefile.PL
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/JSON/XS/XS.so
.include <bsd.port.mk>