1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
freebsd-ports/java/phpeclipse/Makefile
Clive Lin 2bb7341fa1 Switch to auto-generated plist.
PR:		ports/74464
Submitted by:	Gerrit Beine tux at pinguru.net
2004-11-29 04:10:59 +00:00

41 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
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>