aboutsummaryrefslogblamecommitdiff
path: root/java/phpeclipse/Makefile
blob: 4d3f6e70913dc3122f6f03f7af60295619a945b1 (plain) (tree)
1
2
3
4
5
6
7
8
9







                                                               
                     

                                          
                                   
                                                                   
 
                                   

                                                                         

                                                



                                  

                   
                   
 

                                 
           




                                                           
            



                                          
                                                   









                                                             

             
                             

                      
# New ports collection makefile for:	phpeclipse
# Date created:				22 Oct 2003
# Whom:					rtdean@cytherianage.net
#
# $FreeBSD$
#

PORTNAME=	phpeclipse
PORTVERSION=	1.1.8
CATEGORIES=	java editors devel
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}
DISTNAME=	net.sourceforge.${PORTNAME}_${PORTVERSION}.bin.dist

MAINTAINER=	lon_kamikaze@gmx.de
COMMENT=	PHP Eclipse adds PHP support to the Eclipse IDE Framework

RUN_DEPENDS=	eclipse:${PORTSDIR}/java/eclipse

PLIST_SUB=	VER=${PORTVERSION}

PLUGIN_PATHS=	features plugins

NO_BUILD=	yes
USE_ZIP=	yes
NO_WRKSUBDIR=	yes

ECLIPSE=	${PREFIX}/eclipse

do-install:
.for _path in ${PLUGIN_PATHS}
	@${MKDIR} ${ECLIPSE}/${_path}
	@${CP} -r ${WRKSRC}/${_path}/* ${ECLIPSE}/${_path}/
.endfor

plist: build
	@${ECHO} "===>  Rebuilding PLIST."
	@${TOUCH} ${PLIST}
	@${RM} ${PLIST}
.for _path in ${PLUGIN_PATHS}
	@${FIND} ${WRKSRC}/${_path}/ -not -type d \
		| ${SED} "s|${WRKSRC}|eclipse|1" \
		| ${SED} "s|${PORTVERSION}|%%VER%%|g" \
		>> ${PLIST}
	@${FIND} -d ${WRKSRC}/${_path}/ -mindepth 1 -type d \
		| ${SED} "s|${WRKSRC}|@dirrm eclipse|1" \
		| ${SED} "s|${PORTVERSION}|%%VER%%|g" \
		>> ${PLIST}
	@${ECHO} "@dirrmtry eclipse/${_path}" >> ${PLIST}
.endfor
	@${ECHO} "@dirrmtry eclipse" >> ${PLIST}

post-install:
	@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>