aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormm <mm@FreeBSD.org>2012-07-17 22:47:39 +0800
committermm <mm@FreeBSD.org>2012-07-17 22:47:39 +0800
commitc6e79a898311735086208a0e3a811601f2dc23c3 (patch)
treeac9ae21985955c685c21b97f9ccad58f2cdf23c7
parent88ae1012775a8f0b5194ea6643aa343718b8c287 (diff)
downloadfreebsd-ports-gnome-c6e79a898311735086208a0e3a811601f2dc23c3.tar.gz
freebsd-ports-gnome-c6e79a898311735086208a0e3a811601f2dc23c3.tar.zst
freebsd-ports-gnome-c6e79a898311735086208a0e3a811601f2dc23c3.zip
TDS backend module for mod_sql of ProFTPD
WWW: http://labratsoftware.com/mod_sql_tds/
-rw-r--r--databases/Makefile1
-rw-r--r--databases/proftpd-mod_sql_tds/Makefile33
-rw-r--r--databases/proftpd-mod_sql_tds/pkg-descr3
3 files changed, 37 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index 4983a6035fa7..cefe7d4b03ef 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -668,6 +668,7 @@
SUBDIR += proftpd-mod_sql_odbc
SUBDIR += proftpd-mod_sql_postgres
SUBDIR += proftpd-mod_sql_sqlite
+ SUBDIR += proftpd-mod_sql_tds
SUBDIR += pure-sql3
SUBDIR += puredb
SUBDIR += pxlib
diff --git a/databases/proftpd-mod_sql_tds/Makefile b/databases/proftpd-mod_sql_tds/Makefile
new file mode 100644
index 000000000000..8d593fdfba0b
--- /dev/null
+++ b/databases/proftpd-mod_sql_tds/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: proftpd-mod_sql_tds
+# Date created: 17 July 2012
+# Whom: Martin Matuska <mm@FreeBSD.org>
+#
+# $FreeBSD$
+
+PORTNAME= mod_sql_tds
+CATEGORIES= databases ftp
+PKGNAMEPREFIX= proftpd-
+
+MAINTAINER= mm@FreeBSD.org
+COMMENT= TDS ProFTPD module
+
+LICENSE= GPLv2
+
+DESCR= ${.CURDIR}/pkg-descr
+
+LATEST_LINK= ${PKGNAMEPREFIX}-${PORTNAME}
+MASTERDIR= ${.CURDIR}/../../ftp/proftpd
+
+LIB_DEPENDS+= sybdb.5:${PORTSDIR}/databases/freetds
+_PROFTPD_MODULE_DISTFILES= mod_sql_tds-4.13.tar.bz2:sql_tds
+_PROFTPD_MODULE_EXTRACT_ONLY= mod_sql_tds-4.13.tar.bz2
+
+INCLUDEDIRS= ${LOCALBASE}/include
+LIBDIRS= ${LOCALBASE}/lib
+
+_BUILDING_PROFTPD_MODULE= ${PORTNAME}
+
+post-extract:
+ @${MV} ${WRKDIR}/mod_sql_tds.c ${WRKSRC}/contrib
+
+.include "${MASTERDIR}/Makefile"
diff --git a/databases/proftpd-mod_sql_tds/pkg-descr b/databases/proftpd-mod_sql_tds/pkg-descr
new file mode 100644
index 000000000000..4cddc74f0e8d
--- /dev/null
+++ b/databases/proftpd-mod_sql_tds/pkg-descr
@@ -0,0 +1,3 @@
+TDS backend module for mod_sql of ProFTPD
+
+WWW: http://labratsoftware.com/mod_sql_tds/