Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Nov 1999 19:24:57 -0500 (EST)
From:      jedgar@fxp.org
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/14835: New port: graphics/png2html
Message-ID:  <19991112002457.3BDEB9B25@pawn.primelocation.net>

next in thread | raw e-mail | index | archive | help

>Number:         14835
>Category:       ports
>Synopsis:       New port: graphics/png2html
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 11 16:30:01 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Chris D. Faulhaber
>Release:        FreeBSD 3.3-STABLE i386
>Organization:
BUGO - BSD Users Group of Orlando
>Environment:

FreeBSD 3.3-STABLE i386

>Description:

New port: graphics/png2html

png2html takes a PNG image and transforms it into a
Web page with the use of a text file.

>How-To-Repeat:
>Fix:
	
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	png2html
#	png2html/Makefile
#	png2html/files
#	png2html/files/md5
#	png2html/patches
#	png2html/patches/patch-aa
#	png2html/pkg
#	png2html/pkg/DESCR
#	png2html/pkg/PLIST
#	png2html/pkg/COMMENT
#
echo c - png2html
mkdir -p png2html > /dev/null 2>&1
echo x - png2html/Makefile
sed 's/^X//' >png2html/Makefile << 'END-of-png2html/Makefile'
X# New ports collection makefile for:	png2html
X# Version required:			1.0
X# Date created:				11 November 1999
X# Whom:					Chris D. Faulhaber <jedgar@fxp.org>
X#
X# $FreeBSD$
X#
X
XDISTNAME=	png2html-1.0
XCATEGORIES=	graphics
XMASTER_SITES=	http://www.engr.mun.ca/~holden/
X
XMAINTAINER=	jedgar@fxp.org
X
XLIB_DEPENDS=	png.3:${PORTSDIR}/graphics/png
XBUILD_DEPENDS=	webpng:${PORTSDIR}/graphics/gd
X
Xdo-configure:
X		@${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.orig
X		@${SED} -e 's|CHANGE_ME|${PREFIX}|' \
X			< ${WRKSRC}/Makefile.orig > ${WRKSRC}/Makefile
X
Xdo-install:
X		${INSTALL_PROGRAM} ${WRKSRC}/png2html ${PREFIX}/bin
X
X.include <bsd.port.mk>
END-of-png2html/Makefile
echo c - png2html/files
mkdir -p png2html/files > /dev/null 2>&1
echo x - png2html/files/md5
sed 's/^X//' >png2html/files/md5 << 'END-of-png2html/files/md5'
XMD5 (png2html-1.0.tar.gz) = 21c0b58618d1cbe5d2420719e411915d
END-of-png2html/files/md5
echo c - png2html/patches
mkdir -p png2html/patches > /dev/null 2>&1
echo x - png2html/patches/patch-aa
sed 's/^X//' >png2html/patches/patch-aa << 'END-of-png2html/patches/patch-aa'
X--- Makefile.orig	Thu Nov 11 11:27:38 1999
X+++ Makefile	Thu Nov 11 19:00:05 1999
X@@ -1,12 +1,14 @@
X # Makefile for png2html, (c) 1999 Geoff Holden
X 
X CC      = gcc
X-CFLAGS  = -O2 -Wall -lpng -lgd
X+INCLUDES= -ICHANGE_ME/include/gd
X+LDFLAGS = -LCHANGE_ME/lib
X+LIBS    = -lpng -lgd
X 
X all:    png2html
X 
X png2html:
X-	$(CC) -o png2html png2html.c $(CFLAGS)
X+	$(CC) -o png2html png2html.c $(CFLAGS) $(INCLUDES) $(LDFLAGS) $(LIBS)
X 
X clean:
X 	rm -f *~ png2html
END-of-png2html/patches/patch-aa
echo c - png2html/pkg
mkdir -p png2html/pkg > /dev/null 2>&1
echo x - png2html/pkg/DESCR
sed 's/^X//' >png2html/pkg/DESCR << 'END-of-png2html/pkg/DESCR'
Xpng2html takes a PNG image and transforms it into a
XWeb page with the use of a text file.
X
XWWW: http://www.engr.mun.ca/~holden/png2html.html
X
X- Chris D. Faulhaber
Xjedgar@fxp.org
END-of-png2html/pkg/DESCR
echo x - png2html/pkg/PLIST
sed 's/^X//' >png2html/pkg/PLIST << 'END-of-png2html/pkg/PLIST'
Xbin/png2html
END-of-png2html/pkg/PLIST
echo x - png2html/pkg/COMMENT
sed 's/^X//' >png2html/pkg/COMMENT << 'END-of-png2html/pkg/COMMENT'
Xpng2html takes a PNG image and transforms it into html
END-of-png2html/pkg/COMMENT
exit


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991112002457.3BDEB9B25>