summaryrefslogtreecommitdiff
path: root/databases/postgresql-prefix/Makefile
blob: 99afc50604b09b1a4f8e96dadc8703e3cc65f520 (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
# $FreeBSD$

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

MAINTAINER=	lbartoletti@tuxfamily.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>