1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/devel/slf4j/Makefile

40 lines
899 B
Makefile

# Created by: Steven Kreuzer <skreuzer@FreeBSD.org>
# $FreeBSD$
PORTNAME= slf4j
PORTVERSION= 1.7.5
CATEGORIES= devel java
MASTER_SITES= http://www.slf4j.org/dist/
MAINTAINER= skreuzer@FreeBSD.org
COMMENT= Simple facade or abstraction for various logging frameworks
USE_JAVA= 1.4+
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%%/,}
PLIST_DIRS= %%DATADIR%%
NO_STAGE= yes
do-install:
@${INSTALL_DATA} ${WRKSRC}/slf4j-api-${PORTVERSION}.jar ${JAVAJARDIR}/slf4j-api.jar
@${MKDIR} ${DATADIR}
.for jarfile in ${JARFILES}
@${INSTALL_DATA} ${WRKSRC}/${jarfile:S,.jar$,-${PORTVERSION}.jar,} ${DATADIR}/${jarfile}
.endfor
.include <bsd.port.mk>