2009-08-29 10:31:20 +02:00
|
|
|
# $NetBSD: Makefile,v 1.7 2009/08/29 08:31:20 obache Exp $
|
2004-05-06 15:22:43 +02:00
|
|
|
|
2008-08-03 17:21:56 +02:00
|
|
|
DISTNAME= darts-0.32
|
2004-05-06 15:22:43 +02:00
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= http://chasen.org/~taku/software/darts/src/
|
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2004-05-06 15:22:43 +02:00
|
|
|
HOMEPAGE= http://chasen.org/~taku/software/darts/
|
|
|
|
COMMENT= C++ template library that implements Double-Array
|
2009-08-29 10:31:20 +02:00
|
|
|
LICENSE= gnu-lgpl-v2.1 OR modified-bsd
|
2004-05-06 15:22:43 +02:00
|
|
|
|
2006-02-26 14:48:31 +01:00
|
|
|
USE_LANGUAGES= c c++
|
2004-05-06 15:22:43 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
|
2007-08-02 17:00:55 +02:00
|
|
|
DOCDIR= share/doc/darts
|
|
|
|
EXAMPLESDIR= share/examples/darts
|
|
|
|
HTMLDOCDIR= share/doc/html/darts
|
2004-05-06 15:22:43 +02:00
|
|
|
DOCS= AUTHORS ChangeLog README
|
2007-08-02 17:00:55 +02:00
|
|
|
EXAMPLES= darts.cpp mkdarts.cpp
|
2004-05-06 15:22:43 +02:00
|
|
|
HTMLDOCS= darts.css index.html
|
|
|
|
|
2007-08-02 17:00:55 +02:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
|
|
|
INSTALLATION_DIRS= ${DOCDIR} ${EXAMPLESDIR} ${HTMLDOCDIR}
|
|
|
|
|
2004-05-06 15:22:43 +02:00
|
|
|
post-install:
|
|
|
|
.for f in ${DOCS}
|
2007-08-02 17:00:55 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/${DOCDIR}
|
2004-05-06 15:22:43 +02:00
|
|
|
.endfor
|
|
|
|
.for f in ${HTMLDOCS}
|
2007-08-02 17:00:55 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/${f} ${DESTDIR}${PREFIX}/${HTMLDOCDIR}
|
2004-05-06 15:22:43 +02:00
|
|
|
.endfor
|
|
|
|
.for f in ${EXAMPLES}
|
2007-08-02 17:00:55 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/${EXAMPLESDIR}
|
2004-05-06 15:22:43 +02:00
|
|
|
.endfor
|
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|