1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/java/jlex/Makefile
Edwin Groothuis 090059a210 Bump portrevision due to upgrade of devel/gettext.
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)
2008-06-06 14:17:21 +00:00

49 lines
1.0 KiB
Makefile

# New ports collection makefile for: jlex
# Date created: 1 June 1999
# Whom: jake@checker.org
#
# $FreeBSD$
#
PORTNAME= jlex
PORTVERSION= 1.2.6
PORTREVISION= 3
CATEGORIES= java devel
MASTER_SITES= http://www.cs.princeton.edu/~appel/modern/java/JLex/Archive/1.2.6/
DISTNAME= Main
EXTRACT_SUFX= .java
EXTRACT_ONLY= #
MAINTAINER= ports@FreeBSD.org
COMMENT= A lexical analyzer generator, written for Java, in Java
PLIST_FILES= %%JAVAJARDIR%%/jlex.jar bin/jlex
USE_JAVA= yes
NO_WRKSUBDIR= yes
PKGMESSAGE= ${WRKDIR}/pkg-message
SUB_FILES= jlex.sh
do-extract:
@${RM} -rf ${WRKDIR}
@${MKDIR} ${WRKDIR}
@${CP} ${DISTDIR}/Main.java ${WRKDIR}
do-build:
@cd ${WRKDIR} && \
${JAVAC} -d . Main.java && \
${JAR} cf ${PORTNAME}.jar JLex/*.class
do-install:
@${INSTALL_DATA} ${WRKDIR}/${PORTNAME}.jar ${JAVAJARDIR}
@${INSTALL_SCRIPT} ${WRKDIR}/jlex.sh ${PREFIX}/bin/jlex
@${SED} s:%%JAVAJARDIR%%:${JAVAJARDIR}: < ${PKGDIR}/pkg-message \
> ${PKGMESSAGE}
post-install:
@${ECHO_MSG}
@${CAT} ${PKGMESSAGE}
@${ECHO_MSG}
.include <bsd.port.mk>