forked from Lainports/freebsd-ports
which can be used to create XML output directly from MySQL using a single SQL query. This prevents having to convert a MySQL result to XML in a PHP script, Ruby script, etc. The library provides the same functionality as SQL/XML, seen in MS SQL server and Oracle. However it uses normal functions. By using subqueries the same results as SQL/XML can be generated. WWW: http://www.mysqludf.org/lib_mysqludf_xql/index.php PR: ports/142086 Submitted by: Mina R Waheeb <syncer at gmail.com>
32 lines
701 B
Makefile
32 lines
701 B
Makefile
# New ports collection makefile for: mysql-xql
|
|
# Date created: Mon Dec 28 2009
|
|
# Whom: Mina R Waheeb <syncer@gmail.com>
|
|
#
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= mysql-xql
|
|
PORTVERSION= 1.0.0
|
|
CATEGORIES= databases
|
|
MASTER_SITES= http://www.mysqludf.org/lib_mysqludf_xql/
|
|
DISTNAME= lib_mysqludf_xql-${PORTVERSION}
|
|
|
|
MAINTAINER= syncer@gmail.com
|
|
COMMENT= Library provides XML output functions to MySQL server
|
|
|
|
USE_GNOME= libxml2
|
|
GNU_CONFIGURE= yes
|
|
USE_GMAKE= yes
|
|
USE_MYSQL= yes
|
|
USE_LDCONFIG= yes
|
|
|
|
PLIST_FILES= \
|
|
lib/mysql/plugin/lib_mysqludf_xql.a \
|
|
lib/mysql/plugin/lib_mysqludf_xql.la \
|
|
lib/mysql/plugin/lib_mysqludf_xql.so
|
|
|
|
PLIST_DIRS= lib/mysql/plugin
|
|
|
|
post-install:
|
|
${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|