freebsd-ports/databases/mysql-udf-preg/Makefile
Bryan Drewery a970ff6b19 - Reset pgollucci's ports
With hat:	portmgr
2013-08-18 13:31:33 +00:00

37 lines
938 B
Makefile

# $FreeBSD$
PORTNAME= mysql-udf-preg
PORTVERSION= 1.0.1
PORTREVISION= 2
CATEGORIES= databases
MASTER_SITES= http://www.mysqludf.org/lib_mysqludf_preg/
DISTNAME= lib_mysqludf_preg-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Library of MySQL UDFs providing access to PCRE
LIB_DEPENDS= pcre:${PORTSDIR}/devel/pcre
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --libdir=${PREFIX}/lib/mysql/plugin
USE_GMAKE= yes
USE_MYSQL= yes
USE_LDCONFIG= yes
WRKSRC= ${WRKDIR}/lib_mysqludf_preg-${PORTVERSION}
PLIST_FILES= lib/mysql/plugin/lib_mysqludf_preg.a \
lib/mysql/plugin/lib_mysqludf_preg.la \
lib/mysql/plugin/lib_mysqludf_preg.so \
%%DATADIR%%/installdb.sql \
%%DATADIR%%/uninstalldb.sql
PLIST_DIRS= ${DATADIR_REL} lib/mysql/plugin
post-install:
${MKDIR} ${DATADIR}/
${INSTALL_DATA} ${WRKSRC}/installdb.sql ${DATADIR}/
${INSTALL_DATA} ${WRKSRC}/uninstalldb.sql ${DATADIR}/
${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>