b61f5baa81
the port. there will likely be more fixes to this soon, see https://sourceforge.net/tracker/?func=detail&aid=3497660&group_id=61828&atid=498546
39 lines
899 B
Makefile
39 lines
899 B
Makefile
# $OpenBSD: Makefile,v 1.35 2012/03/06 20:35:20 sthen Exp $
|
|
|
|
COMMENT= web-based LDAP browser to manage LDAP servers
|
|
|
|
VERSION= 1.2.2
|
|
DISTNAME= phpldapadmin-${VERSION}
|
|
CATEGORIES= www
|
|
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
|
|
INSTDIR= ${PREFIX}/phpldapadmin
|
|
SUBST_VARS= INSTDIR
|
|
|
|
MODULES= lang/php
|
|
RUN_DEPENDS= lang/php/${MODPHP_VERSION},-ldap \
|
|
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>
|