pkgsrc/graphics/png2html/Makefile

27 lines
885 B
Makefile

# $NetBSD: Makefile,v 1.26 2012/10/06 14:11:14 asau Exp $
#
DISTNAME= png2html-1.1
PKGREVISION= 11
CATEGORIES= graphics www
MASTER_SITES= http://www.engr.mun.ca/~holden/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.engr.mun.ca/~holden/png2html.html
COMMENT= Takes a PNG image and transforms it to a web page
FIX_RPATH+= CFLAGS
CFLAGS+= -L${BUILDLINK_PREFIX.gd}/lib \
${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.gd}/lib
INSTALLATION_DIRS= bin
do-install:
${INSTALL_MAN_DIR} ${DESTDIR}${PREFIX}/share/doc/png2html
${INSTALL_MAN} ${WRKSRC}/COPYING ${DESTDIR}${PREFIX}/share/doc/png2html
${INSTALL_MAN} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/png2html
${INSTALL_MAN} ${WRKSRC}/CHANGES ${DESTDIR}${PREFIX}/share/doc/png2html
${INSTALL_PROGRAM} ${WRKSRC}/png2html ${DESTDIR}${PREFIX}/bin
.include "../../graphics/gd/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"