summaryrefslogtreecommitdiff
path: root/print/ja-jsclasses/Makefile
blob: 3ea97b3d277b83f714063ce9216cd3f0df2d3972 (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
# $NetBSD: Makefile,v 1.1.1.1 2003/03/15 20:05:55 kei Exp $

DISTNAME=	jsclasses
PKGNAME=	ja-jsclasses-0.0.0.20021127
CATEGORIES=	print japanese
MASTER_SITES=	http://www.matsusaka-u.ac.jp/~okumura/jsclasses/
EXTRACT_SUFX=	.lzh

MAINTAINER=	kei@netbsd.org
HOMEPAGE=	http://www.matsusaka-u.ac.jp/~okumura/jsclasses/
COMMENT=	new document class files for pLaTeX

DEPENDS+=	ja-ptex-bin>=2.1.3:../../print/ja-ptex-bin
BUILD_DEPENDS+=	ack>=1.39:../../converters/ack

WRKSRC=		${WRKDIR}/jsclasses
PLATEX_DIR=	${PREFIX}/share/texmf.local/ptex/platex
NO_BUILD=	YES

pre-extract:
	${MKDIR} ${WRKSRC}

post-extract:
	@cd ${WRKSRC}; \
	${MV} ../*.* .; \
	${PREFIX}/bin/ack -AeS *.cls *.dtx *.ins *.sty; \
	${RM} *.bak

do-install:
	@cd ${WRKSRC}; \
	${INSTALL_DATA_DIR} ${PLATEX_DIR}/js; \
	${INSTALL_DATA} *.cls *.dtx *.ins *.sty ${PLATEX_DIR}/js

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