aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-03-06 01:35:49 +0800
committerbapt <bapt@FreeBSD.org>2014-03-06 01:35:49 +0800
commitf0cd2a8cd272bbbc2393fd9bb4aba5f53f76c1e6 (patch)
tree3d86379e28bd00f07316d4a2afb5ef6fa9224e19 /databases
parent523c2a927d2970238f16c17d65262bdfce760695 (diff)
downloadfreebsd-ports-gnome-f0cd2a8cd272bbbc2393fd9bb4aba5f53f76c1e6.tar.gz
freebsd-ports-gnome-f0cd2a8cd272bbbc2393fd9bb4aba5f53f76c1e6.tar.zst
freebsd-ports-gnome-f0cd2a8cd272bbbc2393fd9bb4aba5f53f76c1e6.zip
Support stage
Diffstat (limited to 'databases')
-rw-r--r--databases/mariadb-client/Makefile7
-rw-r--r--databases/mariadb-client/pkg-plist12
2 files changed, 15 insertions, 4 deletions
diff --git a/databases/mariadb-client/Makefile b/databases/mariadb-client/Makefile
index f77534f92d4c..221a65d7e74d 100644
--- a/databases/mariadb-client/Makefile
+++ b/databases/mariadb-client/Makefile
@@ -21,22 +21,21 @@ CONFLICTS= mysql[0-9][0-9]-client-* mariadb5.[0-24-9]-client-* mariadb[0-46-9][0
PATCHDIR= ${.CURDIR}/files
PLIST= ${.CURDIR}/pkg-plist
-MAN1= mysql_config.1 mysql_upgrade.1 mysql.1 mysqladmin.1 \
+MANS= mysql_config.1 mysql_upgrade.1 mysql.1 mysqladmin.1 \
mysqlbinlog.1 mysqlbug.1 mysqlcheck.1 \
mysqldump.1 mysqlimport.1 mysqlshow.1 mysqlslap.1 mysqltest.1
EXTRA_PATCHES= ${MASTERDIR}/files/patch-*
MDB_CLIENT_SUBDIRS= include sql-common cmd-line-utils scripts strings regex mysys dbug extra libmysql libmysql_r client @man_dirs@
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e "s|%%SUBDIRS%%|${MDB_CLIENT_SUBDIRS}|" ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e "s|install-exec-am: install-pkglibLIBRARIES|install-exec-am:|g" ${WRKSRC}/strings/Makefile.in ${WRKSRC}/mysys/Makefile.in ${WRKSRC}/dbug/Makefile.in
@${REINPLACE_CMD} -e "s|install-exec-am: install-binPROGRAMS|install-exec-am:|g" ${WRKSRC}/extra/Makefile.in
- @${REINPLACE_CMD} -e "s|%%MANS%%|${MAN1}|" ${WRKSRC}/man/Makefile.in
+ @${REINPLACE_CMD} -e "s|%%MANS%%|${MANS}|" ${WRKSRC}/man/Makefile.in
@${REINPLACE_CMD} -e "s|^\(install-man: install-man1\).*|\1|" ${WRKSRC}/man/Makefile.in
post-install:
- ${INSTALL_DATA} ${WRKSRC}/support-files/mysql.m4 ${PREFIX}/share/aclocal/
+ ${INSTALL_DATA} ${WRKSRC}/support-files/mysql.m4 ${STAGEDIR}${PREFIX}/share/aclocal/
.include "${MASTERDIR}/Makefile"
diff --git a/databases/mariadb-client/pkg-plist b/databases/mariadb-client/pkg-plist
index db7f76e7e404..322d6f9fe9d5 100644
--- a/databases/mariadb-client/pkg-plist
+++ b/databases/mariadb-client/pkg-plist
@@ -113,6 +113,18 @@ lib/mysql/libmysqlclient_r.a
lib/mysql/libmysqlclient_r.la
lib/mysql/libmysqlclient_r.so
lib/mysql/libmysqlclient_r.so.16
+man/man1/mysql.1.gz
+man/man1/mysql_config.1.gz
+man/man1/mysql_upgrade.1.gz
+man/man1/mysqladmin.1.gz
+man/man1/mysqlbinlog.1.gz
+man/man1/mysqlbug.1.gz
+man/man1/mysqlcheck.1.gz
+man/man1/mysqldump.1.gz
+man/man1/mysqlimport.1.gz
+man/man1/mysqlshow.1.gz
+man/man1/mysqlslap.1.gz
+man/man1/mysqltest.1.gz
share/aclocal/mysql.m4
%%DATADIR%%/mysql_fix_privilege_tables.sql
@dirrmtry %%DATADIR%%