summaryrefslogtreecommitdiff
path: root/databases/ip4r/Makefile
blob: 67b736973da2b53aea5191492d54c81263ef9ff7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
PORTNAME=	ip4r
PORTVERSION=	2.4.2
CATEGORIES=	databases net

MAINTAINER=	axel.rau@chaos1.de
COMMENT=	IP address and IP range index types for PostgreSQL
WWW=		https://github.com/RhodiumToad/ip4r

LICENSE=	PostgreSQL

USES=		gmake pgsql
USE_GITHUB=	yes
GH_ACCOUNT=	RhodiumToad

post-install:
	@${MKDIR} ${STAGEDIR}${PREFIX}/include/postgresql/server/extension/ip4r
	${INSTALL_DATA} ${WRKSRC}/src/ipr.h ${STAGEDIR}${PREFIX}/include/postgresql/server/extension/ip4r
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/postgresql/ip4r.so

.include <bsd.port.mk>