freebsd-ports/databases/mysql-udf-sys/Makefile
Pawel Pekala c8a63c112e This package contains a number of functions that allows one to interact
with the operating system from MySQL:

  sys_eval - executes an arbitrary command, and returns it's output.
  sys_exec - executes an arbitrary command, and returns it's exit code.
  sys_get  - gets the value of an environment variable.
  sys_set  - create an environment variable, or update the value of an
             existing environment variable.

Use lib_mysqludf_sys_info() to obtain information about the currently
installed version of lib_mysqludf_sys.

WWW: http://www.mysqludf.org/lib_mysqludf_sys

PR:		ports/163216
Submitted by:	David Cornejo <dave@dogwood.com>
2011-12-20 21:12:37 +00:00

32 lines
674 B
Makefile

# New ports collection makefile for: mysql-udf-sys
# Date created: December 2011
# Whom: David Cornejo <dave@dogwood.com>
#
# $FreeBSD$
#
PORTNAME= mysql-udf-sys
PORTVERSION= 0.0.3
CATEGORIES= databases
MASTER_SITES= http://www.mysqludf.org/lib_mysqludf_sys/
DISTNAME= lib_mysqludf_sys_${PORTVERSION}
MAINTAINER= dave@dogwood.com
COMMENT= System access UDFs
USE_MYSQL= yes
USE_LDCONFIG= yes
WRKSRC= ${WRKDIR}
PLIST_FILES= lib/mysql/plugin/lib_mysqludf_sys.so
PLIST_DIRS= lib/mysql/plugin
post-patch:
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|; s|%%LOCALBASE%%|${LOCALBASE}|' \
${WRKSRC}/Makefile
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>