openbsd-ports/www/phpldapadmin/Makefile
2009-07-22 16:01:37 +00:00

36 lines
801 B
Makefile

# $OpenBSD: Makefile,v 1.16 2009/07/22 16:01:37 jolan Exp $
COMMENT= web-based LDAP browser to manage LDAP servers
VERSION= 1.1.0.7
DISTNAME= phpldapadmin-${VERSION}
PKGNAME= ${DISTNAME}p1
CATEGORIES= www
HOMEPAGE= http://phpldapadmin.sourceforge.net/
MAINTAINER= Marc Balmer <mbalmer@openbsd.org>
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=phpldapadmin/}
NO_BUILD= Yes
NO_REGRESS= Yes
PKG_ARCH= *
PREFIX= /var/www
INSTDIR= ${PREFIX}/phpldapadmin
SUBST_VARS= INSTDIR
RUN_DEPENDS= :php5-ldap-*:www/php5/extensions,-ldap
do-install:
@cd ${PREFIX} && tar zxf ${FULLDISTDIR}/${DISTNAME}${EXTRACT_SUFX} && \
mv ${PREFIX}/${DISTNAME} ${PREFIX}/phpldapadmin
.include <bsd.port.mk>