1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/www/notftp/Makefile
Edwin Groothuis 79605b067d Update www/notftp to 1.3.1
PR:		ports/48507
Submitted by:	Ryan Grove <ryan@wonko.com>
2003-02-24 07:00:19 +00:00

34 lines
777 B
Makefile

# New ports collection makefile for: NotFTP
# Date created: 3 July 2002
# Whom: Ryan Grove <ryan@wonko.com>
#
# $FreeBSD$
#
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
RUN_DEPENDS= ${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/www/mod_php4
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>