pkgsrc/graphics/png2html/Makefile
jlam 4b86e2bfab Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
2008-03-04 15:39:09 +00:00

29 lines
919 B
Makefile

# $NetBSD: Makefile,v 1.20 2008/03/04 15:39:10 jlam Exp $
#
DISTNAME= png2html-1.1
PKGREVISION= 6
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
PKG_DESTDIR_SUPPORT= user-destdir
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"