diff options
author | danfe <danfe@FreeBSD.org> | 2013-03-14 20:56:38 +0800 |
---|---|---|
committer | danfe <danfe@FreeBSD.org> | 2013-03-14 20:56:38 +0800 |
commit | f48f56c1d4b42acb8efea2025df471d89df822bb (patch) | |
tree | 877dfb3a856fac622d5af6910e53106fcecab0ad | |
parent | 93179d81996e44eb147ea9ec685a3cb22cb99dea (diff) | |
download | freebsd-ports-gnome-f48f56c1d4b42acb8efea2025df471d89df822bb.tar.gz freebsd-ports-gnome-f48f56c1d4b42acb8efea2025df471d89df822bb.tar.zst freebsd-ports-gnome-f48f56c1d4b42acb8efea2025df471d89df822bb.zip |
- Clean up couple of things after previous commit (r314144)
- Do not overwrite WWWOWN and WWWGRP, set should be already set
- Fix a typo in pkg-message, shorten <hr> lines by 2 characters
- While here, define LICENSE (GPLv2), reformat and strip EOL spaces from
pkg-descr, sort the knobs, improve COMMENT, etc.
-rw-r--r-- | databases/mysqldumper/Makefile | 30 | ||||
-rw-r--r-- | databases/mysqldumper/pkg-descr | 10 | ||||
-rw-r--r-- | databases/mysqldumper/pkg-message | 8 |
3 files changed, 26 insertions, 22 deletions
diff --git a/databases/mysqldumper/Makefile b/databases/mysqldumper/Makefile index f1bd9f055a38..8016a61d6fe8 100644 --- a/databases/mysqldumper/Makefile +++ b/databases/mysqldumper/Makefile @@ -1,4 +1,4 @@ -# Created by: Marek Holienka <marekholienka@gmail.com> +# Created by: Marek Holienka <marekholienka@gmail.com> # $FreeBSD$ PORTNAME= mysqldumper @@ -9,37 +9,41 @@ MASTER_SITES= SF/${PORTNAME}/MySQLDumper/ DISTNAME= MySQLDumper${PORTVERSION} MAINTAINER= marekholienka@gmail.com -COMMENT= MySQLDumper is tool for backing up MySQL databases +COMMENT= Tool for backing up MySQL databases -RUN_DEPENDS= p5-DBI>=1.48:${PORTSDIR}/databases/p5-DBI \ +LICENSE= GPLv2 -OPTIONS_DEFINE= APACHE LIGHTTPD -OPTIONS_DEFAULT= APACHE +RUN_DEPENDS= p5-DBI>=1.48:${PORTSDIR}/databases/p5-DBI USE_ZIP= yes -NO_BUILD= yes -WRKSRC= ${WRKDIR}/msd${PORTVERSION} -USE_PHP= session mysql zlib ftp USE_MYSQL= yes USE_PERL5= yes -WWWOWN= www -WWWGRP= ${WWWOWN} +USE_PHP= session mysql zlib ftp + +NO_BUILD= yes +WRKSRC= ${WRKDIR}/msd${PORTVERSION} + +OPTIONS_DEFINE= APACHE LIGHTTPD +OPTIONS_DEFAULT= APACHE .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 do-install: @${MKDIR} ${WWWDIR} - @${CP} -r ${WRKDIR}/msd${PORTVERSION}/ ${WWWDIR} - @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR} + ${CP} -a ${WRKDIR}/msd${PORTVERSION}/ ${WWWDIR} + ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR} post-install: - ${CAT} ${PKGMESSAGE} + @${ECHO_MSG} + @${CAT} ${PKGMESSAGE} + @${ECHO_MSG} .include <bsd.port.mk> diff --git a/databases/mysqldumper/pkg-descr b/databases/mysqldumper/pkg-descr index 3d992746f705..54860d53d9e5 100644 --- a/databases/mysqldumper/pkg-descr +++ b/databases/mysqldumper/pkg-descr @@ -1,7 +1,7 @@ MySQLDumper is a PHP and Perl based tool for backing up MySQL databases. -You can easily dump your data into a backup file and - if needed - restore it. -It is especially suited for shared hosting webspaces, where you don't -have shell access. MySQLDumper is an open source project and released -under the GNU-license. +You can easily dump your data into a backup file and, if needed, restore it. +It is especially suited for shared hosting webspaces, where you don't have +shell access. MySQLDumper is an open source project and released under the +GPLv2 license. -WWW: http://www.mysqldumper.net/ +WWW: http://www.mysqldumper.net/ diff --git a/databases/mysqldumper/pkg-message b/databases/mysqldumper/pkg-message index 53a1c8e926ca..eecf9b8b710e 100644 --- a/databases/mysqldumper/pkg-message +++ b/databases/mysqldumper/pkg-message @@ -1,8 +1,8 @@ --------------------------------------------------------------------------------- +------------------------------------------------------------------------------ Installation has successfully completed! --------------------------------------------------------------------------------- +------------------------------------------------------------------------------ -MySQLDuper is now installed, but it requires some additional setup +MySQLDumper is now installed, but it requires some additional setup. Usage: - to access the application, go to http://your-server/mysqldumper @@ -10,4 +10,4 @@ Usage: Information: - create at least one database to use the application --------------------------------------------------------------------------------- +------------------------------------------------------------------------------ |