blob: 01e3fe5b1a85fd8eb7e0c2401e1465c720027b90 (
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
|
# Created by: Maxim Sobolev <sobomax@FreeBSD.org>
# $FreeBSD$
PORTNAME= jext
PORTVERSION= 3.0.2
PORTREVISION= 6
CATEGORIES= editors java
MASTER_SITES= SF/${PORTNAME}/OldFiles
MAINTAINER= vd@FreeBSD.org
COMMENT= Powerful 100% pure Java text editor
USE_JAVA= yes
JAVA_VERSION= 1.6+
NO_WRKSUBDIR= yes
USE_XORG= x11
NO_BUILD= yes
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
SUB_FILES= jext.sh
INSTALL_FILES= Jython-LICENSE LICENSE README History.txt Names.txt bin lib
NO_STAGE= yes
do-install:
${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}
post-install:
@${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}
.include <bsd.port.mk>
|