2011-07-22 06:20:10 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.26 2011/07/22 10:20:10 sthen Exp $
|
2004-12-24 04:19:48 -05:00
|
|
|
|
2007-09-15 16:38:20 -04:00
|
|
|
COMMENT= web-based LDAP browser to manage LDAP servers
|
2004-12-24 04:19:48 -05:00
|
|
|
|
2010-08-23 07:48:49 -04:00
|
|
|
VERSION= 1.2.0.5
|
2005-04-04 15:19:57 -04:00
|
|
|
DISTNAME= phpldapadmin-${VERSION}
|
2004-12-24 04:19:48 -05:00
|
|
|
CATEGORIES= www
|
2011-07-08 19:01:39 -04:00
|
|
|
HOMEPAGE= http://phpldapadmin.sourceforge.net/
|
2004-12-24 04:19:48 -05:00
|
|
|
|
2011-07-22 06:20:10 -04:00
|
|
|
REVISION= 2
|
2010-09-15 06:57:19 -04:00
|
|
|
|
2009-04-30 10:47:43 -04:00
|
|
|
# GPLv2
|
2004-12-24 04:19:48 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2005-04-04 15:19:57 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=phpldapadmin/}
|
2010-01-13 09:36:52 -05:00
|
|
|
EXTRACT_SUFX= .tgz
|
2004-12-24 04:19:48 -05:00
|
|
|
|
|
|
|
NO_BUILD= Yes
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
PKG_ARCH= *
|
|
|
|
|
|
|
|
PREFIX= /var/www
|
2009-07-22 12:01:37 -04:00
|
|
|
INSTDIR= ${PREFIX}/phpldapadmin
|
|
|
|
SUBST_VARS= INSTDIR
|
2004-12-24 04:19:48 -05:00
|
|
|
|
2011-07-08 19:01:39 -04:00
|
|
|
MODULES= lang/php
|
|
|
|
RUN_DEPENDS= lang/php/${MODPHP_VERSION},-ldap \
|
|
|
|
lang/php/${MODPHP_VERSION},-mhash
|
2004-12-24 04:19:48 -05:00
|
|
|
|
|
|
|
do-install:
|
2009-09-26 06:02:57 -04:00
|
|
|
${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
|
2004-12-24 04:19:48 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|