summaryrefslogtreecommitdiff
path: root/devel/darts/Makefile
blob: d56aed9c883926af4977341b0e65641913857237 (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.1.1.1 2004/05/06 13:22:43 taca Exp $
# $FreeBSD: ports/devel/darts/Makefile,v 1.2 2003/11/20 19:28:29 knu Exp $
#

DISTNAME=	darts-0.2
CATEGORIES=	devel
MASTER_SITES=	http://chasen.org/~taku/software/darts/src/

MAINTAINER=	tech-pkg@NetBSD.org
HOMEPAGE=	http://chasen.org/~taku/software/darts/
COMMENT=	C++ template library that implements Double-Array

GNU_CONFIGURE=	yes

DOCDIR=		${PREFIX}/share/doc/darts
HTMLDOCDIR=	${PREFIX}/share/doc/html/darts
EXAMPLESDIR=	${PREFIX}/share/examples/darts
EXAMPLES=	darts.cpp mkdarts.cpp
DOCS=		AUTHORS ChangeLog README
HTMLDOCS=	darts.css index.html

post-install:
	${INSTALL_DATA_DIR} ${DOCDIR}
.for f in ${DOCS}
	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCDIR}
.endfor
	${INSTALL_DATA_DIR} ${HTMLDOCDIR}
.for f in ${HTMLDOCS}
	${INSTALL_DATA} ${WRKSRC}/doc/${f} ${HTMLDOCDIR}
.endfor
	${INSTALL_DATA_DIR} ${EXAMPLESDIR}
.for f in ${EXAMPLES}
	${INSTALL_DATA} ${WRKSRC}/${f} ${EXAMPLESDIR}
.endfor

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