summaryrefslogtreecommitdiffstats
path: root/graphics/png2html/Makefile
blob: a968acd6b173a5c3d92f0385170820ba6c3f774c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# New ports collection makefile for:	png2html
# Date created:				11 November 1999
# Whom:					Chris D. Faulhaber <jedgar@fxp.org>
#
# $FreeBSD$
#

PORTNAME=	png2html
PORTVERSION=	1.1
PORTREVISION=	3
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.4:${PORTSDIR}/graphics/gd

PLIST_FILES=	bin/png2html

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>
OpenPOWER on IntegriCloud