aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2014-07-29 23:40:17 +0800
committersunpoet <sunpoet@FreeBSD.org>2014-07-29 23:40:17 +0800
commitca941f1ad65e155e328b02a4836bd87cdad35885 (patch)
treee978dc80a9cb500dde5caecd2a50ac8e4f9e5505
parent7f776ca41608f833fe57cbfb9f66d4b267eabbec (diff)
downloadfreebsd-ports-gnome-ca941f1ad65e155e328b02a4836bd87cdad35885.tar.gz
freebsd-ports-gnome-ca941f1ad65e155e328b02a4836bd87cdad35885.tar.zst
freebsd-ports-gnome-ca941f1ad65e155e328b02a4836bd87cdad35885.zip
- Update to 1.24.4
- Convert to new options helper - Use COPYTREE_SHARE - Take maintainership Changes: http://sourceforge.net/projects/mysqldumper/files/MySQLDumper/changelog_english.txt/view
-rw-r--r--databases/mysqldumper/Makefile32
-rw-r--r--databases/mysqldumper/distinfo4
-rw-r--r--databases/mysqldumper/pkg-plist4
3 files changed, 16 insertions, 24 deletions
diff --git a/databases/mysqldumper/Makefile b/databases/mysqldumper/Makefile
index 569773149857..a915d95ab6fd 100644
--- a/databases/mysqldumper/Makefile
+++ b/databases/mysqldumper/Makefile
@@ -2,42 +2,34 @@
# $FreeBSD$
PORTNAME= mysqldumper
-PORTVERSION= 1.24.2
-PORTREVISION= 2
+PORTVERSION= 1.24.4
CATEGORIES= databases
MASTER_SITES= SF/${PORTNAME}/MySQLDumper/
DISTNAME= MySQLDumper${PORTVERSION}
-MAINTAINER= ports@FreeBSD.org
+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
+
+NO_BUILD= yes
USE_MYSQL= yes
+USE_PHP= ftp mysql session zlib
USES= perl5 zip
-USE_PHP= session mysql zlib ftp
-NO_BUILD= yes
+PLIST_SUB= WWWGRP=${WWWGRP} WWWOWN=${WWWOWN}
WRKSRC= ${WRKDIR}/msd${PORTVERSION}
-OPTIONS_DEFINE= APACHE LIGHTTPD
-OPTIONS_DEFAULT= APACHE
-PLIST_SUB= WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}"
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MAPACHE}
-USE_APACHE_RUN= 22+
-.endif
-
-.if ${PORT_OPTIONS:MLIGHTTPD}
-RUN_DEPENDS+= lighttpd:${PORTSDIR}/www/lighttpd
-.endif
+APACHE_USE= APACHE_RUN=22+
+LIGHTTPD_RUN_DEPENDS= ${LOCALBASE}/sbin/lighttpd:${PORTSDIR}/www/lighttpd
do-install:
- @${MKDIR} ${STAGEDIR}${WWWDIR}
- ${CP} -a ${WRKDIR}/msd${PORTVERSION}/ ${STAGEDIR}${WWWDIR}
+ ${MKDIR} ${STAGEDIR}${WWWDIR}/
+ cd ${WRKSRC}/ && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/
.include <bsd.port.mk>
diff --git a/databases/mysqldumper/distinfo b/databases/mysqldumper/distinfo
index 01daa98baa55..f99f0d9775cb 100644
--- a/databases/mysqldumper/distinfo
+++ b/databases/mysqldumper/distinfo
@@ -1,2 +1,2 @@
-SHA256 (MySQLDumper1.24.2.zip) = 59dfeae961c843b91d88e19ac8315209c101da4bf20cc20a23a830e4cb02587a
-SIZE (MySQLDumper1.24.2.zip) = 653119
+SHA256 (MySQLDumper1.24.4.zip) = c2b6cb20ac489c9faddf7180ed22a5a1430e549f340d2dbbfc7acbeacf13c86a
+SIZE (MySQLDumper1.24.4.zip) = 659416
diff --git a/databases/mysqldumper/pkg-plist b/databases/mysqldumper/pkg-plist
index 68e542406366..dae7a7eafc24 100644
--- a/databases/mysqldumper/pkg-plist
+++ b/databases/mysqldumper/pkg-plist
@@ -327,8 +327,6 @@
%%WWWDIR%%/tpl/sqlbrowser/sql_record_insert_inputmask.tpl
%%WWWDIR%%/tpl/sqlbrowser/sql_record_update_inputmask.tpl
%%WWWDIR%%/tpl/sqlbrowser/sqlbox.tpl
-@group
-@owner
@dirrm %%WWWDIR%%/tpl/sqlbrowser
@dirrm %%WWWDIR%%/tpl/menu
@dirrm %%WWWDIR%%/tpl/home
@@ -367,3 +365,5 @@
@dirrm %%WWWDIR%%/css
@dirrm %%WWWDIR%%/ReadMe
@dirrmtry %%WWWDIR%%
+@group
+@owner