Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Jan 2014 14:58:12 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r340051 - head/devel/pinba_engine
Message-ID:  <201401171458.s0HEwDcO026099@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Fri Jan 17 14:58:12 2014
New Revision: 340051
URL: http://svnweb.freebsd.org/changeset/ports/340051
QAT: https://qat.redports.org/buildarchive/r340051/

Log:
  Supprot stage
  Remove NOPORTDATA support
  Use new LIB_DEPENDS format
  Convert USE_GMAKE -> USES=gmake

Modified:
  head/devel/pinba_engine/Makefile
  head/devel/pinba_engine/pkg-plist

Modified: head/devel/pinba_engine/Makefile
==============================================================================
--- head/devel/pinba_engine/Makefile	Fri Jan 17 14:51:06 2014	(r340050)
+++ head/devel/pinba_engine/Makefile	Fri Jan 17 14:58:12 2014	(r340051)
@@ -18,7 +18,7 @@ BUILD_DEPENDS=	${LOCALBASE}/include/goog
  		${NONEXISTENT}:${PORTSDIR}/${_MYSQL_SERVER}:configure \
 		bison:${PORTSDIR}/devel/bison \
 		cmake:${PORTSDIR}/devel/cmake
-LIB_DEPENDS=	protobuf:${PORTSDIR}/devel/protobuf
+LIB_DEPENDS=	libprotobuf.so:${PORTSDIR}/devel/protobuf
 
 GITVERSION=	3a0cb51
 
@@ -28,7 +28,7 @@ IGNORE_WITH_MYSQL=	50
 
 MYSQL_WRKSRC=	$$(cd ${PORTSDIR}/${_MYSQL_SERVER} && ${MAKE} -V WRKSRC)
 
-USE_GMAKE=	yes
+USES=		gmake
 GNU_CONFIGURE=	yes
 USE_AUTOTOOLS=	aclocal autoheader automake autoconf libtoolize
 USE_LDCONFIG=	${PREFIX}/lib/mysql/plugin
@@ -43,20 +43,12 @@ CONFIGURE_ARGS+=	\
 CFLAGS+=	-I${LOCALBASE}/include/mysql
 
 SUB_FILES=	pkg-message
-.if !defined(NOPORTDOCS)
 PORTDOCS=	NEWS TODO README
-.endif
 
-NO_STAGE=	yes
 post-install:
-.if !defined(NOPORTDATA)
-	@${MKDIR} ${DATADIR}
-	@${INSTALL} ${WRKSRC}/default_tables.sql ${DATADIR}
-.endif
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
-	@cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDOCS}" ${DOCSDIR}
-.endif
-	@${CAT} ${WRKDIR}/pkg-message
+	@${MKDIR} ${STAGEDIR}${DATADIR}
+	@${INSTALL} ${WRKSRC}/default_tables.sql ${STAGEDIR}${DATADIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDOCS}" ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>

Modified: head/devel/pinba_engine/pkg-plist
==============================================================================
--- head/devel/pinba_engine/pkg-plist	Fri Jan 17 14:51:06 2014	(r340050)
+++ head/devel/pinba_engine/pkg-plist	Fri Jan 17 14:58:12 2014	(r340051)
@@ -2,5 +2,5 @@ lib/mysql/plugin/libpinba_engine.so
 lib/mysql/plugin/libpinba_engine.so.0
 lib/mysql/plugin/libpinba_engine.la
 lib/mysql/plugin/libpinba_engine.a
-%%PORTDATA%%%%DATADIR%%/default_tables.sql
-%%PORTDATA%%@dirrm %%DATADIR%%
+%%DATADIR%%/default_tables.sql
+@dirrm %%DATADIR%%



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