summaryrefslogtreecommitdiff
path: root/print/tex-algorithm2e/Makefile
blob: 4e69fca1fc44f41f9f81a40c4147258a0e23d589 (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
# $NetBSD: Makefile,v 1.3 2009/07/22 09:01:43 wiz Exp $

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

MAINTAINER=	jmmv@NetBSD.org
HOMEPAGE=	http://www.ctan.org/tex-archive/help/Catalogue/entries/algorithm2e.html
COMMENT=	Environment for writing algorithms

PKG_DESTDIR_SUPPORT=	user-destdir

NO_BUILD=	yes

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

do-install:
	${INSTALL_DATA_DIR} ${DESTDIR}${PKG_LOCALTEXMFPREFIX}/doc/latex/algorithm2e
	${INSTALL_DATA} ${WRKSRC}/algorithm2e.pdf \
		${DESTDIR}${PKG_LOCALTEXMFPREFIX}/doc/latex/algorithm2e
	${INSTALL_DATA} ${WRKSRC}/algorithm2e_ex*.tex \
		${DESTDIR}${PKG_LOCALTEXMFPREFIX}/doc/latex/algorithm2e
	${INSTALL_DATA_DIR} ${DESTDIR}${PKG_LOCALTEXMFPREFIX}/tex/latex/algorithm2e
	${INSTALL_DATA} ${WRKSRC}/algorithm2e.sty \
		${DESTDIR}${PKG_LOCALTEXMFPREFIX}/tex/latex/algorithm2e

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