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
|
# New ports collection makefile for: phpeclipse
# Date created: 22 Oct 2003
# Whom: rtdean@cytherianage.net
#
# $FreeBSD$
#
PORTNAME= phpeclipse
PORTVERSION= 1.1.1
PORTREVISION= 1
CATEGORIES= java editors devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= phpeclipse
DISTNAME= PHPEclipse${PORTVERSION}-2004-10-24
MAINTAINER= rtdean@cytherianage.net
COMMENT= PHP Eclipse adds PHP support to the Eclipse IDE Framework
RUN_DEPENDS= ${LOCALBASE}/bin/eclipse:${PORTSDIR}/java/eclipse
NO_BUILD= yes
USE_ZIP= yes
WRKSRC= ${WRKDIR}
ECLIPSE= ${PREFIX}/eclipse
do-install:
@${CP} -r ${WRKSRC}/features/* ${ECLIPSE}/features
@${CP} -r ${WRKSRC}/plugins/* ${ECLIPSE}/plugins
post-install:
@${FIND} -s ${WRKSRC}/features -not -type d \
| ${SED} -ne 's,^${WRKSRC},${ECLIPSE:S,^${PREFIX}/,,},p' >> ${TMPPLIST}
@${FIND} -s ${WRKSRC}/plugins -not -type d \
| ${SED} -ne 's,^${WRKSRC},${ECLIPSE:S,^${PREFIX}/,,},p' >> ${TMPPLIST}
@${FIND} -s -d ${WRKSRC}/features/* -type d \
| ${SED} -ne 's,^${WRKSRC},@dirrm ${ECLIPSE:S,^${PREFIX}/,,},p' >> ${TMPPLIST}
@${FIND} -s -d ${WRKSRC}/plugins/* -type d \
| ${SED} -ne 's,^${WRKSRC},@dirrm ${ECLIPSE:S,^${PREFIX}/,,},p' >> ${TMPPLIST}
.include <bsd.port.mk>
|