Edit

IABSD.fr/ports/databases/web2ldap/Makefile

Branch :

  • Show log

    Commit

  • Author : lraab
    Date : 2024-05-15 01:32:38
    Hash : 79391020
    Message : databases/web2ldap: mark NO_TEST, tests aren't shipped with the tarball spotted by tb, ok tb@

  • databases/web2ldap/Makefile
  • COMMENT =	full-featured LDAP client running as web application
    
    MODPY_EGG_VERSION =	1.8.1
    DISTNAME =	web2ldap-${MODPY_EGG_VERSION}
    REVISION =	1
    
    CATEGORIES =	databases www sysutils
    
    HOMEPAGE =	https://web2ldap.de/web2ldap.html
    
    MAINTAINER =	Lucas Raab <tuftedocelot@fastmail.fm>
    
    # Apache 2.0
    PERMIT_PACKAGE =	Yes
    
    SITES =		https://www.web2ldap.de/download/
    
    MODULES =	lang/python
    
    FIX_EXTRACT_PERMISSIONS =	Yes
    MODPY_PYBUILD =	setuptools
    
    BUILD_DEPENDS =	databases/py-ldap0${MODPY_FLAVOR}>=1.4.7 \
    		devel/py-iso3166${MODPY_FLAVOR} \
    		textproc/py-xlwt${MODPY_FLAVOR} \
    		net/py-dnspython${MODPY_FLAVOR} \
    		security/py-asn1crypto${MODPY_FLAVOR} \
    		security/py-paramiko${MODPY_FLAVOR}
    RUN_DEPENDS =	${BUILD_DEPENDS} \
    		graphics/py-Pillow${MODPY_FLAVOR} \
    		sysutils/py-prometheus_client${MODPY_FLAVOR} \
    		telephony/py-phonenumbers${MODPY_FLAVOR} \
    		textproc/py-defusedxml${MODPY_FLAVOR}
    
    CONFDIR =	${PREFIX}/share/examples/web2ldap
    
    # tests are not shipped with the tarball
    NO_TEST =	Yes
    
    post-install:
    	cp -r ${WRKSRC}/htdocs ${PREFIX}/share/doc/web2ldap
    	mv ${PREFIX}/etc/web2ldap ${PREFIX}/share/examples/web2ldap
    	rmdir ${PREFIX}/etc
    
    .include <bsd.port.mk>