aboutsummaryrefslogtreecommitdiffstats
path: root/databases/postgresql-prefix/Makefile
blob: acc8b102744630967d32a038ea90da8d91407f97 (plain) (blame)
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
# $FreeBSD$

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>