freebsd-ports/editors/jedit/Makefile

53 lines
1.2 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: jedit
# Date created: 22 June 2000
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= jedit
PORTVERSION= 4.2
PORTREVISION= 1
CATEGORIES= editors java
2002-04-18 18:57:19 +02:00
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= ${PORTNAME}${PORTVERSION:S/.//g}install
2002-04-18 18:57:19 +02:00
EXTRACT_SUFX= .jar
2004-04-10 19:26:55 +02:00
EXTRACT_ONLY=
2005-02-25 15:59:06 +01:00
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
2003-03-23 10:48:01 +01:00
MAN1= jedit.1
# The complete PLIST is generated in post-install
PLIST_FILES= bin/jedit
2003-03-23 10:48:01 +01:00
do-install:
@${SED} "s|%%PREFIX%%|${PREFIX}| ; s|%%DATADIR%%|${DATADIR}| ; s|%%WRKDIR%%|${WRKDIR}|" ${FILESDIR}/instscript | \
2002-04-18 18:57:19 +02:00
${SETENV} CLASSPATH=${DISTDIR}/${DISTNAME}.jar \
${JAVA} installer.Install text
2000-07-12 16:34:14 +02:00
@${INSTALL_SCRIPT} ${WRKDIR}/jedit.sh ${PREFIX}/bin/jedit
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>