1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/devel/flexjson/Makefile
Edwin Groothuis 090059a210 Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@
Approved by:    portmgr (pav)
2008-06-06 14:17:21 +00:00

47 lines
1.1 KiB
Makefile

# Ports collection makefile for: FlexJson
# Date created: 20 Apr 2006
# Whom: Nemo Liu <nemoliu@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= flexjson
PORTVERSION= 1.6
PORTREVISION= 1
CATEGORIES= devel java
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= ${PORTNAME}
MAINTAINER= nemoliu@FreeBSD.org
COMMENT= A lightweight Java library to write JSON
USE_JAVA= yes
JAVA_VERSION= 1.5+
NO_BUILD= yes
USE_ZIP= yes
PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar
.if !defined(NOPORTDOCS)
PORTDOCS= LICENSE-2.0.txt docs
.endif
do-install:
@${ECHO_MSG} -n ">> Installing JAR as ${JAVAJARDIR}/${PORTNAME}.jar..."
@${INSTALL_DATA} ${WRKDIR}/${PORTNAME}.jar \
${JAVAJARDIR}/${PORTNAME}.jar
@${ECHO_MSG} " [DONE]"
.if !defined(NOPORTDOCS)
@${ECHO_MSG} -n ">> Installing documentation..."
@${MKDIR} ${DOCSDIR}/docs/
@cd ${WRKDIR}/docs \
&& ${INSTALL_DATA} example_object_model.jpg ${DOCSDIR}/docs/. \
&& ${INSTALL_DATA} index.html ${DOCSDIR}/docs/.
@${INSTALL_DATA} ${WRKDIR}/LICENSE-2.0.txt ${DOCSDIR}/
@${ECHO_MSG} " [DONE]"
.endif
.include <bsd.port.mk>