openbsd-ports/www/phpldapadmin/Makefile

40 lines
912 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.36 2012/09/10 09:16:34 jasper Exp $
COMMENT= web-based LDAP browser to manage LDAP servers
VERSION= 1.2.2
DISTNAME= phpldapadmin-${VERSION}
REVISION= 0
CATEGORIES= www
2011-07-08 19:01:39 -04:00
HOMEPAGE= http://phpldapadmin.sourceforge.net/
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=phpldapadmin/}
EXTRACT_SUFX= .tgz
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
2011-07-08 19:01:39 -04:00
MODULES= lang/php
RUN_DEPENDS= lang/php/${MODPHP_VERSION},-ldap \
2011-11-16 18:02:10 -05:00
lang/php/${MODPHP_VERSION},-mcrypt
do-install:
${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
.include <bsd.port.mk>