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
|
2001-09-08 01:15:04 +00:00
|
|
|
PORTVERSION= 3.11
|
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
|
|
|
|
2001-12-03 20:15:59 +00:00
|
|
|
MAINTAINER= nik@FreeBSD.org
|
2000-03-21 08:22:22 +00:00
|
|
|
|
2001-09-08 01:15:04 +00:00
|
|
|
BUILD_DEPENDS= hugelatex:${PORTSDIR}/print/hugelatex
|
2001-09-11 02:59:20 +00:00
|
|
|
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
|
1999-08-20 10:11:16 +00:00
|
|
|
RUN_DEPENDS= tex:${PORTSDIR}/print/teTeX
|
2000-03-21 08:22:22 +00:00
|
|
|
|
2001-12-03 20:15:59 +00:00
|
|
|
MAKE_ENV= TEXMFCNF=${FILESDIR}:${LOCALBASE}/share/texmf/web2c
|
2000-05-06 17:10:40 +00:00
|
|
|
|
2001-04-04 19:57:35 +00:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
1998-12-08 21:08:28 +00:00
|
|
|
|
2001-12-03 20:15:59 +00:00
|
|
|
MESSAGE= ${PKGDIR}/pkg-message
|
|
|
|
PKGMESSAGE= ${WRKDIR}/pkg-message
|
|
|
|
|
|
|
|
post-patch: patch-makefile patch-message
|
|
|
|
|
|
|
|
patch-makefile:
|
2002-01-29 11:48:57 +00:00
|
|
|
@${ECHO_CMD} all: betterdefault > ${WRKSRC}/Makefile.tmp
|
|
|
|
@${ECHO_CMD} betterdefault: jadetex.fmt pdfjadetex.fmt >> ${WRKSRC}/Makefile.tmp
|
2001-09-08 01:15:04 +00:00
|
|
|
@${CAT} ${WRKSRC}/Makefile >> ${WRKSRC}/Makefile.tmp
|
2000-05-06 17:10:40 +00:00
|
|
|
@${MV} ${WRKSRC}/Makefile.tmp ${WRKSRC}/Makefile
|
1998-12-08 21:08:28 +00:00
|
|
|
|
2001-12-03 20:15:59 +00:00
|
|
|
patch-message:
|
|
|
|
@${SED} -e 's,%%LOCALBASE%%,${LOCALBASE},' ${MESSAGE} > ${PKGMESSAGE}
|
|
|
|
|
1998-12-08 21:08:28 +00:00
|
|
|
do-install:
|
2001-12-03 20:15:59 +00:00
|
|
|
@cd ${WRKSRC}; TEXMFMAIN=$$(kpsewhich -expand-var '$$TEXMFMAIN'); \
|
|
|
|
${INSTALL_DATA} jadetex.fmt pdfjadetex.fmt $$TEXMFMAIN/web2c; \
|
|
|
|
${MKDIR} -m 555 $$TEXMFMAIN/tex/jadetex; \
|
|
|
|
${INSTALL_DATA} dsssl.def jadetex.ltx $$TEXMFMAIN/tex/jadetex
|
|
|
|
|
|
|
|
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>
|