freebsd-ports/java/eclipse-quantum/Makefile
Antoine Brodin 364abe76fd Switch some dependencies from a directory name or a file generated by pkg-install
to a package name,  as the former can't be attributed to a package
2015-01-24 15:07:39 +00:00

36 lines
1 KiB
Makefile

# Created by: gldisater@gldis.ca
# $FreeBSD$
PORTNAME= quantum
PORTVERSION= 3.3.0.2
CATEGORIES= java devel
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-plugin/${PORTVERSION}
PKGNAMEPREFIX= eclipse-
DISTNAME= com.quantum.feature_${PORTVERSION}.bin.dist
DIST_SUBDIR= eclipse
MAINTAINER= ports@FreeBSD.org
COMMENT= Database access and SQL editor for the Eclipse IDE
RUN_DEPENDS= eclipse:${PORTSDIR}/java/eclipse \
eclipse-gef>0:${PORTSDIR}/java/eclipse-gef
USES= zip
NO_WRKSUBDIR= yes
NO_BUILD= yes
NO_EXTRACT= yes
USE_JAVA= yes
JAVA_VERSION= 1.6+
PLIST_SUB+= VERSION=${PORTVERSION:S/.2//}
post-extract:
@${RM} ${WRKSRC}/plugins/com.quantum.Quantum_${PORTVERSION}/icons/Thumbs.db
@${RM} ${WRKSRC}/plugins/com.quantum.Quantum_${PORTVERSION}/icons/unused/Thumbs.db
@${RM} -rf ${WRKSRC}/plugins/com.quantum.Quantum_${PORTVERSION}/icons/.xvpics
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/eclipse
@${CP} -r ${WRKSRC}/plugins ${STAGEDIR}${PREFIX}/lib/eclipse
@${CP} -r ${WRKSRC}/features ${STAGEDIR}${PREFIX}/lib/eclipse
.include <bsd.port.mk>