mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
090059a210
The affected ports are the ones with gettext as a run-dependency according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT in Makefile (29 of them). PR: ports/124340 Submitted by: edwin@ Approved by: portmgr (pav)
45 lines
1.2 KiB
Makefile
45 lines
1.2 KiB
Makefile
# New ports collection makefile for: jext
|
|
# Date created: 17 Febrary 2000
|
|
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= jext
|
|
PORTVERSION= 3.0.2
|
|
PORTREVISION= 6
|
|
CATEGORIES= editors java
|
|
MASTER_SITES= SF
|
|
|
|
MAINTAINER= vd@FreeBSD.org
|
|
COMMENT= Powerful 100% pure Java text editor
|
|
|
|
USE_JAVA= yes
|
|
JAVA_VERSION= 1.2+
|
|
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
|
|
|
|
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>
|