aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1999-11-14 11:40:07 +0800
committersteve <steve@FreeBSD.org>1999-11-14 11:40:07 +0800
commit72d3712b07e14d70781d2e1dac150bd892fbf8eb (patch)
tree59487ab5465978e6f883199a50e5fcf0269af58f /graphics
parent8224d6d53ee24b31e0bd4369aa26900cf29c0948 (diff)
downloadfreebsd-ports-graphics-72d3712b07e14d70781d2e1dac150bd892fbf8eb.tar.gz
freebsd-ports-graphics-72d3712b07e14d70781d2e1dac150bd892fbf8eb.tar.zst
freebsd-ports-graphics-72d3712b07e14d70781d2e1dac150bd892fbf8eb.zip
Initial import of png2html version 1.0.
Takes a PNG image and transorms it into HTML. PR: 14835 Submitted by: Chris D. Faulhaber <jedgar@fxp.org>
Diffstat (limited to 'graphics')
-rw-r--r--graphics/png2html/Makefile26
-rw-r--r--graphics/png2html/distinfo1
-rw-r--r--graphics/png2html/files/patch-aa19
-rw-r--r--graphics/png2html/pkg-comment1
-rw-r--r--graphics/png2html/pkg-descr7
-rw-r--r--graphics/png2html/pkg-plist1
6 files changed, 55 insertions, 0 deletions
diff --git a/graphics/png2html/Makefile b/graphics/png2html/Makefile
new file mode 100644
index 00000000000..e508e66083a
--- /dev/null
+++ b/graphics/png2html/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: png2html
+# Version required: 1.0
+# Date created: 11 November 1999
+# Whom: Chris D. Faulhaber <jedgar@fxp.org>
+#
+# $FreeBSD$
+#
+
+DISTNAME= png2html-1.0
+CATEGORIES= graphics
+MASTER_SITES= http://www.engr.mun.ca/~holden/
+
+MAINTAINER= jedgar@fxp.org
+
+LIB_DEPENDS= png.3:${PORTSDIR}/graphics/png
+BUILD_DEPENDS= webpng:${PORTSDIR}/graphics/gd
+
+do-configure:
+ @${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.orig
+ @${SED} -e 's|CHANGE_ME|${PREFIX}|' \
+ < ${WRKSRC}/Makefile.orig > ${WRKSRC}/Makefile
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/png2html ${PREFIX}/bin
+
+.include <bsd.port.mk>
diff --git a/graphics/png2html/distinfo b/graphics/png2html/distinfo
new file mode 100644
index 00000000000..3dfa599d5fb
--- /dev/null
+++ b/graphics/png2html/distinfo
@@ -0,0 +1 @@
+MD5 (png2html-1.0.tar.gz) = 21c0b58618d1cbe5d2420719e411915d
diff --git a/graphics/png2html/files/patch-aa b/graphics/png2html/files/patch-aa
new file mode 100644
index 00000000000..15e2d33c1ca
--- /dev/null
+++ b/graphics/png2html/files/patch-aa
@@ -0,0 +1,19 @@
+--- Makefile.orig Thu Nov 11 11:27:38 1999
++++ Makefile Thu Nov 11 19:00:05 1999
+@@ -1,12 +1,14 @@
+ # Makefile for png2html, (c) 1999 Geoff Holden
+
+ CC = gcc
+-CFLAGS = -O2 -Wall -lpng -lgd
++INCLUDES= -ICHANGE_ME/include/gd
++LDFLAGS = -LCHANGE_ME/lib
++LIBS = -lpng -lgd
+
+ all: png2html
+
+ png2html:
+- $(CC) -o png2html png2html.c $(CFLAGS)
++ $(CC) -o png2html png2html.c $(CFLAGS) $(INCLUDES) $(LDFLAGS) $(LIBS)
+
+ clean:
+ rm -f *~ png2html
diff --git a/graphics/png2html/pkg-comment b/graphics/png2html/pkg-comment
new file mode 100644
index 00000000000..e14ddd4fe6d
--- /dev/null
+++ b/graphics/png2html/pkg-comment
@@ -0,0 +1 @@
+Takes a PNG image and transforms it into HTML
diff --git a/graphics/png2html/pkg-descr b/graphics/png2html/pkg-descr
new file mode 100644
index 00000000000..8a89e9c3efa
--- /dev/null
+++ b/graphics/png2html/pkg-descr
@@ -0,0 +1,7 @@
+png2html takes a PNG image and transforms it into a
+Web page with the use of a text file.
+
+WWW: http://www.engr.mun.ca/~holden/png2html.html
+
+- Chris D. Faulhaber
+jedgar@fxp.org
diff --git a/graphics/png2html/pkg-plist b/graphics/png2html/pkg-plist
new file mode 100644
index 00000000000..6b201808fa7
--- /dev/null
+++ b/graphics/png2html/pkg-plist
@@ -0,0 +1 @@
+bin/png2html