freebsd-ports/java/eclipse-log4e/Makefile
2010-08-23 01:20:48 +00:00

38 lines
1.0 KiB
Makefile

# 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= 4
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= freebsd-eclipse@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}/lib/eclipse
@${CP} -r ${WRKSRC}/plugins ${PREFIX}/lib/eclipse
@${CP} -r ${WRKSRC}/features ${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) \
| ${GREP} -vE 'plugins$$|features$$' \
| ${SED} -ne 's,^,@dirrm lib/eclipse/,p' >> ${TMPPLIST}
.include <bsd.port.mk>