blob: 55f01bba57125ab97e85ec19ddc017dfca3fc5fa (
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
# New ports collection makefile for: subclipse
# Date created: 06 Mar 2005
# Whom: tux@pinguru.net
#
# $FreeBSD$
#
PORTNAME= subclipse
PORTVERSION= 1.2.4
PORTREVISION= 1
CATEGORIES= devel java
MASTER_SITES= http://subclipse.tigris.org/files/documents/906/39522/
DISTNAME= site-${PORTVERSION}
DIST_SUBDIR= eclipse
MAINTAINER= gerrit.beine@gmx.de
COMMENT= A subversion plugin for the Eclipse IDE Framework
RUN_DEPENDS= ${LOCALBASE}/bin/eclipse:${PORTSDIR}/java/eclipse
CONFLICTS= phpeclipse-[0-9]*
WRKSRC= ${WRKDIR}
NO_BUILD= yes
USE_ZIP= yes
ECLIPSE= ${PREFIX}/eclipse
SUBCLIPSE= org.tigris.subversion.subclipse
SUBCLIPSEFILES= features/${SUBCLIPSE}_${PORTVERSION} \
features/${SUBCLIPSE}.mylyn_2.0.0 \
plugins/${SUBCLIPSE}.core_${PORTVERSION} \
plugins/${SUBCLIPSE}.doc_1.2.0 \
plugins/${SUBCLIPSE}.mylyn_2.0.0 \
plugins/${SUBCLIPSE}.ui_${PORTVERSION}
.include <bsd.port.pre.mk>
post-extract:
.for f in ${SUBCLIPSEFILES}
cd ${WRKSRC} \
&& ${MKDIR} ${f} \
&& ${UNZIP_CMD} ${f}.jar -d ${f}
.endfor
do-install:
.for f in ${SUBCLIPSEFILES}
@cd ${WRKSRC} \
&& ${MKDIR} ${ECLIPSE}/${f} \
&& ${FIND} ${f} -type d -exec ${MKDIR} ${ECLIPSE}/{} \; \
&& ${FIND} ${f} -type f -exec ${INSTALL_DATA} {} ${ECLIPSE}/{} \;
.endfor
post-install:
.for f in ${SUBCLIPSEFILES}
@${FIND} ${WRKSRC}/${f} -not -type d \
| ${SED} -ne 's,^${WRKSRC},${ECLIPSE:S,^${PREFIX}/,,},p' >> ${TMPPLIST}
@${FIND} -d ${WRKSRC}/${f} -type d \
| ${SED} -ne 's,^${WRKSRC},@dirrm ${ECLIPSE:S,^${PREFIX}/,,},p' >> ${TMPPLIST}
.endfor
.include <bsd.port.post.mk>
|