1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/print/jadetex/Makefile
Satoshi Asami 7acef1cd7a Change PKGDIR from pkg/ to . Also fix places where ${PKGDIR} is
spelled out (many of which are ${PKGDIR}/MESSAGE -> ${PKGMESSAGE} type
fixes that shouldn't have been necessary) and the string "/pkg/"
appear.
2000-10-08 10:23:48 +00:00

37 lines
1.1 KiB
Makefile

# 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} ${PKGMESSAGE}
.include <bsd.port.mk>