mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-02 11:09:29 +00:00
- Convert {BUILD,RUN}_DEPENDS to USE_PGSQL [1]
- Add LICENSE - Convert USE_GMAKE to USES - Add DOCS option - Add stage support PR: ports/183166 Submitted by: Alexander Pyhalov <alp@sfedu.ru> (maintainer) [1]
This commit is contained in:
parent
253f18f499
commit
cf965dab9a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=331217
@ -10,27 +10,26 @@ DISTNAME= repmgr-${PORTVERSION}
|
||||
MAINTAINER= alp@sfedu.ru
|
||||
COMMENT= PostgreSQL replication manager
|
||||
|
||||
BUILD_DEPENDS= postgresql-server>=9.0:${PORTSDIR}/databases/postgresql90-server
|
||||
RUN_DEPENDS:= ${BUILD_DEPENDS} \
|
||||
rsync:${PORTSDIR}/net/rsync
|
||||
LICENSE= GPLv3
|
||||
|
||||
USE_GMAKE= yes
|
||||
RUN_DEPENDS= rsync:${PORTSDIR}/net/rsync
|
||||
|
||||
USES= gmake
|
||||
USE_PGSQL= yes
|
||||
WANT_PGSQL_VER= 90+
|
||||
MAKE_ENV= USE_PGXS=1
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
PORTDOCS= README.*
|
||||
|
||||
NO_STAGE= yes
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/repmgr ${PREFIX}/bin
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/repmgrd ${PREFIX}/sbin
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/README.rst ${DOCSDIR}
|
||||
.endif
|
||||
.if !defined(NOPORTDATA)
|
||||
@${MKDIR} ${DATADIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/repmgr.conf ${DATADIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/repmgr.sql ${DATADIR}
|
||||
.endif
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/repmgr ${STAGEDIR}${PREFIX}/bin
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/repmgrd ${STAGEDIR}${PREFIX}/sbin
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/README.rst ${STAGEDIR}${DOCSDIR}
|
||||
@${MKDIR} ${STAGEDIR}${DATADIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/repmgr.conf ${STAGEDIR}${DATADIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/repmgr.sql ${STAGEDIR}${DATADIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
x
Reference in New Issue
Block a user