1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-14 07:43:06 +00:00
freebsd-ports/devel/mdds/Makefile
2014-05-06 04:33:55 +00:00

36 lines
1.1 KiB
Makefile

# $FreeBSD$
PORTNAME= mdds
PORTVERSION= 0.10.3
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:
@${MKDIR} ${STAGEDIR}${PREFIX}/include/mdds
@${MKDIR} ${STAGEDIR}${PREFIX}/include/mdds/compat
@${MKDIR} ${STAGEDIR}${PREFIX}/include/mdds/hash_container
@${INSTALL_DATA} ${WRKSRC}/include/mdds/*.hpp ${STAGEDIR}${PREFIX}/include/mdds
@${INSTALL_DATA} ${WRKSRC}/include/mdds/*.inl ${STAGEDIR}${PREFIX}/include/mdds
@${INSTALL_DATA} ${WRKSRC}/include/mdds/compat/*.hpp ${STAGEDIR}${PREFIX}/include/mdds/compat
@${INSTALL_DATA} ${WRKSRC}/include/mdds/hash_container/*.hpp ${STAGEDIR}${PREFIX}/include/mdds/hash_container
@${INSTALL_DATA} ${WRKSRC}/misc/mdds.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig
.include <bsd.port.mk>