mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-01 05:45:45 +00:00
41 lines
923 B
Makefile
41 lines
923 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= pg_partman
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 3.2.1
|
|
PORTREVISION= 1
|
|
CATEGORIES= databases
|
|
|
|
MAINTAINER= lacey.leanne@gmail.com
|
|
COMMENT= PostgreSQL Partition Manager
|
|
|
|
LICENSE= PostgreSQL
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
|
|
|
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/psycopg2/__init__.py:databases/py-psycopg2
|
|
|
|
USES= gmake pgsql:9.4+ python uidfix shebangfix
|
|
LLD_UNSAFE= yes
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= keithf4
|
|
|
|
WANT_PGSQL= server
|
|
SHEBANG_GLOB= *.py
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/postgresql/pg_partman_bgw.so
|
|
|
|
post-install-DOCS-on:
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${MV} ${STAGEDIR}${PREFIX}/share/doc/postgresql/extension/*.md ${STAGEDIR}${DOCSDIR}
|
|
${RMDIR} ${STAGEDIR}${PREFIX}/share/doc/postgresql/extension
|
|
${RMDIR} ${STAGEDIR}${PREFIX}/share/doc/postgresql
|
|
|
|
post-install-DOCS-off:
|
|
${RM} -r ${STAGEDIR}${PREFIX}/share/doc/postgresql
|
|
|
|
.include <bsd.port.mk>
|