summaryrefslogtreecommitdiff
path: root/print/tex-chemarrow/Makefile
blob: 1fcb0e972d6f32af4c84335d253c0d93e4891628 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# $NetBSD: Makefile,v 1.3 2005/11/13 05:30:11 minskim Exp $
#

DISTNAME=	chemarrow
PKGNAME=	tex-${DISTNAME}-0.1
PKGREVISION=	1
CATEGORIES=	print
MASTER_SITES=	${MASTER_SITE_TEX_CTAN:=macros/latex/contrib/}
EXTRACT_SUFX=	.zip

MAINTAINER=	tech-pkg@NetBSD.org
HOMEPAGE=	http://tug.ctan.org/tex-archive/help/Catalogue/entries/chemarrow.html
COMMENT=	New arrow heads for chemical reaction schemes

NO_CONFIGURE=	yes
NO_BUILD=	yes

.include "../../print/teTeX/module.mk"

post-extract:
	@(cd ${WRKSRC}/type1 && ${EXTRACT_CMD.zip} arrow.PC.zip)

do-install:
	${INSTALL_DATA_DIR} ${PKG_LOCALTEXMFPREFIX}/fonts/source/chemarrow
	${INSTALL_DATA_DIR} ${PKG_LOCALTEXMFPREFIX}/tex/latex/chemarrow
	${INSTALL_DATA_DIR} ${PKG_LOCALTEXMFPREFIX}/fonts/tfm/chemarrow
	${INSTALL_DATA_DIR} ${PREFIX}/share/fonts/chemarrow
	${INSTALL_DATA} ${WRKSRC}/arrow.mf 			\
		${PKG_LOCALTEXMFPREFIX}/fonts/source/chemarrow
	${INSTALL_DATA} ${WRKSRC}/arrow.tfm			\
		${PKG_LOCALTEXMFPREFIX}/fonts/tfm/chemarrow
	${INSTALL_DATA} ${WRKSRC}/chemarrow.sty			\
		${PKG_LOCALTEXMFPREFIX}/tex/latex/chemarrow
	cd ${WRKSRC}/type1/arrow\ PC && ${PAX} -rw . 		\
		${PREFIX}/share/fonts/chemarrow/

.include "../../mk/bsd.pkg.mk"