1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00
freebsd-ports/www/p5-Net-eBay/Makefile
Beech Rintoul c77a5af19e - Update to 0.49
PR:		ports/125119
Submitted by:	Wen heping <wenheping@gmail.com>
Approved by:	Alexander Zhuravlev <zaa@zaa.pp.ru> (maintainer)
2008-07-04 02:03:08 +00:00

42 lines
1.2 KiB
Makefile

# New ports collection makefile for: p5-Net-eBay
# Date created: Sat May 27 13:25:11 UTC 2006
# Whom: Alexander Zhuravlev <zaa@zaa.pp.ru>
#
# $FreeBSD$
#
PORTNAME= Net-eBay
PORTVERSION= 0.49
CATEGORIES= www perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= zaa@zaa.pp.ru
COMMENT= Perl Interface to XML based eBay API
BUILD_DEPENDS= ${SITE_PERL}/Bundle/LWP.pm:${PORTSDIR}/www/p5-libwww
BUILD_DEPENDS+= ${SITE_PERL}/XML/Simple.pm:${PORTSDIR}/textproc/p5-XML-Simple
BUILD_DEPENDS+= ${SITE_PERL}/XML/Dumper.pm:${PORTSDIR}/textproc/p5-XML-Dumper
BUILD_DEPENDS+= ${SITE_PERL}/DateTime/Precise.pm:${PORTSDIR}/devel/p5-DateTime-Precise
BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Crypt/SSLeay.pm:${PORTSDIR}/security/p5-Crypt-SSLeay
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
INSTALL_TARGET= pure_install
PLIST_SUB+= EXAMPLESDIR="share/examples/${PORTNAME}"
MAN3= Net::eBay.3
pre-configure:
${MKDIR} ${WRKSRC}/examples
${MV} ${WRKSRC}/*.pl ${WRKSRC}/examples/
post-install:
.ifndef(NOPORTEXAMPLES)
@${ECHO_MSG} "===> Installing examples for ${PKGNAME}"
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_SCRIPT} ${WRKSRC}/examples/* ${EXAMPLESDIR}/
.endif
.include <bsd.port.mk>