2012-11-26 11:54:03 +01:00
|
|
|
# Created by: Alex Dupre <ale@FreeBSD.org>
|
2006-07-19 21:10:17 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= xstream
|
2012-11-26 11:54:03 +01:00
|
|
|
PORTVERSION= 1.4.3
|
2006-07-19 21:10:17 +02:00
|
|
|
CATEGORIES= textproc java
|
2011-01-17 17:02:30 +01:00
|
|
|
MASTER_SITES= https://nexus.codehaus.org/content/repositories/releases/com/thoughtworks/xstream/xstream-distribution/${PORTVERSION}/
|
2012-01-10 16:23:26 +01:00
|
|
|
DISTFILES= ${PORTNAME}-distribution-${PORTVERSION}-bin${EXTRACT_SUFX}
|
2006-07-19 21:10:17 +02:00
|
|
|
|
|
|
|
MAINTAINER= ale@FreeBSD.org
|
|
|
|
COMMENT= A simple library to serialize Java objects to XML
|
|
|
|
|
2012-01-10 16:23:26 +01:00
|
|
|
LICENSE= BSD
|
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
|
|
|
|
2006-07-19 21:10:17 +02:00
|
|
|
USE_ZIP= yes
|
|
|
|
USE_JAVA= yes
|
2012-01-10 16:23:26 +01:00
|
|
|
NO_BUILD= yes
|
2006-07-19 21:10:17 +02:00
|
|
|
|
|
|
|
PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar
|
2012-01-10 16:23:26 +01:00
|
|
|
|
|
|
|
PORTDOCS= *
|
2006-07-19 21:10:17 +02:00
|
|
|
|
2013-09-21 01:17:30 +02:00
|
|
|
NO_STAGE= yes
|
2006-07-19 21:10:17 +02:00
|
|
|
do-install:
|
|
|
|
@${ECHO_MSG} -n ">> Installing JAR as ${JAVAJARDIR}/${PORTNAME}.jar..."
|
2012-01-10 16:23:26 +01:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/lib/${DISTNAME}.jar ${JAVAJARDIR}/${PORTNAME}.jar
|
2006-07-19 21:10:17 +02:00
|
|
|
@${ECHO_MSG} " [ DONE ]"
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}..."
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
2012-01-10 16:23:26 +01:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR}/
|
2006-07-19 21:10:17 +02:00
|
|
|
@${ECHO_MSG} " [ DONE ]"
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|