1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/java/java-cup/Makefile
Herve Quiroz d9c4595f4e - Update to 11.a [1]
- Add 'devel' category [1]
- Update to bsd.java.mk 2.0
- Takeover maintainership [2]
- Use %%JAVAJARDIR%% and PLIST_FILES

PR:		85041 [1] [2]
Submitted by:	Conor McDermottroe <ports@mcdermottroe.com> (new maintainer)
Approved by:	former maintainer
2005-08-29 16:07:18 +00:00

33 lines
840 B
Makefile

# New ports collection makefile for: cup
# Date created: 10 May 1998
# Whom: nordwick@xcf.berkeley.edu
#
# $FreeBSD$
#
PORTNAME= cup
PORTVERSION= 11.a
CATEGORIES= java devel
MASTER_SITES= http://www2.cs.tum.edu/projects/cup/
PKGNAMEPREFIX= java-
DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-v${PORTVERSION:S|.||}-20050516-sources
MAINTAINER= ports@mcdermottroe.com
COMMENT= An LALR parser generator in Java
USE_JAVA= yes
USE_ANT= yes
WRKSRC= ${WRKDIR}/cup-tum
# Silly hack because the naming in CUP is all over the place
DISTJARNAME= ${PKGNAMEPREFIX}${PORTNAME}-10k-TUM
PLIST_FILES= %%JAVAJARDIR%%/${DISTJARNAME}.jar \
%%JAVAJARDIR%%/${DISTJARNAME}-runtime.jar
do-install:
${INSTALL_DATA} ${WRKSRC}/dist/${DISTJARNAME}.jar ${JAVAJARDIR}
${INSTALL_DATA} ${WRKSRC}/dist/${DISTJARNAME}-runtime.jar ${JAVAJARDIR}
.include <bsd.port.mk>