mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-14 03:10:47 +00:00
6decbf20fc
* Improvements to plugin modules/classes: o New plugin module lotusdomino for LDAP interface of Lotus Domino server. o New plugin class for attribute types found in schema of MIT Kerberos LDAP backend: krbTicketFlags, krbPrincipalType and krbTicketPolicyReference. o New plugin class for LDAP syntax UUID. o Fix in BitArrayInteger.formValue for adding new values. * Case-insensitive sorting for... o attributes in table view when displaying or editing entries o object classes in object class input select lists o lists of schema links in schema viewer * Fixed SyntaxErroronly occuring with Python_2.3. * Several updates to the country code configuration file including a fix NON-ASCII encoding of country names.
52 lines
1.5 KiB
Makefile
52 lines
1.5 KiB
Makefile
# New ports collection makefile for: web2ldap
|
|
# Date created: 21 July 2000
|
|
# Whom: Oddbjorn Steffensen <oddbjorn@tricknology.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= web2ldap
|
|
PORTVERSION= 1.0.5
|
|
CATEGORIES= www
|
|
MASTER_SITES= http://www.web2ldap.de/download/ \
|
|
ftp://ftp.ipt.ru/pub/download/
|
|
|
|
MAINTAINER= bsam@FreeBSD.org
|
|
COMMENT= Python-based WWW gateway to LDAP servers
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ldap2>=2.3.1:${PORTSDIR}/net/py-ldap2 \
|
|
${PYTHON_SITELIBDIR}/pyweblib/__init__.py:${PORTSDIR}/www/pyweblib \
|
|
${LOCALBASE}/etc/mime.types:${PORTSDIR}/misc/mime-support
|
|
|
|
USE_PYTHON= yes
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
|
|
${WRKSRC}/etc/web2ldap/web2ldapcnf/standalone.py
|
|
@${FIND} ${WRKSRC} -name '*.orig' -o -name '*.bak' | ${XARGS} ${RM}
|
|
|
|
do-build:
|
|
@(cd ${WRKSRC} && ${PYTHON_CMD} ./sbin/compile.py)
|
|
|
|
do-install:
|
|
@${ECHO_CMD} "==> Installing program files..."
|
|
@${MKDIR} ${DATADIR}
|
|
@(cd ${WRKSRC}; \
|
|
${FIND} * -type d | ${GREP} -vE "^htdocs" | ${CPIO} -p ${DATADIR}; \
|
|
${FIND} * -type f | ${GREP} -vE "^htdocs" | ${CPIO} -pd ${DATADIR})
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
@${ECHO_CMD} "==> Installing document files..."
|
|
@${MKDIR} ${DOCSDIR}
|
|
@(cd ${WRKSRC}; \
|
|
${FIND} * -type d | ${GREP} "^htdocs" | ${CPIO} -p ${DOCSDIR}; \
|
|
${FIND} * -type f | ${GREP} "^htdocs" | ${CPIO} -pd ${DOCSDIR})
|
|
.endif
|
|
@${SETENV} "PKG_PREFIX=${PREFIX}" ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|