bd7b94afee
pkgsrc change: o Add DESTDIR supoprt. o fix buildlink3.mk, stopping pkglint's warning. darts change from 0.2 to 0.31. o Change license from LGPL to BSD/LGPL dual license. o Fix a bug which cause illegal access when create doule array. o Change some methods' name, such as setArray to set_array. o Stop providing rpm packages.
36 lines
956 B
Makefile
36 lines
956 B
Makefile
# $NetBSD: Makefile,v 1.5 2007/08/02 15:00:55 taca Exp $
|
|
|
|
DISTNAME= darts-0.31
|
|
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
|
|
|
|
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"
|