1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/www/usermanager/Makefile
Pav Lucistnik b038c82419 Add usermanager, a web administration of virtual PureFTPd users.
Submitted by:	DanGer <danger@wilbury.sk>
2004-12-20 19:22:29 +00:00

46 lines
1.3 KiB
Makefile

# New ports collection makefile for: UserManager
# Date created: 19 December 2004
# Whom: DanGer <danger@wilbury.sk>
#
# $FreeBSD$
#
PORTNAME= UserManager
PORTVERSION= 1.4.0
CATEGORIES= www
MASTER_SITES= http://machiel.generaal.net/files/pureftpd/
DISTNAME= ftp_v${PORTVERSION}
MAINTAINER= danger@wilbury.sk
COMMENT= Easily create, change, or delete virtual PureFTPd users
WRKSRC= ${WRKDIR}/ftp
BROKEN_WITH_PHP= 5
USE_PHP= mysql
NO_BUILD= yes
PKGMESSAGE= ${WRKDIR}/pkg-message
post-patch:
@${SED} -e 's|%%PREFIX%%|${PREFIX}|g' ${FILESDIR}/pkg-message.in > ${PKGMESSAGE}
do-install:
@${MKDIR} ${PREFIX}/www/data/UserManager
@${MKDIR} ${PREFIX}/www/data/UserManager/images
@${MKDIR} ${PREFIX}/www/data/UserManager/language
@${MKDIR} ${PREFIX}/www/data/UserManager/style
${INSTALL_DATA} ${WRKSRC}/script.mysql ${PREFIX}/www/data/UserManager
${INSTALL_DATA} ${WRKSRC}/*.php ${PREFIX}/www/data/UserManager
${INSTALL_DATA} ${WRKSRC}/readme.txt ${PREFIX}/www/data/UserManager
${INSTALL_DATA} ${WRKSRC}/CHANGELOG ${PREFIX}/www/data/UserManager
${INSTALL_DATA} ${WRKSRC}/images/* ${PREFIX}/www/data/UserManager/images
${INSTALL_DATA} ${WRKSRC}/language/* ${PREFIX}/www/data/UserManager/language
${INSTALL_DATA} ${WRKSRC}/style/* ${PREFIX}/www/data/UserManager/style
@${ECHO_CMD} ""
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>