aboutsummaryrefslogtreecommitdiff
path: root/ftp/net2ftp/Makefile
blob: 52831c0881522a05ae5d0aa8a20fcb028314e1b8 (plain) (blame)
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
30
31
32
# Created by: Alexander Kriventsov

PORTNAME=	net2ftp
PORTVERSION=	1.3
PORTREVISION=	1
CATEGORIES=	ftp
MASTER_SITES=	https://www.net2ftp.com/download/
DISTNAME=	${PORTNAME}_v${PORTVERSION}

MAINTAINER=	sunpoet@FreeBSD.org
COMMENT=	Web-based FTP client written in PHP

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/files_to_upload/LICENSE.txt

USES=		php zip
.if !defined(WITHOUT_PHP_DEPENDS)
USE_PHP=	ftp mysqli pcre session zlib
.endif

NO_ARCH=	yes
NO_BUILD=	yes

SUB_FILES=	pkg-message

post-patch:
	@${FIND} ${WRKSRC}/files_to_upload -name 'settings*.inc.php' | ${XARGS} -I % ${MV} % %.sample

do-install:
	cd ${WRKSRC}/files_to_upload && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}

.include <bsd.port.mk>