blob: 2b75adb4702dda0b8f69a97680dc9f224a0b51de (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# New ports collection makefile for: jedit
# Date created: 22 June 2000
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= jedit
PORTVERSION= 4.0.0
CATEGORIES= editors java
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
_DISTNAME= ${PORTNAME}${PORTVERSION:S/.//g}install
DISTNAME= ${_DISTNAME:S/0install$/install/}
EXTRACT_SUFX= .jar
EXTRACT_ONLY=
MAINTAINER= sobomax@FreeBSD.org
BUILD_DEPENDS= javavm:${PORTSDIR}/java/javavmwrapper \
${LOCALBASE}/etc/javavms:${PORTSDIR}/java/jdk13
RUN_DEPENDS= javavm:${PORTSDIR}/java/javavmwrapper \
${LOCALBASE}/etc/javavms:${PORTSDIR}/java/jdk13
USE_XLIB= yes
NO_BUILD= yes
do-configure:
@${SED} "s|%%PREFIX%%|${PREFIX}|g ; s|%%LOCALBASE%%|${LOCALBASE}|g" \
${FILESDIR}/jedit.sh > ${WRKDIR}/jedit.sh
do-install:
@${SED} "s|%%PREFIX%%|${PREFIX}| ; s|%%WRKDIR%%|${WRKDIR}|" ${FILESDIR}/instscript | \
${SETENV} CLASSPATH=${DISTDIR}/${DISTNAME}.jar \
${LOCALBASE}/bin/javavm installer.Install text
@${INSTALL_SCRIPT} ${WRKDIR}/jedit.sh ${PREFIX}/bin/jedit
.if defined(PARALLEL_PACKAGE_BUILD)
IGNORE= hang
.endif
.include <bsd.port.mk>
|