Lines 6-22
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= smbftpd |
8 |
PORTNAME= smbftpd |
9 |
PORTVERSION= 0.97 |
9 |
PORTVERSION= 2.0 |
10 |
CATEGORIES= ftp |
10 |
CATEGORIES= ftp |
11 |
MASTER_SITES= http://www.twbsd.org/download/download.php?file=smbftpd/ |
11 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ |
|
|
12 |
http://www.twbsd.org/download/download.php?file=smbftpd/ |
13 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
12 |
|
14 |
|
13 |
MAINTAINER= jnlin@csie.nctu.edu.tw |
15 |
MAINTAINER= jnlin@csie.nctu.edu.tw |
14 |
COMMENT= FTP daemon using Samba-like share management mechanism |
16 |
COMMENT= FTP daemon using Samba-like share management mechanism |
15 |
|
17 |
|
|
|
18 |
OPTIONS= MYSQL "Users database is a MySQL database" off \ |
19 |
PGSQL "Users database is a PostgreSQL database" off \ |
20 |
SSL "Enable SSL/TLS support" off \ |
21 |
ICONV "Enable codepage to unicode conversion for UTF-8 FTP" off |
22 |
|
16 |
HAS_CONFIGURE= yes |
23 |
HAS_CONFIGURE= yes |
17 |
USE_OPENSSL= yes |
24 |
MAKE_ENV= OSTYPE=FreeBSD |
|
|
25 |
CONFIGURE_ARGS= "--prefix=${PREFIX}" |
26 |
|
27 |
.include <bsd.port.pre.mk> |
28 |
|
18 |
USE_PERL5= yes |
29 |
USE_PERL5= yes |
|
|
30 |
USE_RC_SUBR= smbftpd.sh |
19 |
|
31 |
|
20 |
MAKE_ENV= OSTYPE=FreeBSD |
32 |
.if defined(WITH_MYSQL) |
|
|
33 |
USE_MYSQL= yes |
34 |
CONFIGURE_ARGS+= "--with-mysql" |
35 |
.endif |
36 |
|
37 |
.if defined(WITH_PGSQL) |
38 |
USE_PGSQL= yes |
39 |
CONFIGURE_ARGS+= "--with-pgsql" |
40 |
.endif |
41 |
|
42 |
.if defined(WITH_ICONV) |
43 |
USE_ICONV= yes |
44 |
CONFIGURE_ARGS+= "--with-iconv" |
45 |
.endif |
46 |
|
47 |
.if defined(WITH_SSL) |
48 |
CONFIGURE_ARGS+= "--with-ssl" |
49 |
.endif |
21 |
|
50 |
|
22 |
.include <bsd.port.mk> |
51 |
.include <bsd.port.post.mk> |