pkgsrc/devel/darts/Makefile

38 lines
997 B
Makefile
Raw Normal View History

2009-08-29 10:31:20 +02:00
# $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
2009-08-29 10:31:20 +02:00
LICENSE= gnu-lgpl-v2.1 OR modified-bsd
2006-02-26 14:48:31 +01:00
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"