aboutsummaryrefslogtreecommitdiffstats
path: root/databases/mysqldumper/Makefile
blob: 61098f3812a21b1675b431182637b975f43a2af9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Created by: Marek Holienka <marekholienka@gmail.com>
# $FreeBSD$

PORTNAME=   mysqldumper
PORTVERSION=    1.24.4
CATEGORIES= databases
MASTER_SITES=   SF/${PORTNAME}/MySQLDumper/
DISTNAME=   MySQLDumper${PORTVERSION}

MAINTAINER= sunpoet@FreeBSD.org
COMMENT=    Tool for backing up MySQL databases

LICENSE=    GPLv2

RUN_DEPENDS=    p5-DBI>=1.48:${PORTSDIR}/databases/p5-DBI

OPTIONS_DEFINE= APACHE LIGHTTPD
OPTIONS_DEFAULT=APACHE

PORTSCOUT=  limit:^[0-9\.]*$$

NO_BUILD=   yes
USE_MYSQL=  yes
USE_PHP=    ftp mysql session zlib
USES=       cpe perl5 zip
IGNORE_WITH_PHP=    70

PLIST_SUB=  WWWGRP=${WWWGRP} WWWOWN=${WWWOWN}
WRKSRC=     ${WRKDIR}/msd${PORTVERSION}

APACHE_USE=     APACHE_RUN=22+
LIGHTTPD_RUN_DEPENDS=   ${LOCALBASE}/sbin/lighttpd:${PORTSDIR}/www/lighttpd

do-install:
    ${MKDIR} ${STAGEDIR}${WWWDIR}/
    cd ${WRKSRC}/ && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/

.include <bsd.port.mk>