summaryrefslogtreecommitdiff
path: root/devel/mdds/Makefile
blob: 3db80afe2265b16bdf9d483a0abd5a73ce4283e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# $NetBSD: Makefile,v 1.22 2014/07/02 13:30:30 ryoon Exp $
#

DISTNAME=	aa5ca9d1ed1082890835afab26400a39-mdds_0.10.3
PKGNAME=	${DISTNAME:C/[0-9a-f]*-//:S/_/-/}
CATEGORIES=	devel
MASTER_SITES=	http://dev-www.libreoffice.org/src/
EXTRACT_SUFX=	.tar.bz2
EXTRACT_USING=	gtar

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://code.google.com/p/multidimalgorithm/
COMMENT=	Collection of multi-dimensional data structure and indexing algorithms
LICENSE=	mit

WRKSRC=		${WRKDIR}/${DISTNAME:C/[0-9a-f]*-//}

USE_LANGUAGES=		c++
GNU_CONFIGURE=		yes
NO_BUILD=		yes
INSTALLATION_DIRS=	include/mdds/compat include/mdds/hash_container \
			share/pkgconfig
PKGCONFIG_OVERRIDE+=	misc/mdds.pc.in

do-install:
	for i in ${WRKSRC}/include/mdds/*.*; do \
		${INSTALL_DATA} $$i ${DESTDIR}${PREFIX}/include/mdds; \
	done
	for i in ${WRKSRC}/include/mdds/compat/*.*; do \
		${INSTALL_DATA} $$i ${DESTDIR}${PREFIX}/include/mdds/compat; \
	done
	rm -f ${DESTDIR}${PREFIX}/include/mdds/*orig
	for i in ${WRKSRC}/include/mdds/hash_container/*.*; do \
		${INSTALL_DATA} $$i \
			${DESTDIR}${PREFIX}/include/mdds/hash_container; \
	done
	${INSTALL_DATA} ${WRKSRC}/misc/mdds.pc ${DESTDIR}${PREFIX}/share/pkgconfig

BUILDLINK_DEPMETHOD.boost-headers?=	build
.include "../../devel/boost-headers/buildlink3.mk"
.include "../../devel/boost-libs/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"