openbsd-ports/print/jadetex/Makefile
2005-03-23 20:20:40 +00:00

47 lines
1.3 KiB
Makefile

# $OpenBSD: Makefile,v 1.17 2005/03/23 20:20:40 alek Exp $
COMMENT= "macros for the OpenJade DSSSL TeX backend"
DISTNAME= jadetex-3.11
PKGNAME= ${DISTNAME}p1
CATEGORIES= print
HOMEPAGE= http://jadetex.sourceforge.net/
MAINTAINER= Anil Madhavapeddy <avsm@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c m z stdc++
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=jadetex/}
WRKDIST= ${WRKDIR}/jadetex
LIB_DEPENDS= png.2::graphics/png
RUN_DEPENDS= :teTeX_base->=3:print/teTeX/base
BUILD_DEPENDS= ${RUN_DEPENDS}
ALL_TARGET= jadetex.fmt pdfjadetex.fmt
TEXMFLOC= ${PREFIX}/share/texmf-local
NO_REGRESS= Yes
pre-fake:
${INSTALL_DATA_DIR} ${TEXMFLOC}/web2c
${INSTALL_DATA_DIR} ${TEXMFLOC}/tex
do-install:
${INSTALL_DATA} ${WRKBUILD}/pdfjadetex.fmt ${TEXMFLOC}/web2c
${INSTALL_DATA} ${WRKBUILD}/jadetex.fmt ${TEXMFLOC}/web2c
${INSTALL_DATA_DIR} ${TEXMFLOC}/tex/jadetex
${INSTALL_DATA} ${WRKBUILD}/dsssl.def ${TEXMFLOC}/tex/jadetex
${INSTALL_DATA} ${WRKBUILD}/jadetex.ltx ${TEXMFLOC}/tex/jadetex
${INSTALL_MAN} ${WRKBUILD}/jadetex.1 ${PREFIX}/man/man1/jadetex.1
${INSTALL_MAN} ${WRKBUILD}/pdfjadetex.1 ${PREFIX}/man/man1/pdfjadetex.1
ln -s ${TRUEPREFIX}/bin/tex ${PREFIX}/bin/jadetex
ln -s ${TRUEPREFIX}/bin/pdftex ${PREFIX}/bin/pdfjadetex
.include <bsd.port.mk>