diff options
author | tota <tota@FreeBSD.org> | 2014-06-28 13:13:52 +0800 |
---|---|---|
committer | tota <tota@FreeBSD.org> | 2014-06-28 13:13:52 +0800 |
commit | 3d167f1811ff61293eb1e3cc067cdcc2d0a3a9ca (patch) | |
tree | 2645db4ecb31541efb3b06273314371a7e6a6360 /textproc/mysqlviz | |
parent | ba537e10cff33890a6bdca657be89184bf772d8f (diff) | |
download | freebsd-ports-gnome-3d167f1811ff61293eb1e3cc067cdcc2d0a3a9ca.tar.gz freebsd-ports-gnome-3d167f1811ff61293eb1e3cc067cdcc2d0a3a9ca.tar.zst freebsd-ports-gnome-3d167f1811ff61293eb1e3cc067cdcc2d0a3a9ca.zip |
- Add LICENSE
- Convert USE_BZIP2 to USES
- Support STAGEDIR
* Make PORTEXAMPLES unconditional to stage
- Unmute INSTALL_SCRIPT and INSTALL_DATA
Diffstat (limited to 'textproc/mysqlviz')
-rw-r--r-- | textproc/mysqlviz/Makefile | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/textproc/mysqlviz/Makefile b/textproc/mysqlviz/Makefile index 4ba72edc3042..89154a708dcd 100644 --- a/textproc/mysqlviz/Makefile +++ b/textproc/mysqlviz/Makefile @@ -9,8 +9,10 @@ MASTER_SITES= GOOGLE_CODE MAINTAINER= tota@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.sql 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> |