6cbc0789ef
Changes since 1.1: * Added --url option to download a directory hierarchy of a ftp-URL * Fixes descriptor leakage when errors downloading files occurs * Fixed bug with space in directory names * Download files to another name first and then rename them. * Fixed problem with permission not getting updated on directories. * Prints average downloadrate together with the other stats. * Works with latest version of wu-ftpd. * Prints stats corectly under Solaris. * Applied patch from Makoto MATSUSHITA that closes down data connection to ftp-server completely before reading status from ftp-server. Thank you.
28 lines
692 B
Makefile
28 lines
692 B
Makefile
# $NetBSD: Makefile,v 1.6 2004/12/09 16:01:58 wiz Exp $
|
|
|
|
DISTNAME= spegla-1.1p4
|
|
CATEGORIES= net
|
|
MASTER_SITES= ftp://subzero.campus.luth.se/pub/spegla/
|
|
|
|
MAINTAINER= jnilsson@ludd.luth.se
|
|
COMMENT= Mirror program for FTP sites (written in C)
|
|
|
|
MANCOMPRESSED_IF_MANZ= yes
|
|
PLIST_SRC= ${WRKDIR}/PLIST
|
|
USE_BUILDLINK3= yes
|
|
BUILDLINK_TRANSFORM+= rm:-Werror
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
BUILD_DEFS+= MANINSTALL
|
|
|
|
post-install:
|
|
@${CP} ${PKGDIR}/PLIST ${PLIST_SRC}
|
|
@for OPT in ${MANINSTALL} x; do \
|
|
case $$OPT in \
|
|
catinstall) ${ECHO} man/cat1/spegla.0 >>${PLIST_SRC};; \
|
|
maninstall) ${ECHO} man/man1/spegla.1 >>${PLIST_SRC};; \
|
|
esac; \
|
|
done
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|