blob: 0cad35f547cd425b91aae1f5aee5faa1c5dcf33d (
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
|
# $FreeBSD$
PORTNAME= mdds
PORTVERSION= 1.7.0
CATEGORIES= devel
MASTER_SITES= https://kohei.us/files/mdds/src/
MAINTAINER= office@FreeBSD.org
COMMENT= Multi-dimensional data index algorithm
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= tar:bzip2
NO_ARCH= yes
NO_BUILD= yes
PLIST_SUB= API_VERSION=${API_VERSION}
API_VERSION= ${PORTVERSION:R}
do-configure:
@${SED} -e 's|@API_VERSION@|${API_VERSION}|' \
-e 's|@VERSION@|${PORTVERSION}|' \
-e 's|@includedir@|$${prefix}/include|' \
-e 's|@prefix@|${PREFIX}|' \
${WRKSRC}/misc/mdds.pc.in > \
${WRKSRC}/misc/mdds-${API_VERSION}.pc
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/include/mdds-${API_VERSION}/mdds
(cd ${WRKSRC}/include && ${COPYTREE_SHARE} . \
${STAGEDIR}${PREFIX}/include/mdds-${API_VERSION})
${FIND} ${STAGEDIR}${PREFIX}/include/mdds-${API_VERSION} \
\( -name "*.orig" -or -name "Makefile.*" \) -delete
${INSTALL_DATA} ${WRKSRC}/misc/mdds-${API_VERSION}.pc \
${STAGEDIR}${PREFIX}/libdata/pkgconfig
.include <bsd.port.mk>
|