summaryrefslogtreecommitdiff
path: root/print/tex-igo/Makefile
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2006-06-11 06:13:35 +0000
committerminskim <minskim@pkgsrc.org>2006-06-11 06:13:35 +0000
commitea4444ad50d2db00bce806d780848cfbd954aa41 (patch)
treeaba505c5c2abe38560629d5707b986371ca9824e /print/tex-igo/Makefile
parent89a759558759ef811463ef27dc9f88c908df8d41 (diff)
downloadpkgsrc-ea4444ad50d2db00bce806d780848cfbd954aa41.tar.gz
Import tex-igo.
This package provides fonts and macro to typeset Go diagrams. It is based on the package go written in 1991 which provides typesetting facilities for Go games and positions. Although igo contains roughly the same commands as the original package and uses the fonts, it has been improved in a number of ways. It uses command names less likely to conflict with standard AMS packages. It allows different board sizes to be used. It understands a standardized notation for board coordinates. And it provides a facility to work on more than one board. Moreover, a few commands were reworked to define positions or game sequences more conveniently.
Diffstat (limited to 'print/tex-igo/Makefile')
-rw-r--r--print/tex-igo/Makefile38
1 files changed, 38 insertions, 0 deletions
diff --git a/print/tex-igo/Makefile b/print/tex-igo/Makefile
new file mode 100644
index 00000000000..70dd27f5b78
--- /dev/null
+++ b/print/tex-igo/Makefile
@@ -0,0 +1,38 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/06/11 06:13:35 minskim Exp $
+
+DISTNAME= igo
+PKGNAME= tex-${DISTNAME}-0
+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
+
+USE_DIRS+= texmf-1.2
+
+.include "../../print/teTeX/module.mk"
+
+do-configure:
+ ${GREP} "^maketfm" ${WRKSRC}/fonts/makefonts.bat | \
+ ${SED} -e 's/maketfm/mktextfm/g' > ${WRKSRC}/fonts/makefonts.sh
+
+do-build:
+ cd ${WRKSRC}/fonts && ${SH} makefonts.sh
+
+do-install:
+ ${INSTALL_DATA_DIR} ${PKG_LOCALTEXMFPREFIX}/doc/latex/igo
+ ${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/igo.pdf ${WRKSRC}/igo.tex \
+ ${PKG_LOCALTEXMFPREFIX}/doc/latex/igo
+ ${INSTALL_DATA_DIR} ${PKG_LOCALTEXMFPREFIX}/tex/latex/igo
+ ${INSTALL_DATA} ${WRKSRC}/igo.sty ${WRKSRC}/repeat.tex \
+ ${PKG_LOCALTEXMFPREFIX}/tex/latex/igo
+ ${INSTALL_DATA_DIR} ${PKG_LOCALTEXMFPREFIX}/fonts/source/igo
+ ${INSTALL_DATA} ${WRKSRC}/fonts/*.mf \
+ ${PKG_LOCALTEXMFPREFIX}/fonts/source/igo
+ ${INSTALL_DATA_DIR} ${PKG_LOCALTEXMFPREFIX}/fonts/tfm/igo
+ ${INSTALL_DATA} ${WRKSRC}/fonts/*.tfm \
+ ${PKG_LOCALTEXMFPREFIX}/fonts/tfm/igo
+
+.include "../../mk/bsd.pkg.mk"