mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-14 03:10:47 +00:00
5a52a08234
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
38 lines
1.0 KiB
Makefile
38 lines
1.0 KiB
Makefile
# Created by: Alex Dupre <ale@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= jta
|
|
PORTVERSION= 1.0.1
|
|
CATEGORIES= java devel
|
|
MASTER_SITES= #
|
|
DISTNAME= ${PORTNAME}-spec${PORTVERSION:S/./_/g}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Java Transaction API (JTA)
|
|
|
|
USES= zip
|
|
USE_JAVA= yes
|
|
|
|
NO_BUILD= yes
|
|
NO_CDROM= See the license
|
|
DOWNLOAD_URL= http://download.oracle.com/otndocs/jcp/7286-jta-${PORTVERSION}-spec-oth-JSpec/?submit=Download
|
|
|
|
PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar
|
|
PORTDOCS= ${DISTNAME}.pdf javadocs
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
.include <bsd.port.pre.mk>
|
|
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
|
|
IGNORE= you must manually fetch the distribution from ${DOWNLOAD_URL} and place it in ${DISTDIR} then run make again
|
|
.endif
|
|
|
|
do-install:
|
|
${INSTALL_DATA} ${WRKSRC}/${DISTNAME}.jar \
|
|
${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/docs/${DISTNAME}.pdf ${STAGEDIR}${DOCSDIR}
|
|
(cd ${WRKSRC}/docs && ${COPYTREE_SHARE} javadocs ${STAGEDIR}${DOCSDIR})
|
|
|
|
.include <bsd.port.post.mk>
|