diff options
author | taca <taca@pkgsrc.org> | 2007-08-02 15:00:55 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2007-08-02 15:00:55 +0000 |
commit | bd7b94afee636e9e0e3064318cebc916de0db28a (patch) | |
tree | 0f7630fabffc3f2c4a901125fe25697c2702096d /devel/darts | |
parent | 7f6cde374c5196195a2ec01cbf2d8f3ef78b4b73 (diff) | |
download | pkgsrc-bd7b94afee636e9e0e3064318cebc916de0db28a.tar.gz |
Update darts to 0.31.
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.
Diffstat (limited to 'devel/darts')
-rw-r--r-- | devel/darts/Makefile | 25 | ||||
-rw-r--r-- | devel/darts/buildlink3.mk | 7 | ||||
-rw-r--r-- | devel/darts/distinfo | 8 |
3 files changed, 20 insertions, 20 deletions
diff --git a/devel/darts/Makefile b/devel/darts/Makefile index d6f2fecc7df..361b965d2c0 100644 --- a/devel/darts/Makefile +++ b/devel/darts/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.4 2006/03/04 21:29:14 jlam Exp $ +# $NetBSD: Makefile,v 1.5 2007/08/02 15:00:55 taca Exp $ -DISTNAME= darts-0.2 +DISTNAME= darts-0.31 CATEGORIES= devel MASTER_SITES= http://chasen.org/~taku/software/darts/src/ @@ -11,25 +11,26 @@ COMMENT= C++ template library that implements Double-Array USE_LANGUAGES= c c++ GNU_CONFIGURE= yes -DOCDIR= ${PREFIX}/share/doc/darts -HTMLDOCDIR= ${PREFIX}/share/doc/html/darts -EXAMPLESDIR= ${PREFIX}/share/examples/darts -EXAMPLES= darts.cpp mkdarts.cpp +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: - ${INSTALL_DATA_DIR} ${DOCDIR} .for f in ${DOCS} - ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCDIR} + ${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/${DOCDIR} .endfor - ${INSTALL_DATA_DIR} ${HTMLDOCDIR} .for f in ${HTMLDOCS} - ${INSTALL_DATA} ${WRKSRC}/doc/${f} ${HTMLDOCDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/${f} ${DESTDIR}${PREFIX}/${HTMLDOCDIR} .endfor - ${INSTALL_DATA_DIR} ${EXAMPLESDIR} .for f in ${EXAMPLES} - ${INSTALL_DATA} ${WRKSRC}/${f} ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/${EXAMPLESDIR} .endfor .include "../../mk/bsd.pkg.mk" diff --git a/devel/darts/buildlink3.mk b/devel/darts/buildlink3.mk index d20f06f281d..a4d93be7b1a 100644 --- a/devel/darts/buildlink3.mk +++ b/devel/darts/buildlink3.mk @@ -1,6 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:10:42 jlam Exp $ - -BUILDLINK_DEPMETHOD.darts?= build +# $NetBSD: buildlink3.mk,v 1.7 2007/08/02 15:00:56 taca Exp $ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ DARTS_BUILDLINK3_MK:= ${DARTS_BUILDLINK3_MK}+ @@ -14,8 +12,9 @@ BUILDLINK_PACKAGES+= darts BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}darts .if !empty(DARTS_BUILDLINK3_MK:M+) -BUILDLINK_API_DEPENDS.darts+= darts>=0.2 +BUILDLINK_API_DEPENDS.darts+= darts>=0.31 BUILDLINK_PKGSRCDIR.darts?= ../../devel/darts +BUILDLINK_DEPMETHOD.darts?= build .endif # DARTS_BUILDLINK3_MK BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} diff --git a/devel/darts/distinfo b/devel/darts/distinfo index dbea8c4b116..c102b250365 100644 --- a/devel/darts/distinfo +++ b/devel/darts/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.2 2005/02/23 22:24:12 agc Exp $ +$NetBSD: distinfo,v 1.3 2007/08/02 15:00:56 taca Exp $ -SHA1 (darts-0.2.tar.gz) = bc3ec22e13994fc29fc6564989b32b28810dda9b -RMD160 (darts-0.2.tar.gz) = e2157b7b51693e17066d60b43835cd4c643e154d -Size (darts-0.2.tar.gz) = 237927 bytes +SHA1 (darts-0.31.tar.gz) = cd76d69ed5c356bbd94b251daec004283f5771bb +RMD160 (darts-0.31.tar.gz) = a4f3e00ff992d34031668fb9fc6ef0c9e8b5965d +Size (darts-0.31.tar.gz) = 227448 bytes |