freebsd-ports/devel/slf4j/Makefile
Jung-uk Kim 004cd9b49b Consistently set USE_JAVA to "yes" to reduce future confusion.
Approved by:	skreuzer (maintainer)
2016-08-24 19:10:53 +00:00

39 lines
905 B
Makefile

# Created by: Steven Kreuzer <skreuzer@FreeBSD.org>
# $FreeBSD$
PORTNAME= slf4j
PORTVERSION= 1.7.21
CATEGORIES= devel java
MASTER_SITES= http://www.slf4j.org/dist/
MAINTAINER= skreuzer@FreeBSD.org
COMMENT= Simple facade or abstraction for various logging frameworks
LICENSE= MIT
USE_JAVA= YES
NO_BUILD= YES
JARFILES= slf4j-migrator.jar \
slf4j-simple.jar \
jcl-over-slf4j.jar \
log4j-over-slf4j.jar \
slf4j-ext.jar \
slf4j-jdk14.jar \
slf4j-nop.jar \
jul-to-slf4j.jar \
slf4j-jcl.jar \
slf4j-log4j12.jar
PLIST_FILES= %%JAVAJARDIR%%/slf4j-api.jar \
${JARFILES:S,^,%%DATADIR%%/,}
do-install:
${INSTALL_DATA} ${WRKSRC}/slf4j-api-${PORTVERSION}.jar ${STAGEDIR}${JAVAJARDIR}/slf4j-api.jar
@${MKDIR} ${STAGEDIR}${DATADIR}
.for jarfile in ${JARFILES}
${INSTALL_DATA} ${WRKSRC}/${jarfile:S,.jar$,-${PORTVERSION}.jar,} ${STAGEDIR}${DATADIR}/${jarfile}
.endfor
.include <bsd.port.mk>