svn commit: r359659 - head/textproc/mysqlviz
TAKATSU Tomonari
tota at FreeBSD.org
Sat Jun 28 05:13:53 UTC 2014
Author: tota
Date: Sat Jun 28 05:13:52 2014
New Revision: 359659
URL: http://svnweb.freebsd.org/changeset/ports/359659
QAT: https://qat.redports.org/buildarchive/r359659/
Log:
- Add LICENSE
- Convert USE_BZIP2 to USES
- Support STAGEDIR
* Make PORTEXAMPLES unconditional to stage
- Unmute INSTALL_SCRIPT and INSTALL_DATA
Modified:
head/textproc/mysqlviz/Makefile
Modified: head/textproc/mysqlviz/Makefile
==============================================================================
--- head/textproc/mysqlviz/Makefile Sat Jun 28 05:08:20 2014 (r359658)
+++ head/textproc/mysqlviz/Makefile Sat Jun 28 05:13:52 2014 (r359659)
@@ -9,8 +9,10 @@ MASTER_SITES= GOOGLE_CODE
MAINTAINER= tota at FreeBSD.org
COMMENT= MySQL and SQLite Database Visualisation Tool
+LICENSE= GPLv3
+
NO_BUILD= yes
-USE_BZIP2= yes
+USES= tar:bzip2
USE_PHP= yes
WANT_PHP_CLI= yes
@@ -20,19 +22,14 @@ PORTEXAMPLES= eg.png eg.sql sqlite-eg.sq
OPTIONS_DEFINE= EXAMPLES
-NO_STAGE= yes
-.include <bsd.port.options.mk>
-
post-patch:
@${REINPLACE_CMD} \
-e 's|/usr/bin/php|${LOCALBASE}/bin/php|' \
${WRKSRC}/${PORTNAME}
do-install:
- @${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
-.if ${PORT_OPTIONS:MEXAMPLES}
- @${MKDIR} ${EXAMPLESDIR}
- @cd ${WRKSRC} && ${INSTALL_DATA} ${PORTEXAMPLES} ${EXAMPLESDIR}
-.endif
+ ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list