From d13e8fffa3fbaa46a4ed7bd2b5826f03f6aaaec2 Mon Sep 17 00:00:00 2001 From: Antoine Brodin Date: Tue, 31 Dec 2013 12:47:23 +0000 Subject: Stage support, uses gmake --- databases/mysql-udf-preg/Makefile | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) (limited to 'databases') diff --git a/databases/mysql-udf-preg/Makefile b/databases/mysql-udf-preg/Makefile index 75f724dfe323..78e3df142b20 100644 --- a/databases/mysql-udf-preg/Makefile +++ b/databases/mysql-udf-preg/Makefile @@ -14,25 +14,23 @@ LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre GNU_CONFIGURE= yes CONFIGURE_ARGS+= --libdir=${PREFIX}/lib/mysql/plugin -USE_GMAKE= yes +USES= gmake USE_MYSQL= yes USE_LDCONFIG= yes -WRKSRC= ${WRKDIR}/lib_mysqludf_preg-${PORTVERSION} +WRKSRC= ${WRKDIR}/lib_mysqludf_preg-${PORTVERSION} PLIST_FILES= lib/mysql/plugin/lib_mysqludf_preg.a \ - lib/mysql/plugin/lib_mysqludf_preg.la \ - lib/mysql/plugin/lib_mysqludf_preg.so \ - %%DATADIR%%/installdb.sql \ - %%DATADIR%%/uninstalldb.sql + lib/mysql/plugin/lib_mysqludf_preg.la \ + lib/mysql/plugin/lib_mysqludf_preg.so \ + %%DATADIR%%/installdb.sql \ + %%DATADIR%%/uninstalldb.sql PLIST_DIRS= ${DATADIR_REL} lib/mysql/plugin -NO_STAGE= yes post-install: - ${MKDIR} ${DATADIR}/ - ${INSTALL_DATA} ${WRKSRC}/installdb.sql ${DATADIR}/ - ${INSTALL_DATA} ${WRKSRC}/uninstalldb.sql ${DATADIR}/ - ${CAT} ${PKGMESSAGE} + @${MKDIR} ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/installdb.sql ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/uninstalldb.sql ${STAGEDIR}${DATADIR} .include -- cgit v1.2.3