summaryrefslogtreecommitdiffstats
path: root/java/eclipse-log4e/Makefile
blob: f673e37bc2fe240d633902e3806b29ff1d44c26e (plain)
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
# New ports collection makefile for:	eclipse-log4e
# Date created:				August 30, 2004
# Whom:					sugimura@jp.FreeBSD.org
#
# $FreeBSD$
#

PORTNAME=	log4e
PORTVERSION=	1.1.6
PORTREVISION=	1
CATEGORIES=	java
MASTER_SITES=	http://log4e.jayefem.de/download/eclipse3/
PKGNAMEPREFIX=	eclipse-
DISTNAME=	de.jayefem.${PORTNAME}_free_${PORTVERSION}
EXTRACT_SUFX=	.zip
DIST_SUBDIR=	eclipse

MAINTAINER=	sugimura@jp.FreeBSD.ORG
COMMENT=	Eclipse plugin to use logger easily in Java projects

RUN_DEPENDS=	${LOCALBASE}/bin/eclipse:${PORTSDIR}/java/eclipse

NO_BUILD=	yes
NO_WRKSUBDIR=	yes
USE_ZIP=	yes

do-install:
		@${MKDIR} -p ${PREFIX}/eclipse
		@${CP} -r ${WRKSRC}/plugins ${PREFIX}/eclipse
		@${CP} -r ${WRKSRC}/features ${PREFIX}/eclipse
		@(cd ${WRKSRC}; ${FIND} -s features plugins -not -type d) \
			| ${SED} -ne 's,^,eclipse/,p' >> ${TMPPLIST}
		@(cd ${WRKSRC}; ${FIND} -s -d features plugins -type d) \
			| ${GREP} -vE 'plugins$$|features$$' \
			| ${SED} -ne 's,^,@dirrm eclipse/,p' >> ${TMPPLIST}

.include <bsd.port.mk>
OpenPOWER on IntegriCloud