# $NetBSD: Makefile,v 1.18 2011/01/13 13:39:28 wiz Exp $ # DISTNAME= tex2page DIST_SUBDIR= tex2page-20060131 PKGNAME= tex2page-20060131 PKGREVISION= 11 CATEGORIES= textproc MASTER_SITES= http://www.ccs.neu.edu/home/dorai/tex2page/ MAINTAINER= gdt@NetBSD.org HOMEPAGE= http://www.ccs.neu.edu/home/dorai/tex2page/ COMMENT= Converts TeX manuscripts into (HTML) web pages PKG_DESTDIR_SUPPORT= user-destdir DEPENDS+= dvipsk-[0-9]*:../../print/dvipsk USE_PKGLOCALEDIR= yes HAS_CONFIGURE= yes USE_TOOLS+= gs:run CONFIGURE_ARGS+= --dialect=guile # build documentation do-build: (cd ${WRKSRC} && ./my-tex2page tex2page-doc) (cd ${WRKSRC} && ./my-tex2page tex2page-doc) INSTALLATION_DIRS= bin share/doc//tex2page do-install: ${INSTALL_SCRIPT} ${WRKSRC}/my-tex2page ${DESTDIR}${PREFIX}/bin/tex2page ${INSTALL} ${WRKSRC}/*.html ${WRKSRC}/*.gif ${DESTDIR}${PREFIX}/share/doc//tex2page .include "../../graphics/netpbm/buildlink3.mk" .include "../../lang/guile16/buildlink3.mk" .include "../../mk/tex.buildlink3.mk" .include "../../mk/bsd.pkg.mk"