blob: 8eb7c3b0327e428db38c733235aff2853b176cb3 (
plain)
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
43
44
45
46
47
48
49
50
51
52
53
54
55
|
# New ports collection makefile for: jedit-devel
# Date created: 02 Feb 2004
# Whom: Linh Pham <question+fbsdports@closedsrc.org>
#
# $FreeBSD$
#
PORTNAME= jedit
PORTVERSION= 4.3.p4
CATEGORIES= editors java
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= ${PORTNAME}${PORTVERSION:S/.p/pre/}install
EXTRACT_SUFX= .jar
EXTRACT_ONLY=
MAINTAINER= question+fbsdports@closedsrc.org
COMMENT= Powerful programmer\'s text editor written in Java
RUN_DEPENDS= java:${PORTSDIR}/java/javavmwrapper
USE_JAVA= yes
JAVA_VERSION= 1.4+
CONFLICTS= jedit-4.2*
NO_LATEST_LINK= yes
USE_XLIB= yes
NO_BUILD= yes
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
SUB_FILES= jedit.sh
MAN1= jedit.1
# The complete PLIST is generated in post-install
PLIST_FILES= bin/jedit
do-install:
@${SED} "s|%%PREFIX%%|${PREFIX}| ; s|%%DATADIR%%|${DATADIR}| ; s|%%WRKDIR%%|${WRKDIR}|" ${FILESDIR}/instscript | \
${SETENV} CLASSPATH=${DISTDIR}/${DISTNAME}.jar \
${JAVA} installer.Install text
@${INSTALL_SCRIPT} ${WRKDIR}/jedit.sh ${PREFIX}/bin/jedit
.if defined(PARALLEL_PACKAGE_BUILD)
IGNORE= hang
.endif
post-install:
@${FIND} ${DATADIR} ! -type d | \
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
@${FIND} ${DATADIR} -type d | ${SORT} -r | \
${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
.include <bsd.port.mk>
|