blob: 9f57524e32bf4c858447f9bb623d790c5e1fb54c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# New ports collection makefile for: slf4j
# Date created: 2009-10-13
# Whom: Steven Kreuzer <skreuzer@FreeBSD.org>
#
# $FreeBSD$
#
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.4+
NO_BUILD= YES
JARFILES= jcl-over-slf4j.jar \
jul-to-slf4j.jar \
log4j-over-slf4j.jar \
slf4j-ext.jar \
slf4j-jcl.jar \
slf4j-jdk14.jar \
slf4j-log4j12.jar \
slf4j-migrator.jar \
slf4j-nop.jar \
slf4j-simple.jar
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,} ${DATADIR}/${jarfile}
.endfor
.include <bsd.port.mk>
|