# Created by: Chris D. Faulhaber <jedgar@fxp.org>
# $FreeBSD: tags/RELEASE_10_3_0/graphics/png2html/Makefile 383793 2015-04-11 12:13:52Z marino $

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

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Takes a PNG image and transforms it into HTML

LICENSE=	GPLv2 # (or later)

LIB_DEPENDS=	libpng.so:${PORTSDIR}/graphics/png \
		libgd.so:${PORTSDIR}/graphics/gd

PLIST_FILES=	bin/png2html

post-patch:
	@${REINPLACE_CMD} 's|CHANGE_ME|${LOCALBASE}|g' ${WRKSRC}/Makefile

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/png2html ${STAGEDIR}${PREFIX}/bin

.include <bsd.port.mk>
