ba46fbdb7b
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>
36 lines
791 B
Makefile
36 lines
791 B
Makefile
# New ports collection makefile for: NotFTP
|
|
# Date created: 3 July 2002
|
|
# Whom: Ryan Grove <ryan@wonko.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= notftp
|
|
PORTVERSION= 1.2.2
|
|
CATEGORIES= www
|
|
MASTER_SITES= http://wonko.com/notftp/files/
|
|
|
|
MAINTAINER= ryan@wonko.com
|
|
|
|
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}
|
|
${CHMOD} -R ${BINMODE} ${INSTALLDIR}
|
|
${FIND} ${INSTALLDIR} ! -type d | ${XARGS} ${CHMOD} ${NOBINMODE}
|
|
|
|
post-install:
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|