mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
649a622159
- Remove obsolete MD5 checksum while I'm here PR: ports/153634 Submitted by: sunpoet (myself) Approved by: pav (with portmgr hat)
56 lines
1.3 KiB
Makefile
56 lines
1.3 KiB
Makefile
# 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}
|
|
PORTREVISION= 11
|
|
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
|
|
|
|
BUILD_DEPENDS= platex:${PORTSDIR}/japanese/ptex \
|
|
dvips:${PORTSDIR}/japanese/dvipsk \
|
|
anytopnm:${PORTSDIR}/graphics/netpbm
|
|
|
|
CONFLICTS= latex2html-[0-9]*
|
|
|
|
VERSION= 2002.2.1
|
|
JP_VERSION= 2.0
|
|
|
|
USE_PERL5= yes
|
|
USE_GHOSTSCRIPT= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --shlibdir=${DATADIR} \
|
|
--enable-png \
|
|
--with-perl=${PERL} \
|
|
--with-texpath=${LOCALBASE}/${TEXMFDIR}/ptex/platex/html
|
|
PLIST_SUB= TEXMFDIR=${TEXMFDIR}
|
|
|
|
TEXMFDIR?= share/texmf
|
|
|
|
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>
|