32 lines
868 B
Makefile
32 lines
868 B
Makefile
# $NetBSD: Makefile,v 1.13 2003/08/23 15:13:58 jschauma Exp $
|
|
#
|
|
|
|
DISTNAME= jasmin-1.06
|
|
WRKSRC= ${WRKDIR}/jasmin
|
|
CATEGORIES= lang java
|
|
MASTER_SITES= http://www.cat.nyu.edu/~meyer/jasmin/
|
|
|
|
MAINTAINER= jschauma@NetBSD.org
|
|
HOMEPAGE= http://www.cat.nyu.edu/~meyer/jasmin/
|
|
COMMENT= Java "assembler" interface
|
|
|
|
USE_JAVA= run
|
|
|
|
USE_BUILDLINK2= # defined
|
|
NO_BUILD= # defined
|
|
|
|
post-patch:
|
|
${MV} ${WRKSRC}/bin/jasmin ${WRKSRC}/bin/jasmin.patch && \
|
|
${SED} -e 's|@PREFIX@|${PREFIX}|g' \
|
|
${WRKSRC}/bin/jasmin.patch > ${WRKSRC}/bin/jasmin && \
|
|
${CHMOD} 755 ${WRKSRC}/bin/jasmin
|
|
${CHMOD} -R ugo+rX ${WRKSRC}/
|
|
${RM} ${WRKSRC}/bin/jasmin.patch
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM_DIR} ${PREFIX}/jasmin
|
|
cd ${WRKSRC} && ${PAX} -rw . ${PREFIX}/jasmin
|
|
${LN} -s ${PREFIX}/jasmin/bin/jasmin ${PREFIX}/bin/jasmin
|
|
|
|
.include "../../mk/java-vm.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|