6b39d02202
- Switch to official master site - While here, fix license PR: 213872 Submitted by: ports@bsdserwis.com (maintainer)
37 lines
847 B
Makefile
37 lines
847 B
Makefile
# Created by: Krzysztof Stryjek <ports@bsdserwis.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= self-service-password
|
|
PORTVERSION= 1.0
|
|
CATEGORIES= net www
|
|
MASTER_SITES= http://tools.ltb-project.org/attachments/download/889/
|
|
DISTNAME= ltb-project-${PORTNAME}-${PORTVERSION}
|
|
|
|
MAINTAINER= ports@bsdserwis.com
|
|
COMMENT= Set of PHP-scripts to change LDAP password over the web
|
|
|
|
LICENSE= GPLv2+
|
|
LICENSE_FILE= ${WRKSRC}/LICENCE
|
|
|
|
USES= php:web
|
|
USE_PHP= filter hash ldap mbstring mcrypt openssl session
|
|
|
|
NO_BUILD= yes
|
|
NO_ARCH= 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>
|