2012-10-08 15:45:34 +02:00
|
|
|
# $NetBSD: Makefile,v 1.5 2012/10/08 13:45:47 asau Exp $
|
2006-06-11 08:13:35 +02:00
|
|
|
|
|
|
|
DISTNAME= igo
|
|
|
|
PKGNAME= tex-${DISTNAME}-0
|
2011-05-28 04:29:39 +02:00
|
|
|
PKGREVISION= 1
|
2006-06-11 08:13:35 +02:00
|
|
|
CATEGORIES= print
|
|
|
|
MASTER_SITES= ${MASTER_SITE_TEX_CTAN:=fonts/}
|
|
|
|
EXTRACT_SUFX= .zip
|
|
|
|
|
|
|
|
MAINTAINER= minskim@NetBSD.org
|
|
|
|
HOMEPAGE= http://www.ctan.org/tex-archive/fonts/igo/
|
|
|
|
COMMENT= Fonts and macro to typeset Go diagrams
|
|
|
|
|
2011-05-28 04:29:39 +02:00
|
|
|
BUILD_DEPENDS+= kpathsea-[0-9]*:../../print/kpathsea
|
|
|
|
BUILD_DEPENDS+= tex-cm-[0-9]*:../../fonts/tex-cm
|
|
|
|
BUILD_DEPENDS+= tex-metafont-[0-9]*:../../fonts/tex-metafont
|
|
|
|
|
|
|
|
.include "../../print/kpathsea/texmf.mk"
|
2006-06-11 08:13:35 +02:00
|
|
|
|
|
|
|
do-configure:
|
|
|
|
${GREP} "^maketfm" ${WRKSRC}/fonts/makefonts.bat | \
|
2011-05-28 04:29:39 +02:00
|
|
|
${SED} -e 's,maketfm,${LOCALBASE}/bin/mktextfm,g' \
|
|
|
|
> ${WRKSRC}/fonts/makefonts.sh
|
2006-06-11 08:13:35 +02:00
|
|
|
|
|
|
|
do-build:
|
|
|
|
cd ${WRKSRC}/fonts && ${SH} makefonts.sh
|
|
|
|
|
2011-05-28 04:29:39 +02:00
|
|
|
INSTALLATION_DIRS+= ${PREFIX}/share/texmf-dist/doc/latex/igo \
|
|
|
|
${PREFIX}/share/texmf-dist/tex/latex/igo \
|
|
|
|
${PREFIX}/share/texmf-dist/fonts/source/igo \
|
|
|
|
${PREFIX}/share/texmf-dist/fonts/tfm/igo
|
2010-01-27 17:15:19 +01:00
|
|
|
|
2006-06-11 08:13:35 +02:00
|
|
|
do-install:
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/igo.pdf ${WRKSRC}/igo.tex \
|
2011-05-28 04:29:39 +02:00
|
|
|
${DESTDIR}${PREFIX}/share/texmf-dist/doc/latex/igo
|
2006-06-11 08:13:35 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/igo.sty ${WRKSRC}/repeat.tex \
|
2011-05-28 04:29:39 +02:00
|
|
|
${DESTDIR}${PREFIX}/share/texmf-dist/tex/latex/igo
|
2006-06-11 08:13:35 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/fonts/*.mf \
|
2011-05-28 04:29:39 +02:00
|
|
|
${DESTDIR}${PREFIX}/share/texmf-dist/fonts/source/igo
|
2006-06-11 08:13:35 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/fonts/*.tfm \
|
2011-05-28 04:29:39 +02:00
|
|
|
${DESTDIR}${PREFIX}/share/texmf-dist/fonts/tfm/igo
|
2006-06-11 08:13:35 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|