svn commit: r357267 - head/databases/mysql-q4m
Akinori MUSHA
knu at FreeBSD.org
Tue Jun 10 05:58:56 UTC 2014
Author: knu
Date: Tue Jun 10 05:58:55 2014
New Revision: 357267
URL: http://svnweb.freebsd.org/changeset/ports/357267
QAT: https://qat.redports.org/buildarchive/r357267/
Log:
Add staging support.
Modified:
head/databases/mysql-q4m/Makefile
head/databases/mysql-q4m/pkg-plist
Modified: head/databases/mysql-q4m/Makefile
==============================================================================
--- head/databases/mysql-q4m/Makefile Tue Jun 10 05:49:41 2014 (r357266)
+++ head/databases/mysql-q4m/Makefile Tue Jun 10 05:58:55 2014 (r357267)
@@ -3,6 +3,7 @@
PORTNAME= q4m
PORTVERSION= 0.9.13
+PORTREVISION= 1
CATEGORIES= databases
MASTER_SITES= http://q4m.kazuhooku.com/dist/
PKGNAMEPREFIX= ${_MYSQL_SERVER:T:C/-server$/-/}
@@ -12,8 +13,7 @@ COMMENT= A message queue that works as a
FETCH_DEPENDS+= ${NONEXISTENT}:${PORTSDIR}/${_MYSQL_SERVER}:build
-USES= gmake perl5
-USE_AUTOTOOLS= libtool
+USES= gmake perl5 libtool
USE_MYSQL= server
USE_GCC= any
USE_PERL5= run
@@ -24,16 +24,8 @@ LDFLAGS+= ${PTHREAD_LIBS} -L${LOCALBASE}
CONFIGURE_ARGS= --prefix="${PREFIX}" \
--libdir="${PREFIX}/lib/mysql/plugin" \
--with-mysql="$$(cd ${PORTSDIR}/${_MYSQL_SERVER}; ${MAKE} -V WRKSRC)"
+INSTALL_TARGET= bindir=${STAGEDIR}${PREFIX}/bin install
-COPYTREE_AUTO= ${SH} -c '(${FIND} -d $$0 $$2 | ${CPIO} -dumpl $$1 >/dev/null \
- 2>&1) && \
- ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} $$1 && \
- ${FIND} $$1 -type d -exec chmod 755 {} \; && \
- ${FIND} $$1 -type f \! -perm +100 -exec chmod ${SHAREMODE} {} \; && \
- ${FIND} $$1 -type f -perm +100 -exec ${CHOWN} ${BINOWN}:${BINGRP} {} \; && \
- ${FIND} $$1 -type f -perm +100 -exec chmod ${BINMODE} {} \;' --
-
-NO_STAGE= yes
post-extract:
${CP} -p ${WRKSRC}/support-files/install.sql ${WRKSRC}/examples/
@@ -45,13 +37,13 @@ post-patch:
@${REINPLACE_CMD} -e 's|/include/mysql|/include/mysql/mysql|g' ${WRKSRC}/configure
post-install:
- ${MKDIR} ${DOCSDIR}
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
- cd ${WRKSRC}; ${COPYTREE_SHARE} ${f} ${DOCSDIR}
+ cd ${WRKSRC}; ${COPYTREE_SHARE} ${f} ${STAGEDIR}${DOCSDIR}
.endfor
- ${MKDIR} ${EXAMPLESDIR}
+ ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
.for f in ${PORTEXAMPLES}
- cd ${WRKSRC}/examples; ${COPYTREE_AUTO} ${f} ${EXAMPLESDIR}
+ cd ${WRKSRC}/examples; ${COPYTREE_SHARE} ${f} ${STAGEDIR}${EXAMPLESDIR}
.endfor
.endif
Modified: head/databases/mysql-q4m/pkg-plist
==============================================================================
--- head/databases/mysql-q4m/pkg-plist Tue Jun 10 05:49:41 2014 (r357266)
+++ head/databases/mysql-q4m/pkg-plist Tue Jun 10 05:58:55 2014 (r357267)
@@ -1,5 +1,5 @@
bin/q4m-forward
lib/mysql/plugin/libqueue_engine.a
-lib/mysql/plugin/libqueue_engine.la
lib/mysql/plugin/libqueue_engine.so
lib/mysql/plugin/libqueue_engine.so.0
+lib/mysql/plugin/libqueue_engine.so.0.0.0
More information about the svn-ports-head
mailing list