1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00
freebsd-ports/ftp/net2ftp/Makefile
Bernard Spil 4293e998f9 ftp/net2ftp: Update to 1.1
- Update contains PHP 7 compat

PR:		222173
2017-09-09 19:18:17 +00:00

30 lines
670 B
Makefile

# Created by: Alexander Kriventsov
# $FreeBSD$
PORTNAME= net2ftp
PORTVERSION= 1.1
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= php zip
NO_BUILD= YES
.if !defined(WITHOUT_PHP_DEPENDS)
USE_PHP= ftp mysqli 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>