summaryrefslogtreecommitdiff
path: root/japanese/latex2html/Makefile
blob: 440b50f411c39b856dba00777265a9a37dbceb12 (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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# New ports collection makefile for:	 ja-latex2html
# Date created:		3 Apr 1999
# Whom:			Sugimoto Sadahiro <ixtl@utmc.or.jp>
#
# $FreeBSD$
#

PORTNAME=	latex2html
PORTVERSION=	${VERSION}j${JP_VERSION}
CATEGORIES=	japanese textproc
MASTER_SITES=	${MASTER_SITE_TEX_CTAN}
MASTER_SITE_SUBDIR=     support/${PORTNAME}
DISTNAME=       ${PORTNAME}-${VERSION:S/./-/g}

PATCH_SITES=	http://takeno.iee.niit.ac.jp/~shige/TeX/latex2html/data/
PATCHFILES=	l2h-2002-2-1+jp${JP_VERSION}.patch.gz
PATCH_DIST_STRIP=	-p1

MAINTAINER=	ixtl@utmc.or.jp
COMMENT=	Japanese LaTeX2HTML with JA patch

RUN_DEPENDS=	platex:${PORTSDIR}/japanese/ptex-euc \
		dvips:${PORTSDIR}/japanese/dvipsk-vflib \
		gs:${PORTSDIR}/japanese/ghostscript-gnu-jpnfont \
		anytopnm:${PORTSDIR}/graphics/netpbm

VERSION=	2002.2.1
JP_VERSION=	2.0

USE_PERL5=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--shlibdir=${DATADIR} \
		--disable-gif \
		--with-perl=${PERL} \
		--with-texpath=${PREFIX}/share/texmf/tex/latex/html

DOC_FILES=	FAQ INSTALL LICENSE README README.patch-2002jp \
		README.patch-99.1jp

post-install:
	(cd ${WRKSRC}; csh mkwrapper ${PREFIX})
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
.for file in ${DOC_FILES}
	@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>