diff options
author | Alex Dupre <ale@FreeBSD.org> | 2006-07-19 19:10:17 +0000 |
---|---|---|
committer | Alex Dupre <ale@FreeBSD.org> | 2006-07-19 19:10:17 +0000 |
commit | ec97c639b24667e8d95419a71a09e2fa59289754 (patch) | |
tree | 7db12ce9a66916df80f41e8af4587c2868e48e64 /textproc/xstream | |
parent | 20928188f105b7820e5348d76a613b1951bf5df0 (diff) | |
download | ports-ec97c639b24667e8d95419a71a09e2fa59289754.tar.gz ports-ec97c639b24667e8d95419a71a09e2fa59289754.zip |
Notes
Diffstat (limited to 'textproc/xstream')
-rw-r--r-- | textproc/xstream/Makefile | 41 | ||||
-rw-r--r-- | textproc/xstream/distinfo | 3 | ||||
-rw-r--r-- | textproc/xstream/pkg-descr | 7 |
3 files changed, 51 insertions, 0 deletions
diff --git a/textproc/xstream/Makefile b/textproc/xstream/Makefile new file mode 100644 index 000000000000..48fd5cae4735 --- /dev/null +++ b/textproc/xstream/Makefile @@ -0,0 +1,41 @@ +# Ports collection makefile for: XStream +# Date created: 19 July 2006 +# Whom: Alex Dupre <ale@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= xstream +PORTVERSION= 1.1.3 +CATEGORIES= textproc java +MASTER_SITES= http://dist.codehaus.org/xstream/distributions/ + +MAINTAINER= ale@FreeBSD.org +COMMENT= A simple library to serialize Java objects to XML + +USE_ZIP= yes +USE_JAVA= yes +USE_ANT= yes +ALL_TARGET= jar + +PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar +.if !defined(NOPORTDOCS) +OTHERDOCS= LICENSE.txt README.txt +PORTDOCS= javadoc ${OTHERDOCS} +ALL_TARGET+= javadoc +.endif + +do-install: + @${ECHO_MSG} -n ">> Installing JAR as ${JAVAJARDIR}/${PORTNAME}.jar..." + @${INSTALL_DATA} ${WRKSRC}/${DISTNAME}.jar ${JAVAJARDIR}/${PORTNAME}.jar + @${ECHO_MSG} " [ DONE ]" +.if !defined(NOPORTDOCS) + @${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}..." + @${MKDIR} ${DOCSDIR} + @cd ${WRKSRC}/ && ${FIND} javadoc \ + | ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR} > /dev/null 2>&1 + @${INSTALL_DATA} ${OTHERDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/ + @${ECHO_MSG} " [ DONE ]" +.endif + +.include <bsd.port.mk> diff --git a/textproc/xstream/distinfo b/textproc/xstream/distinfo new file mode 100644 index 000000000000..42a24a0a4641 --- /dev/null +++ b/textproc/xstream/distinfo @@ -0,0 +1,3 @@ +MD5 (xstream-1.1.3.zip) = 56c04181b6d7940b8d413d8f3e3848d8 +SHA256 (xstream-1.1.3.zip) = 9d6f383d4c9c48a42fc7962626d3449cd7d43935935d3825d2fb83f328f720b1 +SIZE (xstream-1.1.3.zip) = 2207208 diff --git a/textproc/xstream/pkg-descr b/textproc/xstream/pkg-descr new file mode 100644 index 000000000000..f2d24b3e931d --- /dev/null +++ b/textproc/xstream/pkg-descr @@ -0,0 +1,7 @@ +XStream is a simple library to serialize Java objects +to XML and back again. + +WWW: http://xstream.codehaus.org/ + +- Alex Dupre +ale@FreeBSD.org |