1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/editors/jedit/Makefile
2005-02-25 14:59:06 +00:00

56 lines
1.3 KiB
Makefile

# New ports collection makefile for: jedit
# Date created: 22 June 2000
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= jedit
PORTVERSION= 4.2
CATEGORIES= editors java
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= ${PORTNAME}${PORTVERSION:S/.//g}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
CONFLICTS= jedit-4.3*
USE_JAVA= yes
JAVA_VERSION= 1.3+
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}
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>