pkgsrc/print/ja-jsclasses/Makefile

35 lines
848 B
Makefile

# $NetBSD: Makefile,v 1.13 2006/02/05 23:10:37 joerg Exp $
DISTNAME= jsclasses-030624
PKGNAME= ja-${DISTNAME}
PKGREVISION= 2
CATEGORIES= print japanese
MASTER_SITES= http://www.matsusaka-u.ac.jp/~okumura/jsclasses/
EXTRACT_SUFX= .zip
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
WRKSRC= ${WRKDIR}/jsclasses
DEINSTALL_EXTRA_TMPL+= ${.CURDIR}/DEINSTALL
INSTALL_EXTRA_TMPL+= ${.CURDIR}/INSTALL
PLATEX_DIR= ${PREFIX}/share/texmf.local/ptex/platex
NO_BUILD= YES
pre-extract:
${MKDIR} ${WRKSRC}
post-extract:
@cd ${WRKSRC}; \
${MV} ../*.* .
do-install:
@cd ${WRKSRC}; \
${INSTALL_DATA_DIR} ${PLATEX_DIR}/js; \
${INSTALL_DATA} *.cls *.dtx *.ins *.sty ${PLATEX_DIR}/js
.include "../../mk/bsd.pkg.mk"