bf43557044
armv7, mark them so. This is part two of a multipart commit to bring armv7 ports to parity with armv6. Approved by: portmgr (tier-2 blanket) Obtained from: lonesome.com -exp run
59 lines
1.9 KiB
Makefile
59 lines
1.9 KiB
Makefile
# Created by: Joshua Goodall <joshua@roughtrade.net>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= spread
|
|
PORTVERSION= 3.17.3
|
|
PORTREVISION= 1
|
|
CATEGORIES= net java
|
|
MASTER_SITES= http://www.cnds.jhu.edu/download/noformdown/
|
|
PKGNAMESUFFIX= -j
|
|
DISTNAME= ${PORTNAME}-src-${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Java client library for the Spread Group Communication System
|
|
|
|
BUILD_DEPENDS= ${ANT}:devel/apache-ant
|
|
|
|
BROKEN_armv6= fails to package: java/docs/*.html: No such file or directory
|
|
BROKEN_armv7= fails to package: java/docs/*.html: No such file or directory
|
|
|
|
USE_JAVA= YES
|
|
JAVA_VERSION= 1.6+
|
|
PKGMESSAGE= ${WRKSRC}/../license.txt
|
|
|
|
ANT?= ${LOCALBASE}/bin/ant
|
|
ANT_PARAMS+= -Dlib.dir=${STAGEDIR}${JAVAJARDIR} -Djavadoc.destdir=docs -Dversion=${PORTVERSION}
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-src-${PORTVERSION}/java
|
|
PLIST_SUB+= PORTNAME="${PORTNAME}" PORTVERSION="${PORTVERSION}"
|
|
|
|
PORTDOCS= *
|
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
|
|
DOCS_VARS= DOCS_ANT_TARGET=javadocs
|
|
|
|
do-build:
|
|
(cd ${WRKSRC} && \
|
|
${SETENV} JAVA_HOME=${JAVA_HOME} ${ANT} jar ${DOCS_ANT_TARGET} ${ANT_PARAMS})
|
|
|
|
do-install:
|
|
(cd ${WRKSRC} && ${ANT} install ${ANT_PARAMS})
|
|
|
|
do-install-EXAMPLES-on:
|
|
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/java
|
|
${INSTALL_DATA} ${WRKSRC}/recThread.java ${STAGEDIR}${EXAMPLESDIR}/java
|
|
${INSTALL_DATA} ${WRKSRC}/Flooder.java ${STAGEDIR}${EXAMPLESDIR}/java
|
|
${INSTALL_DATA} ${WRKSRC}/User.java ${STAGEDIR}${EXAMPLESDIR}/java
|
|
|
|
do-install-DOCS-on:
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}/java
|
|
${INSTALL_DATA} ${WRKSRC}/readme.txt ${STAGEDIR}${DOCSDIR}/java
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}/java/html/spread/class-use
|
|
${INSTALL_DATA} ${WRKSRC}/docs/*.html ${STAGEDIR}${DOCSDIR}/java/html
|
|
${INSTALL_DATA} ${WRKSRC}/docs/stylesheet.css ${STAGEDIR}${DOCSDIR}/java/html
|
|
${INSTALL_DATA} ${WRKSRC}/docs/spread/*.html ${STAGEDIR}${DOCSDIR}/java/html/spread
|
|
${INSTALL_DATA} ${WRKSRC}/docs/spread/class-use/*.html ${STAGEDIR}${DOCSDIR}/java/html/spread/class-use
|
|
|
|
.include <bsd.port.mk>
|