head	1.8;
access;
symbols
	RELEASE_8_3_0:1.7
	RELEASE_9_0_0:1.7
	RELEASE_7_4_0:1.7
	RELEASE_8_2_0:1.7
	RELEASE_6_EOL:1.7
	RELEASE_8_1_0:1.7
	RELEASE_7_3_0:1.7
	RELEASE_8_0_0:1.7
	RELEASE_7_2_0:1.7
	RELEASE_7_1_0:1.7
	RELEASE_6_4_0:1.7
	RELEASE_5_EOL:1.7
	RELEASE_7_0_0:1.7
	RELEASE_6_3_0:1.7
	PRE_XORG_7:1.7
	RELEASE_4_EOL:1.7
	RELEASE_6_2_0:1.7
	RELEASE_6_1_0:1.6
	RELEASE_5_5_0:1.6
	RELEASE_6_0_0:1.6
	RELEASE_5_4_0:1.6
	RELEASE_4_11_0:1.6
	RELEASE_5_3_0:1.6
	RELEASE_4_10_0:1.6
	RELEASE_5_2_1:1.4
	RELEASE_5_2_0:1.4
	RELEASE_4_9_0:1.4
	RELEASE_5_1_0:1.4
	RELEASE_4_8_0:1.4
	RELEASE_5_0_0:1.2;
locks; strict;
comment	@# @;


1.8
date	2012.11.17.06.02.43;	author svnexp;	state Exp;
branches;
next	1.7;

1.7
date	2006.05.06.14.31.28;	author ale;	state Exp;
branches;
next	1.6;

1.6
date	2004.01.22.12.18.41;	author trevor;	state Exp;
branches;
next	1.5;

1.5
date	2003.12.17.05.15.28;	author mharo;	state Exp;
branches;
next	1.4;

1.4
date	2003.02.24.07.00.19;	author edwin;	state Exp;
branches;
next	1.3;

1.3
date	2003.02.21.14.01.22;	author knu;	state Exp;
branches;
next	1.2;

1.2
date	2002.11.12.23.04.18;	author sada;	state Exp;
branches;
next	1.1;

1.1
date	2002.11.09.21.11.51;	author sada;	state Exp;
branches;
next	;


desc
@@


1.8
log
@Switch exporter over
@
text
@# New ports collection makefile for:	NotFTP
# Date created:		3 July 2002
# Whom:			Ryan Grove <ryan@@wonko.com>
#
# $FreeBSD: head/www/notftp/Makefile 300897 2012-07-14 14:29:18Z beat $
#

PORTNAME=	notftp
PORTVERSION=	1.3.1
CATEGORIES=	www ftp
MASTER_SITES=	http://wonko.com/notftp/files/

MAINTAINER=	ryan@@wonko.com
COMMENT=	An easy to use Web to FTP gateway written in PHP

USE_PHP=	yes

PREFIX=		${LOCALBASE}
WEBOWN?=	www
WEBGRP?=	www
APACHEDIR=	${PREFIX}/www/data
INSTALLDIR=	${APACHEDIR}/notftp
NO_BUILD=	yes

PLIST_SUB+=	INSTALLDIR=${INSTALLDIR:S,^${PREFIX}/,,}

do-install:
	${MKDIR} ${INSTALLDIR}
	cd ${WRKSRC}; ${FIND} . \
		| ${CPIO} -pdm -R ${WEBOWN}:${WEBGRP} ${INSTALLDIR}
	${FIND} ${INSTALLDIR} ! -type d | ${XARGS} ${CHMOD} ${NOBINMODE}

.include <bsd.port.mk>
@


1.7
log
@Fix or remove obsolate or broken ways to depend on php.
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.6
log
@Use the CPIO macro defined in bsd.port.mk.
@
text
@d16 1
a16 9
.if exists(${LOCALBASE}/include/apache2/os.h)
WITH_APACHE2=	yes
.endif

.if defined(WITH_APACHE2)
RUN_DEPENDS+=	${LOCALBASE}/libexec/apache2/libphp4.so:${PORTSDIR}/www/mod_php4
.else
RUN_DEPENDS+=	${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/www/mod_php4
.endif
@


1.5
log
@add support for Apache2

PR:	60188
Submitted by:	maintainer
@
text
@d38 1
a38 1
		| cpio -pdm -R ${WEBOWN}:${WEBGRP} ${INSTALLDIR}
@


1.4
log
@Update www/notftp to 1.3.1

PR:		ports/48507
Submitted by:	Ryan Grove <ryan@@wonko.com>
@
text
@d16 9
a24 1
RUN_DEPENDS=	${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/www/mod_php4
@


1.3
log
@De-pkg-comment.
@
text
@d9 2
a10 2
PORTVERSION=	1.3
CATEGORIES=	www
a30 1
	${CHMOD} -R ${BINMODE} ${INSTALLDIR}
@


1.2
log
@Upgrade to version 1.3
PR:	ports/43982
Submitted by:	maintainer
Notified about the PR:	Joseph Scott <joseph@@randomnetworks.com>
@
text
@d14 1
@


1.1
log
@Add new port: notftp
NotFTP is a fully-featured and easy to use Web-based HTTP-FTP gateway written in
PHP.

WWW:	http://wonko.com/notftp/
PR:		ports/40168
Submitted by:	Ryan Grove <ryan@@wonko.com>
@
text
@d9 1
a9 1
PORTVERSION=	1.2.2
a31 3

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

