openbsd-ports/net/p5-Net-Amazon/Makefile
simon 85d0153e13 cpanify and set a few licenses
feedback & ok steven@
2007-01-14 20:49:05 +00:00

31 lines
746 B
Makefile

# $OpenBSD: Makefile,v 1.7 2007/01/14 20:49:05 simon Exp $
COMMENT= "Perl Interface to Amazon.{co.uk,com} Web Services"
MODULES= cpan
DISTNAME= Net-Amazon-0.35
PKGNAME= p5-${DISTNAME}p0
CATEGORIES= net
MAINTAINER= Sam Smith <s@msmith.net>
# GPL/Artistic License
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= :p5-XML-Simple->=2.08:textproc/p5-XML-Simple \
::devel/p5-Log-Log4perl \
:p5-libwww-*:www/p5-libwww
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/p5-Net-Amazon
cd ${WRKDIR}/${DISTNAME}/eg; \
for i in *; do \
${INSTALL_SCRIPT} $$i ${PREFIX}/share/examples/p5-Net-Amazon; \
done
.include <bsd.port.mk>