blob: 131ff5c023b367ed4d3b38ce7986b8e604f15f90 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# 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
LICENSE= GPLv3
BROKEN= Unfetchable (google code has gone away)
NO_BUILD= yes
USES= php:cli tar:bzip2
PLIST_FILES= bin/${PORTNAME}
PORTEXAMPLES= eg.png eg.sql sqlite-eg.sql
OPTIONS_DEFINE= EXAMPLES
post-patch:
@${REINPLACE_CMD} \
-e 's|/usr/bin/php|${LOCALBASE}/bin/php|' \
${WRKSRC}/${PORTNAME}
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>
|