aboutsummaryrefslogtreecommitdiffstats
path: root/net/self-service-password/Makefile
blob: 6e9fcaa91b24ef9d1190f19b1f900f715a2f0529 (plain) (blame)
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
# Created by: Krzysztof Stryjek <ports@bsdserwis.com>
# $FreeBSD$

PORTNAME=   self-service-password
PORTVERSION=    0.8
PORTREVISION=   1
CATEGORIES= net www
MASTER_SITES=   http://tools.ltb-project.org/attachments/download/497/
DISTNAME=   ltb-project-${PORTNAME}-${PORTVERSION}

MAINTAINER= ports@bsdserwis.com
COMMENT=    A set of PHP-scripts to change LDAP password over the web

LICENSE=    GPLv2

NO_BUILD=   yes
NO_ARCH=    yes

USE_PHP=    ldap openssl session hash mhash mcrypt mbstring filter

WANT_PHP_WEB=   yes

CFGDIR=     conf
CFGFILE=    config.inc.php

PLIST_SUB+= SSP_OWN=${WWWOWN}
PLIST_SUB+= SSP_GRP=${WWWGRP}

SUB_LIST+=  PKGNAME=${PKGNAME}
SUB_FILES=  pkg-message

post-extract:
    @${MV} ${WRKSRC}/${CFGDIR}/${CFGFILE} ${WRKSRC}/${CFGDIR}/${CFGFILE}.sample

do-install:
    @cd ${WRKSRC}/ && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/

.include <bsd.port.mk>