diff options
author | ale <ale@FreeBSD.org> | 2012-01-10 23:23:26 +0800 |
---|---|---|
committer | ale <ale@FreeBSD.org> | 2012-01-10 23:23:26 +0800 |
commit | 671b46dd01de224f8d28f84951da2253611cab78 (patch) | |
tree | 88c082c11e1c1f1ddd2cd3214b6df0a5a3ec86e4 /textproc/xstream/Makefile | |
parent | c1e775b7e2f77e382504be1a746eef3958e8c51f (diff) | |
download | freebsd-ports-gnome-671b46dd01de224f8d28f84951da2253611cab78.tar.gz freebsd-ports-gnome-671b46dd01de224f8d28f84951da2253611cab78.tar.zst freebsd-ports-gnome-671b46dd01de224f8d28f84951da2253611cab78.zip |
Update to 1.4.2 release.
Diffstat (limited to 'textproc/xstream/Makefile')
-rw-r--r-- | textproc/xstream/Makefile | 24 |
1 files changed, 10 insertions, 14 deletions
diff --git a/textproc/xstream/Makefile b/textproc/xstream/Makefile index 55fd53d8ad72..879779082fa5 100644 --- a/textproc/xstream/Makefile +++ b/textproc/xstream/Makefile @@ -6,37 +6,33 @@ # PORTNAME= xstream -PORTVERSION= 1.3.1 +PORTVERSION= 1.4.2 CATEGORIES= textproc java MASTER_SITES= https://nexus.codehaus.org/content/repositories/releases/com/thoughtworks/xstream/xstream-distribution/${PORTVERSION}/ -DISTNAME= ${PORTNAME}-distribution-${PORTVERSION}-src +DISTFILES= ${PORTNAME}-distribution-${PORTVERSION}-bin${EXTRACT_SUFX} MAINTAINER= ale@FreeBSD.org COMMENT= A simple library to serialize Java objects to XML -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/${PORTNAME} +LICENSE= BSD +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + USE_ZIP= yes USE_JAVA= yes -USE_ANT= yes -ALL_TARGET= jar +NO_BUILD= yes PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar -.if !defined(NOPORTDOCS) -OTHERDOCS= LICENSE.txt README.txt -PORTDOCS= javadoc ${OTHERDOCS} -ALL_TARGET+= javadoc -.endif + +PORTDOCS= * do-install: @${ECHO_MSG} -n ">> Installing JAR as ${JAVAJARDIR}/${PORTNAME}.jar..." - @${INSTALL_DATA} ${WRKSRC}/target/${PORTNAME}-SNAPSHOT.jar ${JAVAJARDIR}/${PORTNAME}.jar + @${INSTALL_DATA} ${WRKSRC}/lib/${DISTNAME}.jar ${JAVAJARDIR}/${PORTNAME}.jar @${ECHO_MSG} " [ DONE ]" .if !defined(NOPORTDOCS) @${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}..." @${MKDIR} ${DOCSDIR} - @cd ${WRKSRC}/target/ && ${FIND} javadoc \ - | ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR} > /dev/null 2>&1 - @${INSTALL_DATA} ${OTHERDOCS:S,^,${WRKSRC}/../,} ${DOCSDIR}/ + @${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR}/ @${ECHO_MSG} " [ DONE ]" .endif |