summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>2000-10-23 17:06:37 +0000
committerhubertf <hubertf@pkgsrc.org>2000-10-23 17:06:37 +0000
commitd20ad90e86ace430cb974eaf12c533be7eacca59 (patch)
treedad235063169577e79efdd59e9fdda4d9e753053
parente56ee3f327a8aeacac9b34d8b47a4ee0f4c4e853 (diff)
downloadpkgsrc-d20ad90e86ace430cb974eaf12c533be7eacca59.tar.gz
Png2html takes a PNG image and transforms it pixel per pixel to a web
page. It makes use of a text file supplied by the user to do the conversion. See http://www.feyrer.de/images/hubert4_klein2.html and http://incredible.art.pl/ for some examples.
-rw-r--r--graphics/png2html/Makefile22
-rw-r--r--graphics/png2html/files/md53
-rw-r--r--graphics/png2html/files/patch-sum3
-rw-r--r--graphics/png2html/patches/patch-aa13
-rw-r--r--graphics/png2html/pkg/COMMENT1
-rw-r--r--graphics/png2html/pkg/DESCR2
-rw-r--r--graphics/png2html/pkg/PLIST5
7 files changed, 49 insertions, 0 deletions
diff --git a/graphics/png2html/Makefile b/graphics/png2html/Makefile
new file mode 100644
index 00000000000..f7336e45a53
--- /dev/null
+++ b/graphics/png2html/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/10/23 17:06:37 hubertf Exp $
+#
+
+DISTNAME= png2html-1.1
+CATEGORIES= graphics www
+MASTER_SITES= http://www.engr.mun.ca/~holden/
+
+MAINTAINER= hubertf@netbsd.org
+HOMEPAGE= http://www.engr.mun.ca/~holden/png2html.html
+
+DEPENDS+= png-1.*:../../graphics/png
+DEPENDS+= gd>=1.8.3:../../graphics/gd
+DEPENDS+= jpeg>=6a:../../graphics/jpeg
+
+do-install:
+ ${INSTALL_MAN_DIR} ${PREFIX}/share/doc/png2html
+ ${INSTALL_MAN} ${WRKSRC}/COPYING ${PREFIX}/share/doc/png2html
+ ${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/png2html
+ ${INSTALL_MAN} ${WRKSRC}/CHANGES ${PREFIX}/share/doc/png2html
+ ${INSTALL_PROGRAM} ${WRKSRC}/png2html ${PREFIX}/bin
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/png2html/files/md5 b/graphics/png2html/files/md5
new file mode 100644
index 00000000000..0e1402abf34
--- /dev/null
+++ b/graphics/png2html/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/10/23 17:06:37 hubertf Exp $
+
+MD5 (png2html-1.1.tar.gz) = a018d81e6b6df105b88873dd7b4a2e22
diff --git a/graphics/png2html/files/patch-sum b/graphics/png2html/files/patch-sum
new file mode 100644
index 00000000000..bb17a2860af
--- /dev/null
+++ b/graphics/png2html/files/patch-sum
@@ -0,0 +1,3 @@
+$NetBSD: patch-sum,v 1.1.1.1 2000/10/23 17:06:37 hubertf Exp $
+
+MD5 (patch-aa) = 0913dc7fc5d433a0ae9fc94b9eefcb5c
diff --git a/graphics/png2html/patches/patch-aa b/graphics/png2html/patches/patch-aa
new file mode 100644
index 00000000000..9e9fd0baab9
--- /dev/null
+++ b/graphics/png2html/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/10/23 17:06:37 hubertf Exp $
+
+--- Makefile.orig Sat Nov 13 23:42:36 1999
++++ Makefile Mon Oct 23 18:50:04 2000
+@@ -1,7 +1,7 @@
+ # Makefile for png2html, (c) 1999 Geoff Holden
+
+ CC = gcc
+-CFLAGS = -O2 -Wall -lpng -lgd
++CFLAGS = -O2 -Wall -I${LOCALBASE}/include -L${LOCALBASE}/lib -Wl,-R${LOCALBASE}/lib -lpng -lgd -ljpeg -lz
+
+ all: png2html
+
diff --git a/graphics/png2html/pkg/COMMENT b/graphics/png2html/pkg/COMMENT
new file mode 100644
index 00000000000..c61f86a4f4a
--- /dev/null
+++ b/graphics/png2html/pkg/COMMENT
@@ -0,0 +1 @@
+Takes a PNG image and transforms it to a web page
diff --git a/graphics/png2html/pkg/DESCR b/graphics/png2html/pkg/DESCR
new file mode 100644
index 00000000000..4b90f753a97
--- /dev/null
+++ b/graphics/png2html/pkg/DESCR
@@ -0,0 +1,2 @@
+Png2html takes a PNG image and transforms it pixel per pixel to a web
+page. It makes use of a text file supplied by the user to do the conversion.
diff --git a/graphics/png2html/pkg/PLIST b/graphics/png2html/pkg/PLIST
new file mode 100644
index 00000000000..73dcdc982f4
--- /dev/null
+++ b/graphics/png2html/pkg/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/10/23 17:06:37 hubertf Exp $
+bin/png2html
+share/doc/png2html/COPYING
+share/doc/png2html/CHANGES
+share/doc/png2html/README