freebsd-ports/net/p5-Net-Amazon-MechanicalTurk/Makefile
Sunpoet Po-Chuan Hsieh d7bc9f2b66 - Add LICENSE
- Use single space after WWW:
- Pass maintainership to submitter
- While I'm here:
  - Fix *_DEPENDS: remove p5-Module-Build
  - Sort *_DEPENDS
  - Remove .include <bsd.port.options.mk>
  - Bump PORTREVISION for dependency change

PR:		ports/189256
Submitted by:	Muhammad Moinur Rahman <5u623l20@gmail.com>
2014-05-03 08:48:28 +00:00

41 lines
1.1 KiB
Makefile

# Created by: Greg Larkin <glarkin@FreeBSD.org>
# $FreeBSD$
PORTNAME= Net-Amazon-MechanicalTurk
PORTVERSION= 1.02
PORTREVISION= 1
CATEGORIES= net perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= 5u623l20@gmail.com
COMMENT= Perl interface to the Amazon Mechanical Turk
LICENSE= APACHE20
BUILD_DEPENDS= p5-Digest-HMAC>=0:${PORTSDIR}/security/p5-Digest-HMAC \
p5-IO-String>=0:${PORTSDIR}/devel/p5-IO-String \
p5-Mozilla-CA>=0:${PORTSDIR}/www/p5-Mozilla-CA \
p5-Net-SSLeay>=1.33:${PORTSDIR}/security/p5-Net-SSLeay \
p5-URI>=0:${PORTSDIR}/net/p5-URI \
p5-XML-Parser>=0:${PORTSDIR}/textproc/p5-XML-Parser \
p5-libwww>=6:${PORTSDIR}/www/p5-libwww
RUN_DEPENDS:= ${BUILD_DEPENDS}
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 <bsd.port.mk>