mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
35 lines
841 B
Makefile
35 lines
841 B
Makefile
# Created by: Nemo Liu <nemoliu@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= flexjson
|
|
PORTVERSION= 1.6
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel java
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/Flexjson%201.0
|
|
DISTNAME= ${PORTNAME}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Lightweight Java library to write JSON
|
|
|
|
USES= zip
|
|
OPTIONS_DEFINE= DOCS
|
|
USE_JAVA= yes
|
|
JAVA_VERSION= 1.6+
|
|
NO_BUILD= yes
|
|
|
|
PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar
|
|
|
|
PORTDOCS= LICENSE-2.0.txt docs
|
|
|
|
do-install:
|
|
${INSTALL_DATA} ${WRKDIR}/${PORTNAME}.jar \
|
|
${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar
|
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}/docs/
|
|
@cd ${WRKDIR}/docs \
|
|
&& ${INSTALL_DATA} example_object_model.jpg ${STAGEDIR}${DOCSDIR}/docs/. \
|
|
&& ${INSTALL_DATA} index.html ${STAGEDIR}${DOCSDIR}/docs/.
|
|
@${INSTALL_DATA} ${WRKDIR}/LICENSE-2.0.txt ${STAGEDIR}${DOCSDIR}/
|
|
|
|
.include <bsd.port.mk>
|