From 1d452080ef303a7e6e18aba6746db95236cec108 Mon Sep 17 00:00:00 2001 From: Steve Price Date: Sun, 14 Nov 1999 03:40:07 +0000 Subject: Initial import of png2html version 1.0. Takes a PNG image and transorms it into HTML. PR: 14835 Submitted by: Chris D. Faulhaber --- graphics/png2html/Makefile | 26 ++++++++++++++++++++++++++ graphics/png2html/distinfo | 1 + graphics/png2html/files/patch-aa | 19 +++++++++++++++++++ graphics/png2html/pkg-comment | 1 + graphics/png2html/pkg-descr | 7 +++++++ graphics/png2html/pkg-plist | 1 + 6 files changed, 55 insertions(+) create mode 100644 graphics/png2html/Makefile create mode 100644 graphics/png2html/distinfo create mode 100644 graphics/png2html/files/patch-aa create mode 100644 graphics/png2html/pkg-comment create mode 100644 graphics/png2html/pkg-descr create mode 100644 graphics/png2html/pkg-plist diff --git a/graphics/png2html/Makefile b/graphics/png2html/Makefile new file mode 100644 index 000000000000..e508e66083a7 --- /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 +# +# $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 diff --git a/graphics/png2html/distinfo b/graphics/png2html/distinfo new file mode 100644 index 000000000000..3dfa599d5fbb --- /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 000000000000..15e2d33c1ca0 --- /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 000000000000..e14ddd4fe6d0 --- /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 000000000000..8a89e9c3efa8 --- /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 000000000000..6b201808fa7b --- /dev/null +++ b/graphics/png2html/pkg-plist @@ -0,0 +1 @@ +bin/png2html -- cgit v1.2.3