37 lines
997 B
Makefile
37 lines
997 B
Makefile
# $NetBSD: Makefile,v 1.7 2009/08/29 08:31:20 obache Exp $
|
|
|
|
DISTNAME= darts-0.32
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://chasen.org/~taku/software/darts/src/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://chasen.org/~taku/software/darts/
|
|
COMMENT= C++ template library that implements Double-Array
|
|
LICENSE= gnu-lgpl-v2.1 OR modified-bsd
|
|
|
|
USE_LANGUAGES= c c++
|
|
GNU_CONFIGURE= yes
|
|
|
|
DOCDIR= share/doc/darts
|
|
EXAMPLESDIR= share/examples/darts
|
|
HTMLDOCDIR= share/doc/html/darts
|
|
DOCS= AUTHORS ChangeLog README
|
|
EXAMPLES= darts.cpp mkdarts.cpp
|
|
HTMLDOCS= darts.css index.html
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
INSTALLATION_DIRS= ${DOCDIR} ${EXAMPLESDIR} ${HTMLDOCDIR}
|
|
|
|
post-install:
|
|
.for f in ${DOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/${DOCDIR}
|
|
.endfor
|
|
.for f in ${HTMLDOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/doc/${f} ${DESTDIR}${PREFIX}/${HTMLDOCDIR}
|
|
.endfor
|
|
.for f in ${EXAMPLES}
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/${EXAMPLESDIR}
|
|
.endfor
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|