blob: 0ed25dd4013a2a1d4aff65c0ff9d6786675449c1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Created by: Alexander Kriventsov
# $FreeBSD$
PORTNAME= net2ftp
PORTVERSION= 1.0
CATEGORIES= ftp
MASTER_SITES= http://www.net2ftp.com/download/
DISTNAME= ${PORTNAME}_v${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Web-based FTP client written in PHP
LICENSE= GPLv2
USES= zip
NO_BUILD= YES
.if !defined(WITHOUT_PHP_DEPENDS)
USE_PHP= ftp mysql pcre session zlib
.endif
SUB_FILES+= pkg-message
do-install:
@(for samplefile in $$( ${FIND} ${WRKSRC}/files_to_upload -name "settings*.inc.php" ) ; do \
${MV} $$samplefile $$samplefile.sample ; \
done)
@(cd ${WRKSRC}/files_to_upload && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR})
.include <bsd.port.mk>
|