freebsd-ports/textproc/mysqlviz/Makefile
TAKATSU Tomonari 540ce02b08 - Unbreak by updating master site from Google Code to Github
- Regenerate patch-mysqlviz with 'make makepatch'
2017-03-26 15:12:13 +00:00

37 lines
760 B
Makefile

# Created by: TAKATSU Tomonari <tota@FreeBSD.org>
# $FreeBSD$
PORTNAME= mysqlviz
PORTVERSION= 0.3
PORTREVISION= 1
CATEGORIES= textproc
MAINTAINER= tota@FreeBSD.org
COMMENT= MySQL and SQLite Database Visualisation Tool
LICENSE= GPLv3
NO_BUILD= yes
USES= php:cli tar:bzip2
USE_GITHUB= yes
GH_ACCOUNT= globalcitizen
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
do-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>