2002-11-09 21:11:51 +00:00
|
|
|
# New ports collection makefile for: NotFTP
|
|
|
|
# Date created: 3 July 2002
|
|
|
|
# Whom: Ryan Grove <ryan@wonko.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= notftp
|
2003-02-24 07:00:19 +00:00
|
|
|
PORTVERSION= 1.3.1
|
|
|
|
CATEGORIES= www ftp
|
2002-11-09 21:11:51 +00:00
|
|
|
MASTER_SITES= http://wonko.com/notftp/files/
|
|
|
|
|
|
|
|
MAINTAINER= ryan@wonko.com
|
2003-02-21 14:08:24 +00:00
|
|
|
COMMENT= An easy to use Web to FTP gateway written in PHP
|
2002-11-09 21:11:51 +00:00
|
|
|
|
2006-05-06 14:31:30 +00:00
|
|
|
USE_PHP= yes
|
2002-11-09 21:11:51 +00:00
|
|
|
|
|
|
|
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} . \
|
2004-01-22 12:18:43 +00:00
|
|
|
| ${CPIO} -pdm -R ${WEBOWN}:${WEBGRP} ${INSTALLDIR}
|
2002-11-09 21:11:51 +00:00
|
|
|
${FIND} ${INSTALLDIR} ! -type d | ${XARGS} ${CHMOD} ${NOBINMODE}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|