29 lines
773 B
Makefile
29 lines
773 B
Makefile
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= FFI-Platypus
|
|
PORTVERSION= 1.32
|
|
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 <bsd.port.mk>
|