2000-05-01 05:12:29 +02:00
|
|
|
# New ports collection makefile for: jext
|
2000-11-01 16:51:11 +01:00
|
|
|
# Date created: 17 Febrary 2000
|
|
|
|
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
|
2000-05-01 05:12:29 +02:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= jext
|
2002-03-05 13:47:42 +01:00
|
|
|
PORTVERSION= 3.0.2
|
2007-05-19 22:36:56 +02:00
|
|
|
PORTREVISION= 4
|
2000-05-01 05:12:29 +02:00
|
|
|
CATEGORIES= editors java
|
2002-03-05 13:47:42 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= jext
|
2000-05-01 05:12:29 +02:00
|
|
|
|
2006-01-20 07:12:05 +01:00
|
|
|
MAINTAINER= vd@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= Powerful 100% pure Java text editor
|
2000-05-01 05:12:29 +02:00
|
|
|
|
2005-08-31 06:15:48 +02:00
|
|
|
USE_JAVA= yes
|
|
|
|
JAVA_VERSION= 1.2+
|
2004-12-30 10:33:04 +01:00
|
|
|
NO_WRKSUBDIR= yes
|
2000-05-01 05:12:29 +02:00
|
|
|
USE_XLIB= yes
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
2005-08-31 06:15:48 +02:00
|
|
|
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
|
2000-05-01 05:12:29 +02:00
|
|
|
|
2005-08-31 06:15:48 +02:00
|
|
|
SUB_FILES= jext.sh
|
2000-05-01 05:12:29 +02:00
|
|
|
|
2005-08-31 06:15:48 +02:00
|
|
|
INSTALL_FILES= Jython-LICENSE LICENSE README History.txt Names.txt bin lib
|
2000-05-01 05:12:29 +02:00
|
|
|
|
|
|
|
do-install:
|
2005-08-31 06:15:48 +02:00
|
|
|
${MKDIR} ${DATADIR}
|
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/jext.sh ${PREFIX}/bin/jext
|
|
|
|
${TAR} -C ${WRKSRC} -c -f - ${INSTALL_FILES} | ${TAR} -C ${DATADIR} --unlink -x -f -
|
|
|
|
CLASSPATH=${DATADIR}/lib/jython.jar ${LOCALBASE}/bin/java org.python.util.jython \
|
|
|
|
${DATADIR}/lib/Lib/compileall.py ${DATADIR}
|
2002-03-05 13:47:42 +01:00
|
|
|
|
|
|
|
post-install:
|
2005-08-31 06:15:48 +02:00
|
|
|
@${FIND} ${DATADIR}/lib/cachedir -type f | ${SED} 's|^${PREFIX}/||' \
|
|
|
|
| ${SORT} >> ${TMPPLIST}
|
|
|
|
@${ECHO_CMD} '@dirrm ${DATADIR:S|${PREFIX}/||}/lib/cachedir/packages' >> ${TMPPLIST}
|
|
|
|
@${ECHO_CMD} '@dirrm ${DATADIR:S|${PREFIX}/||}/lib/cachedir' >> ${TMPPLIST}
|
|
|
|
@${ECHO_CMD} '@dirrm ${DATADIR:S|${PREFIX}/||}/lib' >> ${TMPPLIST}
|
|
|
|
@${ECHO_CMD} '@dirrm ${DATADIR:S|${PREFIX}/||}' >> ${TMPPLIST}
|
2000-05-01 05:12:29 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|