summaryrefslogblamecommitdiff
path: root/www/notftp/Makefile
blob: aa601ec05374ef18e71c749a015e29d66b2a42c4 (plain) (tree)
1
2
3
4
5
6
7
8
9
10







                                                   

                       


                                              
                                                                
 
                   












                                                        
                                                                   

                                                                        
                      
# 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

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>