openbsd-ports/graphics/p5-GD-SecurityImage/Makefile
simon 47d751bd31 import p5-GD-SecurityImage
The (so called) "Security Images" are so popular.  Most internet
software use these in their registration screens to block robot programs
(which may register tons of fake member accounts).  Security images are
basicaly, graphical CAPTCHAs (Completely Automated Public Turing Test to
Tell Computers and Humans Apart).  This module gives you a basic
interface to create such an image.  The final output is the actual
graphic data, the mime type of the graphic and the created random
string.  The module also has some "styles" that are used to create the
background (or foreground) of the image.
2007-09-15 16:40:52 +00:00

27 lines
623 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2007/09/15 16:40:52 simon Exp $
COMMENT= security image (captcha) generator
MODULES= cpan
DISTNAME= GD-SecurityImage-1.64
CATEGORIES= graphics security
MAINTAINER= Simon Bertrang <simon@openbsd.org>
# Perl
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
RUN_DEPENDS= ::graphics/p5-GD
CONFIGURE_STYLE=modbuild
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/p5-GD-SecurityImage
sed -e 's!\r!!' ${WRKSRC}/eg/demo.pl \
> ${PREFIX}/share/examples/p5-GD-SecurityImage/demo.pl
.include <bsd.port.mk>