You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
53 lines
1.8 KiB
Tcl
53 lines
1.8 KiB
Tcl
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
|
|
|
|
PortSystem 1.0
|
|
|
|
name fsp
|
|
version 2.8.1b29
|
|
revision 0
|
|
|
|
categories net
|
|
license BSD Permissive BSD-old
|
|
maintainers nomaintainer
|
|
description udp based alternate protocol for ftp, server and tools
|
|
long_description FSP stands for File Service Protocol. It is a very \
|
|
lightweight UDP based protocol for transferring files. FSP has \
|
|
many benefits over FTP, mainly for running anonymous archives. \
|
|
FSP protocol is valuable in all kinds of environments because \
|
|
it is one of the only TCP/IP protocols that is not aggressive \
|
|
about bandwidth, while still being sufficiently fault tolerant.
|
|
|
|
homepage http://fsp.sourceforge.net/
|
|
master_sites sourceforge
|
|
checksums rmd160 d4210f7f2965485ab5a5ed5dd751ac08ff42025e \
|
|
sha256 42bda9b90b207a41826887eed09fe2e17aa7bdfa9e31075167149a83393f95f2 \
|
|
size 155403
|
|
use_bzip2 yes
|
|
|
|
depends_build-append \
|
|
port:flex \
|
|
port:scons
|
|
|
|
patchfiles patch-sconstruct.diff
|
|
|
|
post-patch {
|
|
reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/SConstruct
|
|
}
|
|
|
|
use_configure no
|
|
|
|
build.cmd ${prefix}/bin/scons
|
|
build.target
|
|
build.args prefix=${prefix}
|
|
destroot.destdir prefix=${destroot}${prefix}
|
|
|
|
test.run yes
|
|
test.cmd ${build.cmd}
|
|
test.target
|
|
|
|
post-destroot {
|
|
file rename ${destroot}${prefix}/bin/fspd ${destroot}${prefix}/sbin/fspd
|
|
xinstall -m 0644 ${worksrcpath}/fspd.conf \
|
|
${destroot}${prefix}/etc/fspd.conf.sample
|
|
}
|