aboutsummaryrefslogtreecommitdiff
path: root/devel/slf4j
diff options
context:
space:
mode:
authorSteven Kreuzer <skreuzer@FreeBSD.org>2009-10-14 20:05:47 +0000
committerSteven Kreuzer <skreuzer@FreeBSD.org>2009-10-14 20:05:47 +0000
commit52de8be6331bbc799f35492e1944b30e3e45b954 (patch)
treea6dbeb63628bf6d057d85d859704a8f30871461f /devel/slf4j
parent11f95e4d3da10b89d0ca39195d7ec7c42055c9a6 (diff)
downloadports-52de8be6331bbc799f35492e1944b30e3e45b954.tar.gz
ports-52de8be6331bbc799f35492e1944b30e3e45b954.zip
Notes
Diffstat (limited to 'devel/slf4j')
-rw-r--r--devel/slf4j/Makefile13
1 files changed, 9 insertions, 4 deletions
diff --git a/devel/slf4j/Makefile b/devel/slf4j/Makefile
index 86ad91630ce9..9f57524e32bf 100644
--- a/devel/slf4j/Makefile
+++ b/devel/slf4j/Makefile
@@ -7,19 +7,19 @@
PORTNAME= slf4j
PORTVERSION= 1.5.8
+PORTREVISION= 1
CATEGORIES= java devel
MASTER_SITES= http://www.slf4j.org/dist/
MAINTAINER= skreuzer@FreeBSD.org
COMMENT= Simple facade or abstraction for various logging frameworks
-USE_JAVA= 1.6+
+USE_JAVA= 1.4+
NO_BUILD= YES
JARFILES= jcl-over-slf4j.jar \
jul-to-slf4j.jar \
log4j-over-slf4j.jar \
- slf4j-api.jar \
slf4j-ext.jar \
slf4j-jcl.jar \
slf4j-jdk14.jar \
@@ -27,11 +27,16 @@ JARFILES= jcl-over-slf4j.jar \
slf4j-migrator.jar \
slf4j-nop.jar \
slf4j-simple.jar
-PLIST_FILES+= ${JARFILES:S,^,%%JAVAJARDIR%%/,}
+
+PLIST_FILES= %%JAVAJARDIR%%/slf4j-api.jar \
+ ${JARFILES:S,^,%%DATADIR%%/,}
+PLIST_DIRS= %%DATADIR%%
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,} ${JAVAJARDIR}/${jarfile}
+ @${INSTALL_DATA} ${WRKSRC}/${jarfile:S,.jar$,-${PORTVERSION}.jar,} ${DATADIR}/${jarfile}
.endfor
.include <bsd.port.mk>