Edit

IABSD.fr/ports/www/phpldapadmin/Makefile

Branch :

  • Show log

    Commit

  • Author : robert
    Date : 2015-09-12 08:09:05
    Hash : f11f70ec
    Message : unbreak phpldapadmin with php-5.{5,6}

  • www/phpldapadmin/Makefile
  • # $OpenBSD: Makefile,v 1.44 2015/09/12 08:09:05 robert Exp $
    
    COMMENT=	web-based LDAP browser to manage LDAP servers
    
    VERSION=	1.2.3
    DISTNAME=	phpldapadmin-${VERSION}
    CATEGORIES=	www
    HOMEPAGE=	http://phpldapadmin.sourceforge.net/
    REVISION=	3
    
    # GPLv2
    PERMIT_PACKAGE_CDROM=	Yes
    
    MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=phpldapadmin/}
    EXTRACT_SUFX=	.tgz
    
    NO_BUILD=	Yes
    NO_TEST=	Yes
    PKG_ARCH=	*
    
    PREFIX=		${VARBASE}/www
    INSTDIR=	${PREFIX}/phpldapadmin
    SUBST_VARS=	INSTDIR
    
    MODULES=	lang/php
    RUN_DEPENDS=	lang/php/${MODPHP_VERSION},-ldap \
    		lang/php/${MODPHP_VERSION},-mcrypt
    
    do-install:
    	${INSTALL_DATA_DIR} ${PREFIX}/phpldapadmin
    	cd ${WRKBUILD} && tar -cf - * .* | \
    		tar -C ${PREFIX}/phpldapadmin -xf -
    	find ${PREFIX}/phpldapadmin -name '*.orig' | xargs -r rm -f
    	chown -R root:daemon ${PREFIX}/phpldapadmin
    
    .include <bsd.port.mk>