mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-17 03:25:46 +00:00
33 lines
757 B
Makefile
33 lines
757 B
Makefile
# ex:ts=8
|
|
# Ports collection makefile for: phpwebapp
|
|
# Date created: Jul 1, 2004
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= phpwebapp
|
|
PORTVERSION= 1.2
|
|
CATEGORIES= www
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= munggo@pmy.lv
|
|
COMMENT= A web application framework
|
|
|
|
USE_PHP= yes
|
|
WANT_PHP_WEB= yes
|
|
NO_BUILD= yes
|
|
PHPWEBAPP?= ${PREFIX}/www/data/web_app
|
|
|
|
do-install:
|
|
${MKDIR} -p ${PREFIX}/www/data
|
|
${CP} -R ${WRKSRC}/web_app/ ${PHPWEBAPP}
|
|
@${FIND} ${PHPWEBAPP} ! -type d | \
|
|
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
|
|
@${FIND} ${PHPWEBAPP} -type d | ${SORT} -r | \
|
|
${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
|
|
@${ECHO_CMD} "@unexec rmdir %D/www/data 2>/dev/null || true" >> ${TMPPLIST}
|
|
|
|
.include <bsd.port.mk>
|