head	1.7;
access;
symbols
	RELEASE_4_EOL:1.4
	RELEASE_6_2_0:1.3
	RELEASE_6_1_0:1.3
	RELEASE_5_5_0:1.3;
locks; strict;
comment	@# @;


1.7
date	2007.03.25.10.02.55;	author rafan;	state dead;
branches;
next	1.6;

1.6
date	2007.02.27.04.40.17;	author kris;	state Exp;
branches;
next	1.5;

1.5
date	2007.02.05.18.09.02;	author brooks;	state Exp;
branches;
next	1.4;

1.4
date	2007.01.20.01.34.39;	author kris;	state Exp;
branches;
next	1.3;

1.3
date	2006.02.22.00.49.07;	author brooks;	state Exp;
branches;
next	1.2;

1.2
date	2006.01.22.00.11.39;	author brooks;	state Exp;
branches;
next	1.1;

1.1
date	2006.01.17.23.19.54;	author brooks;	state Exp;
branches;
next	;


desc
@@


1.7
log
@- drupal-* are renamed to drupal4-* for drupal5 ports
@
text
@# New ports collection makefile for:	drupal-ldap_integration
# Date created:				12 January 2006
# Whom:					Brooks Davis <brooks@@FreeBSD.org>
#
# $FreeBSD: ports/security/drupal-ldap_integration/Makefile,v 1.6 2007/02/27 04:40:17 kris Exp $
#

PORTNAME=	ldap_integration
DISTVERSION=	${DRUPAL_VERSION}
PORTREVISION=	20060117
CATEGORIES=	security www

MAINTAINER=	brooks@@FreeBSD.org
COMMENT=	LDAP user authentication for the Drupal CMS

USE_PHP=	ldap

BROKEN=		Install fails

DRUPAL_MODULE=	yes
MODULE_FILES=	ldap_integration.module \
		ldap_integration/LDAPInterface.php \
		zcallbacks.module
MODULE_CONF_FILES=	ldap_integration/conf.php
MODULE_CONF_DIRS=	ldap_integration
DOC_FILES=	CHANGES.txt LICENSE.txt README.txt

.include <bsd.port.pre.mk>
.include "${PORTSDIR}/www/drupal/bsd.drupal.mk"
.include <bsd.port.post.mk>
@


1.6
log
@BROKEN: Install fails
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.5
log
@Upgrade to the version that works with drupal 4.7.x.
@
text
@d18 2
@


1.4
log
@BROKEN: Broken distinfo
@
text
@a11 1
MASTER_SITE_SUBDIR=	brooks
a15 2
BROKEN=		Broken distinfo

@


1.3
log
@Use bsd.drupal.mk to reduce duplicate code in drupal modules.
@
text
@d17 2
@


1.2
log
@Drupal appears to re-roll modules from cvs on a nightly basis in such
a way that the file changes every time so distribute a stable copy via
MASTER_SITE_LOCAL.  Since the file version doesn't change even when the
contents change (for instance a recent set of commits resulting in no
changes except an edition of a blank line and a new cvs Id), store the
date of the snapsnot in PORTREVISION.

Reported by:	kris
@
text
@d9 1
a9 1
DISTVERSION=	${DRUPVERSION}
a11 1
MASTER_SITES=	${MASTER_SITE_LOCAL}
a12 2
PKGNAMEPREFIX=	drupal-
DIST_SUBDIR=	drupal
a16 2
RUN_DEPENDS=	${LOCALBASE}/${DRUPDIR}/index.php:${PORTSDIR}/www/drupal

d19 1
a19 6
NO_BUILD=	yes

DOCSDIR=	${PREFIX}/${DRUPDIR}/doc/${PORTNAME}
DRUPMODDIR=	${DRUPDIR}/modules

WRKSRC=		${WRKDIR}/${PORTNAME}
d27 3
a29 53
.if defined(MODULE_CONF_FILES)
SUB_FILES=	pkg-install
SUB_LIST+=	CONF_FILES=${MODULE_CONF_FILES:C|^|${DRUPMODDIR}/|} \
		CONF_DIRS=${MODULE_CONF_DIRS:C|^|${DRUPMODDIR}/|}
PKGINSTALL=	${WRKDIR}/pkg-install
PKGDEINSTALL=	${PKGINSTALL}
.endif

PLIST_SUB+=	DRUPMODDIR=${DRUPMODDIR}
PLIST_FILES+=	${MODULE_FILES:C|^|%%DRUPMODDIR%%/|}
PLIST_FILES+=	${MODULE_CONF_FILES:C|^|%%DRUPMODDIR%%/|:C|$|-dist|}
PLIST_DIRS+=	${MODULE_DIRS:C|^|%%DRUPMODDIR%%/|}
.if !defined(NOPORTDOCS)
PLIST_FILES+=	${DOC_FILES:C|^|%%DOCSDIR%%/|}
PLIST_DIRS+=	%%DOCSDIR%%
.endif

.if !defined(DRUPDIR)
pre-fetch:
	@@${ECHO_MSG} ""
	@@${ECHO_MSG} "Define DRUPDIR to override default of 'www/drupal'."
	@@${ECHO_MSG} ""
.endif

DRUPDIR?=	www/drupal
DRUPVERSION?=	4.6.0

do-install:
.if defined(MODULE_CONF_DIRS)
	@@${MKDIR} ${MODULE_CONF_DIRS:C|^|${PREFIX}/${DRUPMODDIR}/|}
.endif
.if defined(MODULE_DIRS)
	@@${MKDIR} ${MODULE_DIRS:C|^|${PREFIX}/${DRUPMODDIR}/|}
.endif
.for f in ${MODULE_FILES}
	@@${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/${DRUPMODDIR}/${f}
.endfor
.for f in ${MODULE_CONF_FILES}
	@@${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/${DRUPMODDIR}/${f}-dist
.endfor
.if !defined(NOPORTDOCS)
	@@${MKDIR} ${DOCSDIR}
.for f in ${DOC_FILES}
	@@${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/${f}
.endfor
.endif

.if defined(MODULE_CONF_FILES)
post-install:
	@@${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.endif

.include <bsd.port.mk>
@


1.1
log
@Add drupal-ldap_integration.

The ldap_integration Drupal module allows users to authenticate against
a LDAP directory.  Additionally, users can read and modify their data in
the LDAP directory subject to administrative restrictions.
@
text
@d9 2
a10 1
PORTVERSION=	4.6.0
d12 2
a13 1
MASTER_SITES=	http://drupal.org/files/projects/
d62 1
@

