aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/png2html/Makefile
blob: 72aa9f4b9218c76739bad10bd5975af9218bc9db (plain) (blame)
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
# Created by: Chris D. Faulhaber <jedgar@fxp.org>
# $FreeBSD$

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+

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>