1998-12-08 21:08:28 +00:00
|
|
|
# New ports collection makefile for: jadetex
|
|
|
|
# Date created: 5 December 1998
|
2000-05-06 17:10:40 +00:00
|
|
|
# Whom: Sean Kelly <kelly@ad1440.net>
|
1998-12-08 21:08:28 +00:00
|
|
|
#
|
1999-08-31 01:53:22 +00:00
|
|
|
# $FreeBSD$
|
1998-12-08 21:08:28 +00:00
|
|
|
#
|
|
|
|
|
2000-04-09 17:50:59 +00:00
|
|
|
PORTNAME= jadetex
|
2004-08-22 09:18:47 +00:00
|
|
|
PORTVERSION= 3.13
|
2007-05-19 20:36:56 +00:00
|
|
|
PORTREVISION= 2
|
2000-03-21 08:22:22 +00:00
|
|
|
CATEGORIES= print
|
2001-09-08 01:15:04 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= jadetex
|
2000-03-21 08:22:22 +00:00
|
|
|
|
2006-04-15 06:46:10 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-07 06:14:21 +00:00
|
|
|
COMMENT= A TeX backend for Jade, for typesetting SGML documents
|
2000-03-21 08:22:22 +00:00
|
|
|
|
2005-02-12 18:58:16 +00:00
|
|
|
BUILD_DEPENDS= etex:${PORTSDIR}/print/teTeX-base
|
2001-09-11 02:59:20 +00:00
|
|
|
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
|
2005-02-12 18:58:16 +00:00
|
|
|
RUN_DEPENDS= etex:${PORTSDIR}/print/teTeX-base
|
2000-03-21 08:22:22 +00:00
|
|
|
|
2005-06-01 14:40:18 +00:00
|
|
|
TETEXBASE?= ${LOCALBASE}
|
|
|
|
|
|
|
|
MAKE_ENV= TEXMFCNF=${FILESDIR}:${TETEXBASE}/share/texmf/web2c
|
2000-05-06 17:10:40 +00:00
|
|
|
|
2001-12-03 20:15:59 +00:00
|
|
|
MESSAGE= ${PKGDIR}/pkg-message
|
|
|
|
PKGMESSAGE= ${WRKDIR}/pkg-message
|
|
|
|
|
2002-11-24 20:54:23 +00:00
|
|
|
MAN1= jadetex.1 pdfjadetex.1
|
|
|
|
|
2002-09-11 00:05:34 +00:00
|
|
|
pre-patch:
|
2001-12-03 20:15:59 +00:00
|
|
|
@${SED} -e 's,%%LOCALBASE%%,${LOCALBASE},' ${MESSAGE} > ${PKGMESSAGE}
|
|
|
|
|
1998-12-08 21:08:28 +00:00
|
|
|
do-install:
|
2005-06-01 14:40:18 +00:00
|
|
|
@cd ${WRKSRC}; TEXMFMAIN=${TETEXBASE}/share/texmf; \
|
2001-12-03 20:15:59 +00:00
|
|
|
${INSTALL_DATA} jadetex.fmt pdfjadetex.fmt $$TEXMFMAIN/web2c; \
|
|
|
|
${MKDIR} -m 555 $$TEXMFMAIN/tex/jadetex; \
|
2002-11-24 20:54:23 +00:00
|
|
|
${INSTALL_DATA} dsssl.def jadetex.ltx $$TEXMFMAIN/tex/jadetex; \
|
|
|
|
${INSTALL_MAN} ${MAN1} ${PREFIX}/man/man1
|
2005-02-12 18:58:16 +00:00
|
|
|
@${LN} -sf ${PREFIX}/bin/etex ${PREFIX}/bin/jadetex
|
|
|
|
@${LN} -sf ${PREFIX}/bin/pdfetex ${PREFIX}/bin/pdfjadetex
|
2001-12-03 20:15:59 +00:00
|
|
|
|
|
|
|
post-install: rebuild-tex-database display-message
|
|
|
|
|
|
|
|
rebuild-tex-database:
|
|
|
|
${LOCALBASE}/bin/mktexlsr
|
1998-12-08 21:08:28 +00:00
|
|
|
|
2001-12-03 20:15:59 +00:00
|
|
|
display-message:
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
1998-12-08 21:08:28 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|