2009-03-11 19:21:21 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.6 2009/03/11 23:21:21 sthen Exp $
|
2007-05-31 14:13:15 -04:00
|
|
|
|
2007-09-15 16:34:00 -04:00
|
|
|
COMMENT= standards compliant LDAP browser
|
2007-05-31 14:13:15 -04:00
|
|
|
|
|
|
|
V= 3.2
|
|
|
|
DISTNAME= JXv${V}deploy
|
2009-03-11 19:21:21 -04:00
|
|
|
PKGNAME= jxplorer-${V}p3
|
2007-05-31 14:13:15 -04:00
|
|
|
EXTRACT_SUFX= .zip
|
2007-10-04 17:23:41 -04:00
|
|
|
CATEGORIES= databases net
|
2007-05-31 14:13:15 -04:00
|
|
|
|
|
|
|
HOMEPAGE= http://www.pegacat.com/jxplorer/
|
|
|
|
|
|
|
|
MAINTAINER= Alexandre Anriot <aanriot@openbsd.org>
|
|
|
|
|
|
|
|
# CA Open Source Licence v1.0
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=jxplorer/}
|
|
|
|
WRKDIST= ${WRKDIR}/jxplorer
|
|
|
|
|
2007-11-28 08:08:50 -05:00
|
|
|
MODULES= java
|
2007-05-31 14:13:15 -04:00
|
|
|
MODJAVA_VER= 1.5+
|
|
|
|
JAVA_HOME= ${LOCALBASE}/jdk-1.5.0
|
|
|
|
|
|
|
|
NO_BUILD= Yes
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
|
|
|
do-configure:
|
|
|
|
@cp ${FILESDIR}/jxplorer ${WRKSRC}
|
|
|
|
@perl -pi -e "s,%%JAVA_HOME%%,${JAVA_HOME}," ${WRKSRC}/jxplorer.sh
|
|
|
|
@perl -pi -e "s,%%PREFIX%%,${PREFIX}," \
|
|
|
|
${WRKSRC}/jxplorer \
|
|
|
|
${WRKSRC}/jxplorer.sh
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/jxplorer
|
|
|
|
cp -r ${WRKSRC}/* ${PREFIX}/share/jxplorer
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/jxplorer ${PREFIX}/bin/
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|