summaryrefslogtreecommitdiff
path: root/databases/postgresql-prefix/Makefile
blob: 89733ca2a1a42af942298bddc04a7d6a2e62571a (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

PORTNAME=	prefix
PORTVERSION=	1.2.9
DISTVERSIONPREFIX=	v
CATEGORIES=	databases
PKGNAMEPREFIX=	postgresql${PGSQL_VER:S/.//}-

MAINTAINER=	lbartoletti@FreeBSD.org
COMMENT=	Prefix Range module for PostgreSQL

LICENSE=	PostgreSQL

USES=		gmake pgsql:9.1+
WANT_PGSQL=	server
USE_GITHUB=	yes
GH_ACCOUNT=	dimitri

OPTIONS_DEFINE=	DOCS

post-install:
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/postgresql/prefix.so

post-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	(cd ${WRKSRC} ;	${INSTALL_DATA} README.md TESTS.md ${STAGEDIR}${DOCSDIR})

.include <bsd.port.mk>