blob: 9e30f07080ff1df88b3d8e72bc5a0f3db6c2cbdd (
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
|
# $NetBSD: Makefile,v 1.13 2005/09/04 10:08:14 adrianp Exp $
DISTNAME= phpldapadmin-${VERSION}
PKGREVISION= 4
CATEGORIES= databases www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=phpldapadmin/}
MAINTAINER= rasputnik@hellooperator.net
HOMEPAGE= http://phpldapadmin.sourceforge.net/
COMMENT= Set of PHP-scripts to administer an LDAP directory over the WWW
DEPENDS+= php-ldap>=4.1.2:../../databases/php-ldap
VERSION= 0.9.6c
NO_BUILD= YES
USE_PKGINSTALL= YES
APACHE_USER?= www
CONF_FILES= ${PREFIX}/share/examples/phpldapadmin/config.php.example \
${PREFIX}/share/phpldapadmin/config.php
CONF_FILES+= ${PREFIX}/share/examples/phpldapadmin/phpldapadmin.conf \
${PKG_SYSCONFDIR}/httpd/phpldapadmin.conf
SPECIAL_PERMS= ${PREFIX}/share/phpldapadmin/config.php \
${APACHE_USER} wheel 0600
INSTALLATION_DIRS= ${PREFIX}/share/phpldapadmin
do-configure:
@${SED} -e "s|@LDAPADMINDIR@|${PREFIX}/share/phpldapadmin|g" \
${FILESDIR}/phpldapadmin.conf > ${WRKDIR}/phpldapadmin.conf
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/phpldapadmin
${INSTALL_DATA} ${WRKSRC}/config.php.example \
${PREFIX}/share/examples/phpldapadmin
${INSTALL_DATA} ${WRKDIR}/phpldapadmin.conf \
${PREFIX}/share/examples/phpldapadmin
${INSTALL_DATA_DIR} ${PREFIX}/share/phpldapadmin
cd ${WRKSRC} && ${PAX} \
-s /\.#// \
-s /\.cvsignore// \
-s /\.\*.orig// \
-s /\.\*.example// \
-rwppm . ${PREFIX}/share/phpldapadmin
.include "../../mk/apache.mk"
.include "../../mk/bsd.pkg.mk"
|