aboutsummaryrefslogtreecommitdiffstats
path: root/java/eclipse-log4e/Makefile
blob: 7e216d02409f880377e9ccc1fc40dae6ee78d645 (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
# Created by: sugimura@jp.FreeBSD.org
# $FreeBSD$

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

MAINTAINER= ports@FreeBSD.org
COMMENT=    Eclipse plugin to use logger easily in Java projects

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

USES=       zip
NO_BUILD=   yes
NO_WRKSUBDIR=   yes

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

.include <bsd.port.mk>