2013-10-17 15:44:04 +02:00
|
|
|
# Created by: Mathieu Arnold <mat@FreeBSD.org>
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= Bucardo
|
2016-01-13 15:11:16 +01:00
|
|
|
PORTVERSION= 5.4.1
|
2013-10-17 15:44:04 +02:00
|
|
|
CATEGORIES= databases perl5
|
2014-07-21 19:45:21 +02:00
|
|
|
MASTER_SITES= http://bucardo.org/downloads/ LOCAL/mat/${PORTNAME}
|
2013-10-17 15:44:04 +02:00
|
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
|
|
|
|
MAINTAINER= mat@FreeBSD.org
|
|
|
|
COMMENT= Asynchronous PostgreSQL replication system
|
|
|
|
|
2014-06-09 14:31:17 +02:00
|
|
|
LICENSE= BSD2CLAUSE
|
2013-10-17 15:44:04 +02:00
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
|
2016-04-01 16:00:51 +02:00
|
|
|
BUILD_DEPENDS= p5-DBI>=1.51:databases/p5-DBI \
|
|
|
|
p5-DBD-Pg>=2.0:databases/p5-DBD-Pg \
|
|
|
|
p5-Encode-Locale>=0:converters/p5-Encode-Locale \
|
|
|
|
p5-boolean>=0:devel/p5-boolean \
|
|
|
|
p5-DBIx-Safe>=1.2.4:databases/p5-DBIx-Safe
|
2014-09-10 14:13:06 +02:00
|
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
2013-10-17 15:44:04 +02:00
|
|
|
|
|
|
|
USES= perl5
|
|
|
|
USE_PERL5= configure
|
|
|
|
|
|
|
|
post-patch:
|
2014-08-04 16:20:24 +02:00
|
|
|
@${REINPLACE_CMD} 's/INSTALL_BASE/DESTDIR/;s/bucardo.1pm/bucardo.1/' \
|
2013-10-17 15:44:04 +02:00
|
|
|
${WRKSRC}/Makefile.PL
|
|
|
|
@${REINPLACE_CMD} 's=/usr/local=${PREFIX}=' ${WRKSRC}/Makefile.PL \
|
2014-06-24 18:28:45 +02:00
|
|
|
${WRKSRC}/bucardo ${WRKSRC}/dist/bucardo.rc
|
2013-10-17 15:44:04 +02:00
|
|
|
|
|
|
|
post-install:
|
2014-06-24 18:28:45 +02:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/dist/bucardo.rc ${STAGEDIR}${PREFIX}/etc/rc.d/bucardo
|
2013-10-17 15:44:04 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|