# New ports collection makefile for:	png2html
# Date created:				11 November 1999
# Whom:					Chris D. Faulhaber <jedgar@fxp.org>
#
# $FreeBSD: ports/graphics/png2html/Makefile,v 1.9 2003/03/07 06:04:09 ade Exp $
#

PORTNAME=	png2html
PORTVERSION=	1.1
PORTREVISION=	1
CATEGORIES=	graphics
MASTER_SITES=	http://www.engr.mun.ca/~holden/

MAINTAINER=	jedgar@fxp.org
COMMENT=	Takes a PNG image and transforms it into HTML

LIB_DEPENDS=	png.5:${PORTSDIR}/graphics/png \
		gd.2:${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>
