blob: eaa781c5770265b7d7741321aa47d0e6c750b897 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# 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+
LICENSE_FILE= ${WRKSRC}/COPYING.txt
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
NO_ARCH= yes
IGNORE_WITH_PHP= 70 71
SUB_FILES= pkg-message
SUB_LIST= DLURL=${DLURL} DLDIR=${DLDIR}
PLIST_SUB= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP}
OPTIONS_DEFINE= DOCS
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}
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|