1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/java/javahelp/Makefile
Jung-uk Kim 5a52a08234 Clean up after java/openjdk6 and java/openjdk6-jre removal
java/openjdk6 support was removed from Mk/bsd.java.mk (r512662) and
java/openjdk6 and java/openjdk6-jre were removed from the ports tree
(r512663).  Now this patch completely removes remaining stuff from the
ports tree.

PR:			241953 (exp-run)
Reviewed by:		glewis
Approved by:		portmgr (antoine)
Differential Revision:	https://reviews.freebsd.org/D22342
2019-11-26 21:46:12 +00:00

46 lines
1.2 KiB
Makefile

# Created by: rfarmer@predatorlabs.net
# $FreeBSD$
PORTNAME= javahelp
PORTVERSION= 2.0.05.20170719
PORTREVISION= 1
CATEGORIES= java devel
MAINTAINER= makc@FreeBSD.org
COMMENT= Online help support for Java applications
LICENSE= CDDL
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${TOMCAT_jsp}:${TOMCAT_PORT}
USE_GITHUB= yes
GH_ACCOUNT= javaee
GH_TAGNAME= 3ca862d
USE_JAVA= yes
USE_ANT= yes
TOMCAT_VER?= 8.5
TOMCAT_PORT= www/tomcat${TOMCAT_VER:S/.0//:S/.//}
TOMCAT_DIR= ${LOCALBASE}/apache-tomcat-${TOMCAT_VER}
TOMCAT_jsp= ${TOMCAT_DIR}/lib/jsp-api.jar
TOMCAT_servlet= ${TOMCAT_DIR}/lib/servlet-api.jar
MAKE_ARGS= -Djsp-jar=${TOMCAT_jsp} \
-Dfile.reference.jsp-api.jar=${TOMCAT_jsp} \
-Dservlet-jar=${TOMCAT_servlet} \
-Dfile.reference.servlet-api.jar=${TOMCAT_servlet} \
-Dtomcat-zip-present=true
BUILD_WRKSRC= ${WRKSRC}/javahelp_nbproject
SUB_FILES= jhindexer \
jhsearch
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/jhindexer ${WRKDIR}/jhsearch ${STAGEDIR}${PREFIX}/bin/
${INSTALL_DATA} ${BUILD_WRKSRC}/dist/lib/*.jar ${STAGEDIR}${JAVAJARDIR}/
${MKDIR} ${STAGEDIR}${JAVAJARDIR}/dtd
${INSTALL_DATA} ${WRKSRC}/jhMaster/JavaHelp/doc/public-spec/dtd/*_2_0.dtd ${STAGEDIR}${JAVAJARDIR}/dtd/
.include <bsd.port.mk>