aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authormm <mm@FreeBSD.org>2012-07-17 22:46:03 +0800
committermm <mm@FreeBSD.org>2012-07-17 22:46:03 +0800
commit717320ef22af6369f6ca127bb298bdcd9fd11c8c (patch)
treed8e09168b4ae36de0f52ec258132085966a086b0 /databases
parente4f2553f64fc06c9aa463c726a1054dae03ba042 (diff)
downloadfreebsd-ports-gnome-717320ef22af6369f6ca127bb298bdcd9fd11c8c.tar.gz
freebsd-ports-gnome-717320ef22af6369f6ca127bb298bdcd9fd11c8c.tar.zst
freebsd-ports-gnome-717320ef22af6369f6ca127bb298bdcd9fd11c8c.zip
ODBC backend module for mod_sql of ProFTPD
WWW: http://www.proftpd.org/docs/contrib/mod_sql.html
Diffstat (limited to 'databases')
-rw-r--r--databases/Makefile1
-rw-r--r--databases/proftpd-mod_sql_odbc/Makefile31
-rw-r--r--databases/proftpd-mod_sql_odbc/pkg-descr3
3 files changed, 35 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index 8f07419c733b..03e3e4fd493a 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -665,6 +665,7 @@
SUBDIR += postgresql_autodoc
SUBDIR += powerarchitect
SUBDIR += proftpd-mod_sql_mysql
+ SUBDIR += proftpd-mod_sql_odbc
SUBDIR += proftpd-mod_sql_postgres
SUBDIR += pure-sql3
SUBDIR += puredb
diff --git a/databases/proftpd-mod_sql_odbc/Makefile b/databases/proftpd-mod_sql_odbc/Makefile
new file mode 100644
index 000000000000..f7cc4b6b8349
--- /dev/null
+++ b/databases/proftpd-mod_sql_odbc/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: proftpd-mod_sql_odbc
+# Date created: 17 July 2012
+# Whom: Martin Matuska <mm@FreeBSD.org>
+#
+# $FreeBSD$
+
+PORTNAME= mod_sql_odbc
+CATEGORIES= databases ftp
+PKGNAMEPREFIX= proftpd-
+
+MAINTAINER= mm@FreeBSD.org
+COMMENT= ODBC ProFTPD module
+
+LICENSE= GPLv2
+
+DESCR= ${.CURDIR}/pkg-descr
+
+LATEST_LINK= ${PKGNAMEPREFIX}-${PORTNAME}
+MASTERDIR= ${.CURDIR}/../../ftp/proftpd
+
+LIB_DEPENDS= iodbc.3:${PORTSDIR}/databases/libiodbc
+CONFIGURE_ARGS= LIBS=-liodbc \
+ LD_LIBRARY_PATH="${LOCALBASE}/lib" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+
+INCLUDEDIRS= ${LOCALBASE}/include
+LIBDIRS= ${LOCALBASE}/lib
+
+_BUILDING_PROFTPD_MODULE= ${PORTNAME}
+
+.include "${MASTERDIR}/Makefile"
diff --git a/databases/proftpd-mod_sql_odbc/pkg-descr b/databases/proftpd-mod_sql_odbc/pkg-descr
new file mode 100644
index 000000000000..a6ad4d0ec942
--- /dev/null
+++ b/databases/proftpd-mod_sql_odbc/pkg-descr
@@ -0,0 +1,3 @@
+ODBC backend module for mod_sql of ProFTPD
+
+WWW: http://www.proftpd.org/docs/contrib/mod_sql.html