svn commit: r331217 - head/databases/postgresql-repmgr
Danilo Egea Gondolfo
danilo at FreeBSD.org
Tue Oct 22 03:19:14 UTC 2013
Author: danilo
Date: Tue Oct 22 03:19:13 2013
New Revision: 331217
URL: http://svnweb.freebsd.org/changeset/ports/331217
Log:
- 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 at sfedu.ru> (maintainer) [1]
Modified:
head/databases/postgresql-repmgr/Makefile
Modified: head/databases/postgresql-repmgr/Makefile
==============================================================================
--- head/databases/postgresql-repmgr/Makefile Tue Oct 22 02:50:50 2013 (r331216)
+++ head/databases/postgresql-repmgr/Makefile Tue Oct 22 03:19:13 2013 (r331217)
@@ -10,27 +10,26 @@ DISTNAME= repmgr-${PORTVERSION}
MAINTAINER= alp at 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>
More information about the svn-ports-all
mailing list