ports/java/apache-commons-logging/Makefile
Atanu Biswas 3ada7ef069 java/apache-commons-logging: Update 1.2 => 1.3.5, take maintainership
Changelogs:
https://commons.apache.org/proper/commons-logging/changes.html

Replace PORTVERSION with DISTVERSION.
Pet portclippy.

PR:	286425
2025-04-29 02:57:12 +03:00

34 lines
795 B
Makefile

PORTNAME= commons-logging
DISTVERSION= 1.3.5
CATEGORIES= java devel
MASTER_SITES= APACHE_COMMONS_BINARIES
PKGNAMEPREFIX= apache-
DISTNAME= ${PORTNAME}-${DISTVERSION}-bin
MAINTAINER= atanubiswas484@gmail.com
COMMENT= Generic logging wrapper library
WWW= https://commons.apache.org/proper/commons-logging/
LICENSE= APACHE20
USES= java
NO_ARCH= yes
NO_BUILD= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}
JARFILE= ${PORTNAME}-${DISTVERSION}.jar
PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar \
%%JAVAJARDIR%%/${JARFILE}
PORTDOCS= *
OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_DATA} ${WRKSRC}/${JARFILE} ${STAGEDIR}${JAVAJARDIR}
${LN} -sf ${JARFILE} ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar
(cd ${WRKSRC}/apidocs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>