diff options
author | pav <pav@FreeBSD.org> | 2004-05-25 05:31:32 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2004-05-25 05:31:32 +0800 |
commit | 75a9ddb924094a125f8cf8f0b76e1a2fbfed6ea1 (patch) | |
tree | 2728a4f4f4a2b76761035eabe1a28c39c9e7df4b /ftp/wzdftpd | |
parent | 7dcb8c7d382a9b83338b5d07dfd7773e77942dbd (diff) | |
download | freebsd-ports-graphics-75a9ddb924094a125f8cf8f0b76e1a2fbfed6ea1.tar.gz freebsd-ports-graphics-75a9ddb924094a125f8cf8f0b76e1a2fbfed6ea1.tar.zst freebsd-ports-graphics-75a9ddb924094a125f8cf8f0b76e1a2fbfed6ea1.zip |
- Update to 0.3.2
- Add WITH_UTF8 and WITH_TCL knobs
PR: ports/67121
Submitted by: Roman Bogorodskiy <bogorodskiy@inbox.ru> (maintainer)
Diffstat (limited to 'ftp/wzdftpd')
-rw-r--r-- | ftp/wzdftpd/Makefile | 29 | ||||
-rw-r--r-- | ftp/wzdftpd/distinfo | 4 | ||||
-rw-r--r-- | ftp/wzdftpd/pkg-plist | 3 |
3 files changed, 32 insertions, 4 deletions
diff --git a/ftp/wzdftpd/Makefile b/ftp/wzdftpd/Makefile index 79ed4c8697f..1af5e976cd0 100644 --- a/ftp/wzdftpd/Makefile +++ b/ftp/wzdftpd/Makefile @@ -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 diff --git a/ftp/wzdftpd/distinfo b/ftp/wzdftpd/distinfo index 464af0d199a..86b51e21b54 100644 --- a/ftp/wzdftpd/distinfo +++ b/ftp/wzdftpd/distinfo @@ -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 diff --git a/ftp/wzdftpd/pkg-plist b/ftp/wzdftpd/pkg-plist index ef1bc0d5812..f96794d3f59 100644 --- a/ftp/wzdftpd/pkg-plist +++ b/ftp/wzdftpd/pkg-plist @@ -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%%/ |