44 lines
1003 B
Makefile
44 lines
1003 B
Makefile
# $OpenBSD: Makefile,v 1.6 2009/03/11 23:21:21 sthen Exp $
|
|
|
|
COMMENT= standards compliant LDAP browser
|
|
|
|
V= 3.2
|
|
DISTNAME= JXv${V}deploy
|
|
PKGNAME= jxplorer-${V}p3
|
|
EXTRACT_SUFX= .zip
|
|
CATEGORIES= databases net
|
|
|
|
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
|
|
|
|
MODULES= java
|
|
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>
|