mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
090059a210
The affected ports are the ones with gettext as a run-dependency according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT in Makefile (29 of them). PR: ports/124340 Submitted by: edwin@ Approved by: portmgr (pav)
47 lines
1.1 KiB
Makefile
47 lines
1.1 KiB
Makefile
# New ports collection makefile for: eclipse-drjava
|
|
# Date created: 2006-04-14
|
|
# Whom: Nicola Vitale <nivit@email.it>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= drjava
|
|
PORTVERSION= 0.9.8
|
|
PORTREVISION= 2
|
|
CATEGORIES= java devel
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= drjava
|
|
PKGNAMEPREFIX= eclipse-
|
|
DISTNAME= drjava-eclipse-${PORTVERSION}
|
|
|
|
MAINTAINER= nivit@FreeBSD.org
|
|
COMMENT= DrJava plugin for Eclipse
|
|
|
|
RUN_DEPENDS= ${LOCALBASE}/bin/eclipse:${PORTSDIR}/java/eclipse
|
|
|
|
NO_BUILD= yes
|
|
NO_WRKSUBDIR= yes
|
|
USE_JAVA= yes
|
|
USE_ZIP= yes
|
|
|
|
JAVA_VERSION= 1.4+
|
|
JAVA_OS= native
|
|
|
|
DATADIR= ${PREFIX}/eclipse/plugins
|
|
|
|
EPLUGIN_ID= edu.rice.cs.drjava
|
|
EPLUGIN_VER= ${PORTVERSION}
|
|
|
|
FIND_HERE= ${EPLUGIN_ID}_${EPLUGIN_VER}
|
|
FIND_DIRS= -type d
|
|
FIND_DATA= -type f -not \( -name "README" -or -name "LICENSE" \)
|
|
|
|
PLIST_SUB+= EPLUGINID=${EPLUGIN_ID} EPLUGINVER="${PORTVERSION}" \
|
|
PORTVERSION=${PORTVERSION}
|
|
|
|
do-install:
|
|
cd ${WRKDIR} && ${FIND} ${FIND_HERE} ${FIND_DIRS} -exec ${MKDIR} ${DATADIR}/{} \;
|
|
cd ${WRKDIR} && ${FIND} ${FIND_HERE} ${FIND_DATA} -exec ${INSTALL_DATA} {} ${DATADIR}/{} \;
|
|
|
|
.include <bsd.port.mk>
|