hack to recolor gifs on the fly

This commit is contained in:
espie 2006-11-13 15:19:51 +00:00
parent 772f19bcef
commit 33a5326216
5 changed files with 63 additions and 0 deletions

View File

@ -0,0 +1,18 @@
# $OpenBSD: Makefile,v 1.1.1.1 2006/11/13 15:19:51 espie Exp $
COMMENT= "recolor gif images on the fly"
MODULES= cpan
DISTNAME= Image-BioChrome-1.16
CATEGORIES= graphics
# perl
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
RUN_DEPENDS= ::misc/p5-File-MMagic
.include <bsd.port.mk>

View File

@ -0,0 +1,4 @@
MD5 (Image-BioChrome-1.16.tar.gz) = 8888b5d45b7f78445274fd1bb2a93bdc
RMD160 (Image-BioChrome-1.16.tar.gz) = f5f2a864865a1f1cc976cdbd3d62a0096dc9e4d7
SHA1 (Image-BioChrome-1.16.tar.gz) = 4004e29855df1529605403da74024ffbcca1e2fc
SIZE (Image-BioChrome-1.16.tar.gz) = 61711

View File

@ -0,0 +1,21 @@
$OpenBSD: patch-Makefile_PL,v 1.1.1.1 2006/11/13 15:19:51 espie Exp $
--- Makefile.PL.orig Mon Nov 13 12:29:21 2006
+++ Makefile.PL Mon Nov 13 12:29:40 2006
@@ -6,17 +6,6 @@
use strict;
use ExtUtils::MakeMaker;
-eval "use File::MMagic";
-
-if ($@ || $File::MMagic::VERSION < 1.21) {
- die(<<EOF);
-
-Image::BioChrome requires at least version 1.21 of File::MMagic
-
-EOF
-}
-
-

View File

@ -0,0 +1,9 @@
This module is designed to recolor images files. I built it because I am
regularly producing web sites with many common interface graphics where
we just need to change the colors. The name BioChrome comes from the
name of the special color changing cells that give a Chameleon its color
changing ability.
Also included in the distribution are modules that allow Apache (with
mod_perl) to build images on the fly and a Template::Toolkit plugin to
allow the creation of images from within a Template.

View File

@ -0,0 +1,11 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2006/11/13 15:19:51 espie Exp $
${P5SITE}/Apache/
${P5SITE}/Apache/BioChrome.pm
${P5SITE}/Image/
${P5SITE}/Image/BioChrome.pm
${P5SITE}/Template/
${P5SITE}/Template/Plugin/
${P5SITE}/Template/Plugin/BioChrome.pm
@man man/man3p/Apache::BioChrome.3p
@man man/man3p/Image::BioChrome.3p
@man man/man3p/Template::Plugin::BioChrome.3p