summaryrefslogtreecommitdiff
path: root/print/tex-cooking/Makefile
blob: d0e600ade52feb6ef12f633beaf855e21973472b (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
# $NetBSD: Makefile,v 1.3 2010/01/27 16:08:19 joerg Exp $

DISTNAME=	cooking
PKGNAME=	tex-${DISTNAME}-0.9b
CATEGORIES=	print
MASTER_SITES=	${MASTER_SITE_TEX_CTAN:=macros/latex/contrib/}
EXTRACT_SUFX=	.zip

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://tug.ctan.org/tex-archive/macros/latex/contrib/cooking/
COMMENT=	Typeset recipes

PKG_DESTDIR_SUPPORT=	user-destdir

DIST_SUBDIR=	${PKGNAME_NOREV}

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

do-build:
	cd ${WRKSRC} && latex cooking.ins
	cd ${WRKSRC} && latex cooking.dtx
	cd ${WRKSRC} && latex cooking.dtx
	cd ${WRKSRC} && latex cooking.dtx
	cd ${WRKSRC} && latex kraut.tex

INSTALLATION_DIRS=	${PKG_LOCALTEXMFPREFIX}/doc/latex/cooking \
			${PKG_LOCALTEXMFPREFIX}/tex/latex/cooking

do-install:
.for __tmp__ in README cooking.dvi kraut.tex kraut.dvi
	${INSTALL_DATA} ${WRKSRC}/${__tmp__} ${DESTDIR}${PKG_LOCALTEXMFPREFIX}/doc/latex/cooking
.endfor
	${INSTALL_DATA} ${WRKSRC}/cooking.sty \
	    ${DESTDIR}${PKG_LOCALTEXMFPREFIX}/tex/latex/cooking

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