aboutsummaryrefslogblamecommitdiff
path: root/databases/mydumper/Makefile
blob: cc5a8fa27d3edbc60b2355b1b8be4c5923151b00 (plain) (tree)
1
2
3
4
5
6
7
8
9







                                                      
                     
                         
                                                                                             



                                 

                     
                                                              

                                           

                                                          



                             
                   
                           


                                                                   




                                                            
# New ports collection makefile for:	mydumper
# Date created:		2009-03-04
# Whom:			Gea-Suan Lin <gslin@gslin.org>
#
# $FreeBSD$
#

PORTNAME=	mydumper
PORTVERSION=	0.5.0
CATEGORIES=	databases
MASTER_SITES=	http://code.launchpad.net/mydumper/${PORTVERSION:R}/${PORTVERSION}/+download/

MAINTAINER=	gslin@gslin.org
COMMENT=	MySQL Data Dumper

LICENSE=	GPLv3

BUILD_DEPENDS=	${LOCALBASE}/bin/cmake:${PORTSDIR}/devel/cmake
LIB_DEPENDS=	pcre:${PORTSDIR}/devel/pcre

WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION:S/a//}

FETCH_ARGS?=	-pRr
PLIST_FILES=	sbin/mydumper
USE_GNOME=	glib20
USE_MYSQL=	yes
USE_CMAKE=	yes
CMAKE_USE_PTHREAD=	yes

post-patch:
	@${REINPLACE_CMD} -e 's|-Werror||' ${WRKSRC}/CMakeLists.txt

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/mydumper ${PREFIX}/sbin

.include <bsd.port.mk>