- Update to 0.3.2

- Add WITH_UTF8 and WITH_TCL knobs

PR:		ports/67121
Submitted by:	Roman Bogorodskiy <bogorodskiy@inbox.ru> (maintainer)
This commit is contained in:
Pav Lucistnik 2004-05-24 21:31:32 +00:00
parent 321319f9f3
commit 0dc848abaa
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=109899
3 changed files with 32 additions and 4 deletions

View file

@ -6,8 +6,7 @@
#
PORTNAME= wzdftpd
PORTVERSION= 0.3.1
PORTREVISION= 1
PORTVERSION= 0.3.2
CATEGORIES= ftp ipv6
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@ -15,6 +14,7 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= bogorodskiy@inbox.ru
COMMENT= Modular FTP server configurable online using SITE commands
USE_REINPLACE= yes
USE_GMAKE= yes
USE_GETOPT_LONG=yes
GNU_CONFIGURE= yes
@ -23,6 +23,26 @@ USE_LIBTOOL_VER=13
CONFIGURE_ARGS+= --without-mysql
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
.if defined(PACKAGE_BUILDING)
WITH_UTF8= yes
WITH_TCL= yes
WITH_SSL= yes
WITH_IPV6= yes
.endif
.if defined(WITH_UTF8)
USE_ICONV= yes
CONFIGURE_ARGS+= --enable-utf8
.endif
.if defined(WITH_TCL)
LIB_DEPENDS+= tcl84:${PORTSDIR}/lang/tcl84
CONFIGURE_ARGS+= --with-tcl='${PREFIX}/include/tcl8.4:${PREFIX}/lib'
PLIST_SUB+= TCL=""
.else
PLIST_SUB+= TCL="@comment "
.endif
.if defined(WITH_SSL)
USE_OPENSSL= yes
CONFIGURE_ARGS+= --enable-ssl
@ -35,6 +55,11 @@ CONFIGURE_ARGS+= --enable-ipv6
DOCS= AUTHORS Permissions.ReadMeFirst README TLS.ReadMeFirst \
ChangeLog src/DOCS_XFERLOG_FORMAT src/KNOWN_BUGS src/TODO
post-extract:
.if defined(WITH_TCL)
@${REINPLACE_CMD} -e 's|-ltcl8.4|-ltcl84|g' ${WRKSRC}/configure
.endif
post-install:
${MV} ${PREFIX}/etc/wzd.cfg ${PREFIX}/etc/wzd.cfg.sample
${MV} ${PREFIX}/etc/users ${DATADIR}/users.sample

View file

@ -1,2 +1,2 @@
MD5 (wzdftpd-0.3.1.tar.gz) = 829ec5588a75f7cfe7e1c4c8f6c4a685
SIZE (wzdftpd-0.3.1.tar.gz) = 595594
MD5 (wzdftpd-0.3.2.tar.gz) = 4fe01d9bca959eb507654cacc78f1133
SIZE (wzdftpd-0.3.2.tar.gz) = 612698

View file

@ -34,6 +34,9 @@ etc/file_groups.txt
%%DATADIR%%/modules/libwzd_sfv.la
%%DATADIR%%/modules/libwzd_sfv.a
%%DATADIR%%/modules/libwzd_sfv.so
%%TCL%%%%DATADIR%%/modules/libwzd_tcl.a
%%TCL%%%%DATADIR%%/modules/libwzd_tcl.la
%%TCL%%%%DATADIR%%/modules/libwzd_tcl.so
@dirrm %%DATADIR%%/modules/
@dirrm %%DATADIR%%/backends/
@dirrm %%DATADIR%%/