blob: dc4f69ae1967204e545eb0b08d974e3ff2b8f201 (
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
42
43
44
|
PORTNAME= cup
PORTVERSION= 11b.20160615
CATEGORIES= java devel
MASTER_SITES= http://www2.cs.tum.edu/projects/cup/releases/
PKGNAMEPREFIX= java-
DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-bin-${PORTVERSION:S|.|-|}
MAINTAINER= eg@fbsd.lt
COMMENT= LALR parser generator in Java
WWW= http://www2.cs.tum.edu/projects/cup/
LICENSE= SMLNJ
LICENSE_NAME= Standard ML of New Jersey License
LICENSE_TEXT= The text of the license can be obtained from the following URL:\
http://www2.cs.tum.edu/projects/cup/licence.php
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
USE_JAVA= yes
NO_BUILD= yes
SUB_FILES= java-cup.sh
CUP_VERSION= ${PORTVERSION:R}
SUB_LIST= CUP_VERSION=${CUP_VERSION}
PLIST_FILES= bin/java-cup \
${JAVAJARDIR}/${PKGNAMEPREFIX}${PORTNAME}.jar \
${JAVAJARDIR}/${PKGNAMEPREFIX}${PORTNAME}-runtime.jar \
${JAVAJARDIR}/${PKGNAMEPREFIX}${PORTNAME}-${CUP_VERSION}.jar \
${JAVAJARDIR}/${PKGNAMEPREFIX}${PORTNAME}-${CUP_VERSION}-runtime.jar
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/java-cup.sh ${STAGEDIR}${PREFIX}/bin/java-cup
${INSTALL_DATA} ${WRKDIR}/${PKGNAMEPREFIX}${PORTNAME}-${CUP_VERSION}.jar \
${STAGEDIR}${JAVAJARDIR}/${PKGNAMEPREFIX}${PORTNAME}-${CUP_VERSION}.jar
${LN} -s ${PKGNAMEPREFIX}${PORTNAME}-${CUP_VERSION}.jar \
${STAGEDIR}${JAVAJARDIR}/${PKGNAMEPREFIX}${PORTNAME}.jar
${INSTALL_DATA} ${WRKDIR}/${PKGNAMEPREFIX}${PORTNAME}-${CUP_VERSION}-runtime.jar \
${STAGEDIR}${JAVAJARDIR}/${PKGNAMEPREFIX}${PORTNAME}-${CUP_VERSION}-runtime.jar
${LN} -s ${PKGNAMEPREFIX}${PORTNAME}-${CUP_VERSION}-runtime.jar \
${STAGEDIR}${JAVAJARDIR}/${PKGNAMEPREFIX}${PORTNAME}-runtime.jar
.include <bsd.port.mk>
|