aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-XS-Object-Magic/Makefile
blob: 73968ddd0efdbe459445c6bc64991799d5245986 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# $FreeBSD$

PORTNAME=   XS-Object-Magic
PORTVERSION=    0.04
PORTREVISION=   2
CATEGORIES= devel perl5
MASTER_SITES=   CPAN
MASTER_SITE_SUBDIR= CPAN:FLORA
PKGNAMEPREFIX=  p5-

MAINTAINER= sunpoet@FreeBSD.org
COMMENT=    Opaque, extensible XS pointer backed objects using sv_magic

BUILD_DEPENDS=  p5-ExtUtils-Depends>=0.302:devel/p5-ExtUtils-Depends
TEST_DEPENDS=   p5-Test-Fatal>=0:devel/p5-Test-Fatal

USE_PERL5=  configure
USES=       perl5

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 502200
TEST_DEPENDS+=  p5-Test-Simple>=1.001.014:devel/p5-Test-Simple
.endif

post-install:
    ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/XS/Object/Magic/Magic.so

.include <bsd.port.post.mk>