Created attachment 257246 [details] update patch
BUILD_DEPENDS= ${JAR_DEPENDS} RUN_DEPENDS= ${JAR_DEPENDS} Where is JAR_DEPENDS defined? Also there are several warnings from portclippy.
Build fine with Makefile: PORTNAME= commons-csv DISTVERSION= 1.13.0 CATEGORIES= textproc java devel MASTER_SITES= APACHE_COMMONS_BINARIES PKGNAMEPREFIX= apache- DISTNAME= ${PORTNAME}-${DISTVERSION}-bin MAINTAINER= mclay@astate.edu COMMENT= Java support for Comma Separated Value format WWW= https://commons.apache.org/proper/commons-csv/ LICENSE= APACHE20 USES= java NO_ARCH= yes NO_BUILD= yes WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION} JARFILE= ${PORTNAME}.jar PLIST_FILES= ${JAVAJARDIR}/${JARFILE} PORTDOCS= * OTHERDOCS= LICENSE.txt NOTICE.txt RELEASE-NOTES.txt OPTIONS_DEFINE= DOCS do-install: @${ECHO_MSG} -n ">> Installing JAR as ${JAVAJARDIR}/${JARFILE}..." ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-${PORTVERSION}.jar ${STAGEDIR}${JAVAJARDIR}/${JARFILE} @${ECHO_MSG} " [ DONE ]" do-install-DOCS-on: @${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}..." @cd ${WRKSRC}/apidocs \ && ${FIND} . -type d -exec ${MKDIR} ${STAGEDIR}${DOCSDIR}/{} \; \ && ${FIND} . -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${DOCSDIR}/{} \; ${INSTALL_DATA} ${OTHERDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/ @${ECHO_MSG} " [ DONE ]" .include <bsd.port.mk>
(In reply to Vladimir Druzenko from comment #2) Also: :%s/PORTVERSION/DISTVERSION/g
Created attachment 257397 [details] revised update patch this should fix all of issues mentioned
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=c73a0f3f26a366a27bffdbe6c75dc45628ca185b commit c73a0f3f26a366a27bffdbe6c75dc45628ca185b Author: Mitchell Clay <mclay@astate.edu> AuthorDate: 2025-02-11 10:07:39 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2025-02-11 10:15:00 +0000 textproc/apache-commons-csv: Update 1.11.0 => 1.13.0 Changelogs: https://commons.apache.org/proper/commons-csv/changes.html#a1.13.0 Improve port: - remove unnecessary lines, - replace PORTVERSION with DISTVERSION, - pet portclippy. PR: 284581 textproc/apache-commons-csv/Makefile | 16 +++++++--------- textproc/apache-commons-csv/distinfo | 6 +++--- 2 files changed, 10 insertions(+), 12 deletions(-)
Thanks.