4e1b79a0a6
With hat: portmgr Sponsored by: Absolight
35 lines
974 B
Makefile
35 lines
974 B
Makefile
# Created by: Mathieu Arnold <mat@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= Bucardo
|
|
PORTVERSION= 5.4.1
|
|
CATEGORIES= databases perl5
|
|
MASTER_SITES= http://bucardo.org/downloads/ LOCAL/mat/${PORTNAME}
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= mat@FreeBSD.org
|
|
COMMENT= Asynchronous PostgreSQL replication system
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
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
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
|
|
|
USES= perl5
|
|
USE_PERL5= configure
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} 's/INSTALL_BASE/DESTDIR/;s/bucardo.1pm/bucardo.1/' \
|
|
${WRKSRC}/Makefile.PL
|
|
@${REINPLACE_CMD} 's=/usr/local=${PREFIX}=' ${WRKSRC}/Makefile.PL \
|
|
${WRKSRC}/bucardo ${WRKSRC}/dist/bucardo.rc
|
|
|
|
post-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/dist/bucardo.rc ${STAGEDIR}${PREFIX}/etc/rc.d/bucardo
|
|
|
|
.include <bsd.port.mk>
|