freebsd-ports/net/self-service-password/Makefile
Yuri Victorovich 481d7440c1 net/self-service-password: Update to 1.2
Also changed to DISTVERSION

PR:		225868
Submitted by:	Krzysztof <ports@bsdserwis.com> (maintainer)
Approved by:	tcberner (mentor, implicit)
2018-02-20 20:28:59 +00:00

45 lines
977 B
Makefile

# Created by: Krzysztof Stryjek <ports@bsdserwis.com>
# $FreeBSD$
PORTNAME= self-service-password
DISTVERSION= 1.2
CATEGORIES= net www
MASTER_SITES= http://ltb-project.org/archives/
DISTNAME= ltb-project-${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@bsdserwis.com
COMMENT= Set of PHP-scripts to change LDAP password over the web
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENCE
USES= php:web
USE_PHP= filter hash ldap mbstring openssl phar 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
.include <bsd.port.pre.mk>
.if ${PHP_VER} <= 70
# For older php mcrypt is needed
USE_PHP+= mcrypt
.endif
post-extract:
@${FIND} ${WRKSRC}/ -name '*.sig' -delete
@${MV} ${WRKSRC}/${CFGDIR}/${CFGFILE} ${WRKSRC}/${CFGDIR}/${CFGFILE}.sample
do-install:
@cd ${WRKSRC}/ && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/
.include <bsd.port.post.mk>