head	1.3;
access;
symbols
	RELEASE_8_3_0:1.2
	RELEASE_9_0_0:1.2
	RELEASE_7_4_0:1.2
	RELEASE_8_2_0:1.2
	RELEASE_6_EOL:1.2
	RELEASE_8_1_0:1.2
	RELEASE_7_3_0:1.2
	RELEASE_8_0_0:1.2;
locks; strict;
comment	@# @;


1.3
date	2012.11.17.05.57.30;	author svnexp;	state Exp;
branches;
next	1.2;

1.2
date	2009.08.28.16.23.11;	author araujo;	state Exp;
branches;
next	1.1;

1.1
date	2009.04.30.20.55.57;	author miwi;	state Exp;
branches;
next	;


desc
@@


1.3
log
@Switch exporter over
@
text
@# New ports collection makefile for: net2ftp
# Date created:	  14 Apr 2009
# Whom:		   Alexander Kriventsov
#
# $FreeBSD: head/ftp/net2ftp/Makefile 300896 2012-07-14 13:54:48Z beat $
#

PORTNAME=	net2ftp
PORTVERSION=	0.98
CATEGORIES=	ftp
MASTER_SITES=	http://www.net2ftp.com/download/
DISTNAME=	${PORTNAME}_v${PORTVERSION}

MAINTAINER=	avk@@vl.ru
COMMENT=	PHP scripts to work with ftp

USE_ZIP=	YES
NO_BUILD=	YES
.if !defined(WITHOUT_PHP_DEPENDS)
USE_PHP=	ftp mysql pcre session zlib
.endif
#USE_DOS2UNIX=	YES

PLIST=	   ${WRKDIR}/plist

CFGFILES=	settings.inc.php settings_authorizations.inc.php settings_screens.inc.php

SUB_LIST+=	PKGNAME=${PKGNAME}
SUB_FILES+=	pkg-message

# When creating a package, empty directories will not be generated
# from the pkg tarball.  Therefore make sure no directories are empty.

post-patch:
	 @@cd ${WRKSRC}/files_to_upload ; \
	 for emptydir in $$( ${FIND} . -type d -empty -print ) ; do \
		  ${TOUCH} $${emptydir}/.keep-me ; \
	 done
	 @@cd ${WRKSRC}/files_to_upload ; \
	 ${FIND} . ! -type d ! -name "settings*.inc.php" | ${SORT} | \
		  ${SED} -e "s,^\.,%%WWWDIR%%,"	    >${PLIST} ; \
	 ${CAT} ${PKGDIR}/pkg-plist-chunk		  >>${PLIST} ; \
	 ${FIND} . -type d | ${SORT} -r | ${SED} \
		  -e "s,^\.$$,@@dirrmtry %%WWWDIR%%," \
		  -e "s,^\.,@@dirrm %%WWWDIR%%,"	    >>${PLIST}

do-install: install-app install-conf

install-app:
	 @@cd ${WRKSRC}/files_to_upload ; \
	 for src in $$( ${FIND} . ! -name "settings*.inc.php" ) ; do \
		  dst=${WWWDIR}$${src#.} ; \
		  if ${TEST} -d $$src ; then \
			   ${MKDIR} $$dst ; \
		  else \
			   ${INSTALL_DATA} $$src $$dst ; \
		  fi \
	 done

install-conf: install-app
	 @@cd ${WRKSRC}/files_to_upload ; \
	 ${INSTALL_DATA} settings.inc.php ${WWWDIR}/settings.inc.php.sample ; \
	 ${INSTALL_DATA} settings_authorizations.inc.php ${WWWDIR}/settings_authorizations.inc.php.sample ; \
	 ${INSTALL_DATA} settings_screens.inc.php ${WWWDIR}/settings_screens.inc.php.sample
	 @@cd ${WWWDIR} ; \
	 for CFGFILE in ${CFGFILES} ; do \
		  if ${TEST} ! -f $${CFGFILE} ; then \
			   ${CP} -p $${CFGFILE}.sample $${CFGFILE} ; \
		  fi \
	 done

post-install:
	 @@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>
@


1.2
log
@- Update to 0.98.

PR:		ports/138217
Submitted by:	Sylvio Cesar <scjamorim@@bsd.com.br>
Approved by:	Alexander Kriventsov <avk@@vl.ru> (maintainer)
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.1
log
@net2ftp is a web-based FTP client written in PHP

User features
 - Navigate the FTP server
 - Upload files
 - Download files
 - Zip files
 - Unzip files
 - Install software
 - Copy, move and delete
 - Copy or move to a 2nd FTP server
 - Rename and chmod
 - View code with syntax highlighting
 - Plain text editor
 - HTML editors
 - Code editor
 - Search for words or phrases
 - Calculate size

WWW: http://www.net2ftp.com/

PR:		ports/133766
Submitted by:	Alexander Kriventsov
@
text
@d9 1
a9 1
PORTVERSION=	0.97
d15 1
a15 1
COMMENT=	 PHP scripts to work with ftp
d17 1
a17 1
USE_ZIP=	 YES
d20 1
a20 1
USE_PHP=	 ftp mysql pcre session zlib
@

