git: 678b6408b3c0 - main - textproc/xml-commons: Refactor
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 01 Jun 2025 17:11:41 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=678b6408b3c0e800fefe401802af5ade5a63a7db
commit 678b6408b3c0e800fefe401802af5ade5a63a7db
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2025-06-01 15:15:43 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2025-06-01 17:10:01 +0000
textproc/xml-commons: Refactor
- Use DISTNAME and WRKSRC properly instead of EXTRACT_SUFX
---
textproc/xml-commons/Makefile | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/textproc/xml-commons/Makefile b/textproc/xml-commons/Makefile
index f64e5ca24b1f..6f39a39bb310 100644
--- a/textproc/xml-commons/Makefile
+++ b/textproc/xml-commons/Makefile
@@ -3,8 +3,7 @@ DISTVERSION= 1.4.01
PORTREVISION= 1
CATEGORIES= textproc java
MASTER_SITES= APACHE/xerces/${PORTNAME}/binaries
-DISTNAME= ${PORTNAME}-external-${DISTVERSION}
-EXTRACT_SUFX= -bin.tar.gz
+DISTNAME= ${PORTNAME}-external-${DISTVERSION}-bin
MAINTAINER= ports@FreeBSD.org
COMMENT= Provides common XML code for Apache projects
@@ -18,6 +17,8 @@ USES= java
NO_ARCH= yes
NO_BUILD= yes
+WRKSRC= ${WRKDIR}/${PORTNAME}-external-${DISTVERSION}
+
_JARDIR= ${JAVASHAREDIR}/${PORTNAME}
PLIST_FILES= ${_JARDIR}/xml-apis.jar \
${_JARDIR}/xml-apis-ext.jar