42 lines
1.2 KiB
Makefile
42 lines
1.2 KiB
Makefile
# 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>
|