aboutsummaryrefslogtreecommitdiffstats
path: root/devel/mdds/Makefile
blob: 91c5c209616dc7717bd938cef136ff7a559be33a (plain) (blame)
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
# $FreeBSD$

PORTNAME=   mdds
PORTVERSION=    0.12.0
CATEGORIES= devel
MASTER_SITES=   http://kohei.us/files/mdds/src/
DISTNAME=   ${PORTNAME}_${PORTVERSION}

MAINTAINER= office@FreeBSD.org
COMMENT=    Multi-dimensional data index algorithm

LICENSE=    MIT

PROJECTHOST=    multidimalgorithm

USES=       tar:bzip2
NO_BUILD=   yes

do-configure:
    @${SED} -e 's|@prefix@|${PREFIX}|' \
        -e 's|@includedir@|$${prefix}/include|' \
        -e 's|@VERSION@|${PORTVERSION}|' \
        ${WRKSRC}/misc/mdds.pc.in > ${WRKSRC}/misc/mdds.pc

do-install:
    cd ${WRKSRC} && ${COPYTREE_SHARE} include ${STAGEDIR}${PREFIX}
    ${INSTALL_DATA} ${WRKSRC}/misc/mdds.pc \
        ${STAGEDIR}${PREFIX}/libdata/pkgconfig

.include <bsd.port.mk>