summaryrefslogtreecommitdiffstats
path: root/print/jadetex/Makefile
blob: e42a37320258b70f36c2c407c77d5af1c96628e0 (plain)
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
# New ports collection makefile for:    jadetex
# Date created:         5 December 1998
# Whom:                 Sean Kelly <kelly@ad1440.net>
#
# $FreeBSD$
#

PORTNAME=		jadetex
PORTVERSION=		2.18
CATEGORIES=		print
MASTER_SITES=		http://www.tug.org/applications/jadetex/

MAINTAINER=		kelly@ad1440.net

BUILD_DEPENDS=		tex:${PORTSDIR}/print/teTeX
LIB_DEPENDS=		png.4:${PORTSDIR}/graphics/png
RUN_DEPENDS=		tex:${PORTSDIR}/print/teTeX

MAKE_ENV=		TEXMFCNF=${FILESDIR}:${PREFIX}/share/texmf/web2c
USE_ZIP=		yes

NO_WRKSUBDIR=   	yes

post-extract:
	@${ECHO} all: default > ${WRKSRC}/Makefile.tmp
	@${SED} -e "s/huge//g" ${WRKSRC}/Makefile >> ${WRKSRC}/Makefile.tmp
	@${MV} ${WRKSRC}/Makefile.tmp ${WRKSRC}/Makefile

do-install:
	@(cd ${WRKSRC} && ${INSTALL_DATA} jadetex.fmt pdfjadetex.fmt `kpsewhich -expand-var '$$TEXMFMAIN'`/web2c && ${MKDIR} -m 555 `kpsewhich -expand-var '$$TEXMFMAIN'`/tex/jadetex && ${INSTALL_DATA} dsssl.def jadetex.ltx `kpsewhich -expand-var '$$TEXMFMAIN'`/tex/jadetex)

post-install:
	${PREFIX}/bin/mktexlsr
	@${CAT} ${PKGDIR}/MESSAGE

.include <bsd.port.mk>
OpenPOWER on IntegriCloud