mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
02625d7d3b
Approved by: antoine (mentor)
42 lines
1020 B
Makefile
42 lines
1020 B
Makefile
# Created by: Greg Larkin <glarkin@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= phpdeadlock
|
|
PORTVERSION= 1.01
|
|
PORTREVISION= 1
|
|
CATEGORIES= security www
|
|
MASTER_SITES= SF/${PORTNAME}/Deadlock/${PORTVERSION}%20Stable
|
|
DISTNAME= Deadlock-${PORTVERSION}-Stable
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Web-based user authentication/password protection system
|
|
|
|
LICENSE= GPLv2
|
|
|
|
WRKSRC= ${WRKDIR}/Deadlock-1.01
|
|
DLURL?= ${PORTNAME}
|
|
DLDIR= www/${DLURL}
|
|
PORTDOCS= CHANGES.txt COPYING.txt UPGRADE.txt
|
|
|
|
USES= dos2unix
|
|
USE_APACHE_RUN= 22+
|
|
USE_PHP= mysql session ctype pcre
|
|
NO_BUILD= yes
|
|
|
|
SUB_FILES= pkg-message
|
|
SUB_LIST= DLURL=${DLURL} DLDIR=${DLDIR}
|
|
PLIST_SUB= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP}
|
|
|
|
post-extract:
|
|
@cd ${WRKDIR} && ${MV} "Deadlock v1.01" Deadlock-1.01
|
|
|
|
post-patch:
|
|
@${FIND} ${WRKSRC} -name \*.orig -exec ${RM} {} \;
|
|
|
|
do-install:
|
|
@cd ${WRKSRC}/deadlock && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}
|
|
@${INSTALL} -d ${STAGEDIR}${DOCSDIR}
|
|
@cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|