| @@ -1,39 +1,46 @@ | | | @@ -1,39 +1,46 @@ |
1 | # $NetBSD: Makefile,v 1.19 2012/02/06 12:41:45 wiz Exp $ | | 1 | # $NetBSD: Makefile,v 1.20 2012/03/07 00:33:55 minskim Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | DISTNAME= tex2page | | 4 | DISTNAME= tex2page |
5 | DIST_SUBDIR= tex2page-20060131 | | 5 | DIST_SUBDIR= tex2page-20060131 |
6 | PKGNAME= tex2page-20060131 | | 6 | PKGNAME= tex2page-20060131 |
7 | PKGREVISION= 12 | | 7 | PKGREVISION= 13 |
8 | CATEGORIES= textproc | | 8 | CATEGORIES= textproc |
9 | MASTER_SITES= http://www.ccs.neu.edu/home/dorai/tex2page/ | | 9 | MASTER_SITES= http://www.ccs.neu.edu/home/dorai/tex2page/ |
10 | | | 10 | |
11 | MAINTAINER= gdt@NetBSD.org | | 11 | MAINTAINER= gdt@NetBSD.org |
12 | HOMEPAGE= http://www.ccs.neu.edu/home/dorai/tex2page/ | | 12 | HOMEPAGE= http://www.ccs.neu.edu/home/dorai/tex2page/ |
13 | COMMENT= Converts TeX manuscripts into (HTML) web pages | | 13 | COMMENT= Converts TeX manuscripts into (HTML) web pages |
14 | | | 14 | |
15 | PKG_DESTDIR_SUPPORT= user-destdir | | 15 | PKG_DESTDIR_SUPPORT= user-destdir |
16 | | | 16 | |
17 | DEPENDS+= dvipsk-[0-9]*:../../print/dvipsk | | 17 | DEPENDS+= dvipsk-[0-9]*:../../print/dvipsk |
| | | 18 | DEPENDS+= makeindexk-[0-9]*:../../textproc/makeindexk |
| | | 19 | DEPENDS+= tex-bibtex-[0-9]*:../../print/tex-bibtex |
| | | 20 | DEPENDS+= tex-epsf-[0-9]*:../../print/tex-epsf |
| | | 21 | DEPENDS+= tex-graphics-[0-9]*:../../print/tex-graphics |
| | | 22 | DEPENDS+= tex-latex-bin-[0-9]*:../../print/tex-latex-bin |
| | | 23 | DEPENDS+= tex-metapost-[0-9]*:../../graphics/tex-metapost |
| | | 24 | DEPENDS+= tex-pdftex-[0-9]*:../../print/tex-pdftex |
| | | 25 | DEPENDS+= tex-tex-[0-9]*:../../print/tex-tex |
18 | | | 26 | |
19 | USE_PKGLOCALEDIR= yes | | 27 | USE_PKGLOCALEDIR= yes |
20 | HAS_CONFIGURE= yes | | 28 | HAS_CONFIGURE= yes |
21 | USE_TOOLS+= gs:run | | 29 | USE_TOOLS+= gs:run |
22 | | | 30 | |
23 | CONFIGURE_ARGS+= --dialect=guile | | 31 | CONFIGURE_ARGS+= --dialect=guile |
24 | | | 32 | |
25 | # build documentation | | 33 | # build documentation |
26 | do-build: | | 34 | do-build: |
27 | (cd ${WRKSRC} && ./my-tex2page tex2page-doc) | | 35 | (cd ${WRKSRC} && ./my-tex2page tex2page-doc) |
28 | (cd ${WRKSRC} && ./my-tex2page tex2page-doc) | | 36 | (cd ${WRKSRC} && ./my-tex2page tex2page-doc) |
29 | | | 37 | |
30 | INSTALLATION_DIRS= bin share/doc//tex2page | | 38 | INSTALLATION_DIRS= bin share/doc//tex2page |
31 | | | 39 | |
32 | do-install: | | 40 | do-install: |
33 | ${INSTALL_SCRIPT} ${WRKSRC}/my-tex2page ${DESTDIR}${PREFIX}/bin/tex2page | | 41 | ${INSTALL_SCRIPT} ${WRKSRC}/my-tex2page ${DESTDIR}${PREFIX}/bin/tex2page |
34 | ${INSTALL} ${WRKSRC}/*.html ${WRKSRC}/*.gif ${DESTDIR}${PREFIX}/share/doc//tex2page | | 42 | ${INSTALL} ${WRKSRC}/*.html ${WRKSRC}/*.gif ${DESTDIR}${PREFIX}/share/doc//tex2page |
35 | | | 43 | |
36 | .include "../../graphics/netpbm/buildlink3.mk" | | 44 | .include "../../graphics/netpbm/buildlink3.mk" |
37 | .include "../../lang/guile16/buildlink3.mk" | | 45 | .include "../../lang/guile16/buildlink3.mk" |
38 | .include "../../mk/tex.buildlink3.mk" | | | |
39 | .include "../../mk/bsd.pkg.mk" | | 46 | .include "../../mk/bsd.pkg.mk" |