Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Dec 2013 12:47:23 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r338286 - head/databases/mysql-udf-preg
Message-ID:  <201312311247.rBVClNr6088812@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Tue Dec 31 12:47:23 2013
New Revision: 338286
URL: http://svnweb.freebsd.org/changeset/ports/338286

Log:
  Stage support, uses gmake

Modified:
  head/databases/mysql-udf-preg/Makefile

Modified: head/databases/mysql-udf-preg/Makefile
==============================================================================
--- head/databases/mysql-udf-preg/Makefile	Tue Dec 31 12:28:56 2013	(r338285)
+++ head/databases/mysql-udf-preg/Makefile	Tue Dec 31 12:47:23 2013	(r338286)
@@ -14,25 +14,23 @@ LIB_DEPENDS=	libpcre.so:${PORTSDIR}/deve
 
 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 <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312311247.rBVClNr6088812>