blob: 43a6f405df2dce7de1e4f3f984397657628c93ba (
plain)
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
|
# $NetBSD: Makefile,v 1.9 2006/02/05 23:08:53 joerg Exp $
#
DISTNAME= sablecc-2.16.2
PKGREVISION= 2
CATEGORIES= devel java
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=sablecc/}
MAINTAINER= hag@linnaean.org
HOMEPAGE= http://www.sablecc.org/
COMMENT= Java based Compiler Compiler
USE_JAVA= run
USE_JAVA2= yes
INSTALLATION_DIRS= bin
do-build:
${SED} -e 's,@PREFIX@,${PREFIX},g' \
-e 's,@JAVA_HOME@,${PKG_JAVA_HOME},g' \
< ${FILESDIR}/sablecc > ${WRKDIR}/sablecc
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/sablecc ${PREFIX}/bin
${INSTALL_DATA_DIR} ${PREFIX}/lib/java
${INSTALL_DATA} ${WRKSRC}/lib/sablecc.jar ${PREFIX}/lib/java
.include "../../mk/java-vm.mk"
.include "../../mk/bsd.pkg.mk"
|