diff options
author | Beech Rintoul <beech@FreeBSD.org> | 2008-09-25 20:23:38 +0000 |
---|---|---|
committer | Beech Rintoul <beech@FreeBSD.org> | 2008-09-25 20:23:38 +0000 |
commit | d913b04a373161bac5fea26a2e921a6ff2eb4374 (patch) | |
tree | b3859e00b65b0cb768547745d593c2aad994abd0 /ftp/proftpd/Makefile | |
parent | c70cba961e462f851360098294d50a5d5c4fb06c (diff) | |
download | ports-d913b04a373161bac5fea26a2e921a6ff2eb4374.tar.gz ports-d913b04a373161bac5fea26a2e921a6ff2eb4374.zip |
Notes
Diffstat (limited to 'ftp/proftpd/Makefile')
-rw-r--r-- | ftp/proftpd/Makefile | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/ftp/proftpd/Makefile b/ftp/proftpd/Makefile index 0a177300b25e..43ae07bead2a 100644 --- a/ftp/proftpd/Makefile +++ b/ftp/proftpd/Makefile @@ -7,6 +7,7 @@ PORTNAME= proftpd DISTVERSION= 1.3.2rc2 +PORTREVISION= 1 CATEGORIES= ftp MASTER_SITES= ftp://ftp.proftpd.org/distrib/source/ \ ftp://ftp.fastorama.com/mirrors/ftp.proftpd.org/distrib/source/ \ @@ -15,10 +16,12 @@ MASTER_SITES= ftp://ftp.proftpd.org/distrib/source/ \ ftp://proftpd.networkedsystems.co.uk/distrib/source/ \ http://mirrors.ibiblio.org/pub/mirrors/proftpd/distrib/source/ \ http://www.mirrorservice.org/sites/ftp.proftpd.org/distrib/source/ \ + http://www.alaskaparadise.com/freebsd/:sql_tds \ http://www.alaskaparadise.com/freebsd/:clam \ http://www.smartftp.com/oss/proftpd/:digest \ LOCAL/beech:clam \ - LOCAL/beech:digest + LOCAL/beech:digest \ + LOCAL/beech:sql_tds DISTFILES= ${DISTNAME}${EXTRACT_SUFX} EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} @@ -79,6 +82,7 @@ OPTIONS= BAN "Include mod_ban (Requires CTRLS)" off \ RATIO "Include mod_ratio" on \ README "Include mod_readme" on \ REWRITE "Include mod_rewrite" on \ + TDS "FreeTDS - Sybase & MS-SQL auth (Exclusive)" off \ WRAP "Include mod_wrap2" on \ WRAP_FILE "Include mod_wrap2_file" off \ WRAP_SQL "Include mod_wrap2_sql" off @@ -233,6 +237,17 @@ DISTFILES+= mod_digest.c:digest MODULES:=${MODULES}:mod_digest .endif +.if defined(WITH_TDS) +DISTFILES+= mod_sql_tds-4.6.tar.bz2:sql_tds +EXTRACT_ONLY+= mod_sql_tds-4.6.tar.bz2 +MODULES:=${MODULES}:mod_sql_tds +MODULES:=mod_sql${MODULES} +PLIST_FILES+= include/proftpd/mod_sql.h +INCLUDEDIRS:=${INCLUDEDIRS}:${LOCALBASE}/include +LIBDIRS:=${LIBDIRS}:${LOCALBASE}/lib +LIB_DEPENDS+= sybdb.5:${PORTSDIR}/databases/freetds +.endif + # mod_ifsession should be the last item in the modules list .if !defined(WITHOUT_IFSESSION) MODULES:=${MODULES}:mod_ifsession @@ -262,6 +277,9 @@ post-extract: .if defined(WITH_DIGEST) @${CP} ${DISTDIR}/${DIST_SUBDIR}/mod_digest.c ${WRKSRC}/modules/ .endif +.if defined(WITH_TDS) + @${MV} ${WRKDIR}/mod_sql_tds-4.6/mod_sql_tds.c ${WRKSRC}/contrib/ +.endif post-patch: .if defined(WITH_NLS) |