opnsense-ports/ftp/net2ftp/Makefile
Franco Fichtner 2e24bb4a89 */*: sync with upstream
Taken from: FreeBSD
2015-05-04 07:50:47 +02:00

29 lines
665 B
Makefile

# 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>