# Created by: Po-Chuan Hsieh # $FreeBSD: head/devel/p5-FFI-Platypus/Makefile 554502 2020-11-08 17:12:36Z sunpoet $ PORTNAME= FFI-Platypus PORTVERSION= 1.34 CATEGORIES= devel perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= sunpoet@FreeBSD.org COMMENT= Write Perl bindings to non-Perl libraries with FFI LICENSE= ART10 GPLv1+ LICENSE_COMB= dual LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${RUN_DEPENDS} LIB_DEPENDS= libffi.so:devel/libffi RUN_DEPENDS= p5-Capture-Tiny>=0:devel/p5-Capture-Tiny \ p5-FFI-CheckLib>=0.05:devel/p5-FFI-CheckLib USES= gmake perl5 pkgconfig USE_PERL5= configure post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/FFI/Platypus/Platypus.so ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/share/dist/FFI-Platypus/lib/libplfill.so .include