# Created by: Greg Larkin # $FreeBSD: head/net/p5-Net-Amazon-MechanicalTurk/Makefile 481365 2018-10-06 13:06:42Z des $ PORTNAME= Net-Amazon-MechanicalTurk PORTVERSION= 1.02 PORTREVISION= 2 CATEGORIES= net perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= bofh@FreeBSD.org COMMENT= Perl interface to the Amazon Mechanical Turk LICENSE= APACHE20 BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Digest-HMAC>=0:security/p5-Digest-HMAC \ p5-IO-String>=0:devel/p5-IO-String \ p5-Mozilla-CA>=0:www/p5-Mozilla-CA \ p5-Net-SSLeay>=1.33:security/p5-Net-SSLeay \ p5-URI>=0:net/p5-URI \ p5-XML-Parser>=0:textproc/p5-XML-Parser \ p5-libwww>=6:www/p5-libwww USES= perl5 shebangfix USE_PERL5= configure SUB_LIST+= HOME=${HOME} EXAMPLESDIR=${EXAMPLESDIR} SUB_FILES= pkg-message OPTIONS_DEFINE= EXAMPLES PORTEXAMPLES= * SHEBANG_FILES= mturk_install.pl post-install: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} @cd ${WRKSRC}/samples && ${FIND} . -type d -exec ${INSTALL} -d ${STAGEDIR}${EXAMPLESDIR}/{} \; @cd ${WRKSRC}/samples && ${FIND} . -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${EXAMPLESDIR}/{} \; .include