aboutsummaryrefslogtreecommitdiffstats
path: root/www/p5-Net-eBay/Makefile
blob: 28679d10a0df75e4467e73a6d35c892511f14e88 (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Created by: Alexander Zhuravlev <zaa@zaa.pp.ru>
# $FreeBSD$

PORTNAME=   Net-eBay
PORTVERSION=    0.61
PORTREVISION=   1
CATEGORIES= www perl5
MASTER_SITES=   CPAN
PKGNAMEPREFIX=  p5-

MAINTAINER= sunpoet@FreeBSD.org
COMMENT=    Perl Interface to XML based eBay API

LICENSE=    ART10 GPLv1
LICENSE_COMB=   dual

BUILD_DEPENDS=  p5-Crypt-SSLeay>=0:security/p5-Crypt-SSLeay \
        p5-DateTime-Precise>=0:devel/p5-DateTime-Precise \
        p5-HTML-Format>=0:textproc/p5-HTML-Format \
        p5-HTML-PrettyPrinter>=0:www/p5-HTML-PrettyPrinter \
        p5-HTML-Tree>=0:www/p5-HTML-Tree \
        p5-HTTP-Date>=0:www/p5-HTTP-Date \
        p5-HTTP-Message>=0:www/p5-HTTP-Message \
        p5-Text-Format>=0:textproc/p5-Text-Format \
        p5-XML-Dumper>=0:textproc/p5-XML-Dumper \
        p5-XML-Simple>=0:textproc/p5-XML-Simple \
        p5-libwww>=0:www/p5-libwww
RUN_DEPENDS:=   ${BUILD_DEPENDS}

OPTIONS_DEFINE= EXAMPLES

NO_ARCH=    yes
USE_PERL5=  configure
USES=       perl5 shebangfix

PORTEXAMPLES=   *

SHEBANG_FILES=  examples/*.pl

post-extract:
    @${MKDIR} ${WRKSRC}/examples/
    @${MV} ${WRKSRC}/*.pl ${WRKSRC}/examples/

post-install-EXAMPLES-on:
    ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
    ${INSTALL_SCRIPT} ${WRKSRC}/examples/*.pl ${STAGEDIR}${EXAMPLESDIR}/

.include <bsd.port.mk>