676a566802
ok robert@
40 lines
914 B
Makefile
40 lines
914 B
Makefile
# $OpenBSD: Makefile,v 1.23 2010/09/15 10:57:19 ajacoutot Exp $
|
|
|
|
COMMENT= web-based LDAP browser to manage LDAP servers
|
|
|
|
VERSION= 1.2.0.5
|
|
DISTNAME= phpldapadmin-${VERSION}
|
|
CATEGORIES= www
|
|
HOMEPAGE= http://phpldapadmin.sourceforge.net/
|
|
|
|
REVISION= 0
|
|
|
|
# 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
|
|
INSTDIR= ${PREFIX}/phpldapadmin
|
|
SUBST_VARS= INSTDIR
|
|
|
|
RUN_DEPENDS= :php5-ldap-*:www/php5/extensions,-ldap \
|
|
:php5-mhash-*:www/php5/extensions,-mhash
|
|
|
|
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>
|