1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00
freebsd-ports/textproc/mysqlviz/Makefile
TAKATSU Tomonari 59a300d3c1 - Add new port: textproc/mysqlviz
Render a graphical representation of a MySQL or SQLite database
  from a mysqldump or sqlite3 .dump file.

  Features:
  - Can infer foreign key relationships if you do not have them defined
  - Handles partial dumps (FK to tables that are not defined within the dump)
  - Fast! Uses sed and grep for data extraction (MySQL only)

  WWW: http://code.google.com/p/mysqlviz/
2013-05-06 14:10:45 +00:00

38 lines
747 B
Makefile

# Created by: TAKATSU Tomonari <tota@FreeBSD.org>
# $FreeBSD$
PORTNAME= mysqlviz
PORTVERSION= 0.3
CATEGORIES= textproc
MASTER_SITES= GOOGLE_CODE
MAINTAINER= tota@FreeBSD.org
COMMENT= MySQL and SQLite Database Visualisation Tool
NO_BUILD= yes
USE_BZIP2= yes
USE_PHP= yes
WANT_PHP_CLI= yes
PLIST_FILES= bin/${PORTNAME}
PORTEXAMPLES= eg.png eg.sql sqlite-eg.sql
OPTIONS_DEFINE= EXAMPLES
.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
.include <bsd.port.mk>