Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 May 2014 02:44:55 +0000 (UTC)
From:      "Vanilla I. Shu" <vanilla@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r354189 - head/databases/mysql++3
Message-ID:  <201405160244.s4G2itrA057650@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Fri May 16 02:44:55 2014
New Revision: 354189
URL: http://svnweb.freebsd.org/changeset/ports/354189
QAT: https://qat.redports.org/buildarchive/r354189/

Log:
  Support STAGEDIR.
  
  Approved by:	portmgr@

Modified:
  head/databases/mysql++3/Makefile

Modified: head/databases/mysql++3/Makefile
==============================================================================
--- head/databases/mysql++3/Makefile	Fri May 16 02:39:50 2014	(r354188)
+++ head/databases/mysql++3/Makefile	Fri May 16 02:44:55 2014	(r354189)
@@ -11,11 +11,11 @@ PKGNAMESUFFIX=	-mysql${MYSQL_VER}
 MAINTAINER=	dudu@dudu.ro
 COMMENT=	Complex C++ API for MySQL${MYSQL_VER}
 
+USES=		gmake
 USE_MYSQL=	yes
 USE_AUTOTOOLS=	libtool
 CONFIGURE_ARGS+=--with-mysql=${LOCALBASE} --enable-thread-check
 USE_LDCONFIG=	yes
-USE_GMAKE=	yes
 PLIST_SUB+=	VER=${PORTVERSION}
 
 CONFLICTS=	${PORTNAME}*-1.*
@@ -23,17 +23,16 @@ CONFLICTS=	${PORTNAME}*-1.*
 PORTDOCS=	*
 PORTEXAMPLES=	*
 
-NO_STAGE=	yes
 post-install:
 .ifndef(NOPORTDOCS)
-	${MKDIR} ${DOCSDIR}
-	(cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} pdf ${DOCSDIR})
-	(cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} html ${DOCSDIR})
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	(cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} pdf ${STAGEDIR}${DOCSDIR})
+	(cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} html ${STAGEDIR}${DOCSDIR})
 .endif
 .ifndef(NOPORTEXAMPLES)
-	${MKDIR} ${EXAMPLESDIR}
-	${INSTALL_DATA} ${WRKSRC}/examples/*.h ${EXAMPLESDIR}
-	${INSTALL_DATA} ${WRKSRC}/examples/*.cpp ${EXAMPLESDIR}
+	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	${INSTALL_DATA} ${WRKSRC}/examples/*.h ${STAGEDIR}${EXAMPLESDIR}
+	${INSTALL_DATA} ${WRKSRC}/examples/*.cpp ${STAGEDIR}${EXAMPLESDIR}
 .endif
 
 .include <bsd.port.mk>



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