diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2014-06-10 05:58:55 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2014-06-10 05:58:55 +0000 |
commit | 1f7d9ae906b9951f746d80607941d35a77a03f73 (patch) | |
tree | ba87638082efac1997be97eff461020a3c858ee9 /databases/mysql-q4m/Makefile | |
parent | d22c4f1c2fdc2c5f3ea31577dabdfe135f62fb14 (diff) |
Notes
Diffstat (limited to 'databases/mysql-q4m/Makefile')
-rw-r--r-- | databases/mysql-q4m/Makefile | 22 |
1 files changed, 7 insertions, 15 deletions
diff --git a/databases/mysql-q4m/Makefile b/databases/mysql-q4m/Makefile index ad551f2d7015..bc39909a8b29 100644 --- a/databases/mysql-q4m/Makefile +++ b/databases/mysql-q4m/Makefile @@ -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 pluggable storage engine of MySQL 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}/lib -L${LOCALBASE}/lib/mysql 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 |