1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/lang/linux-j/Makefile
Daichi GOTO 598c6fe34e update lang/linux-j: 501b -> 502a
PR:		55447
Submitted by:	Jean-Sebastien Roy <js@jeannot.org> (maintainer)
2003-08-18 06:00:22 +00:00

48 lines
1.2 KiB
Makefile

# New ports collection makefile for: linux-j
# Date created: 29 September 2001
# Whom: js@jeannot.org
#
# $FreeBSD$
#
PORTNAME= linux-j
PORTVERSION= 502a
CATEGORIES= lang linux
MASTER_SITES= http://www.jsoftware.com/download/
DISTNAME= j${PORTVERSION}_linux
DIST_SUBDIR= ${PORTNAME}/${PORTVERSION}
MAINTAINER= js@jeannot.org
COMMENT= A general purpose programming language
USE_LINUX= yes
USE_JAVA= 1.3+
ONLY_FOR_ARCHS= i386
NO_WRKSUBDIR= yes
MAN1= jconsole.1
do-build:
@${SED} "s:PREFIX:$(PREFIX):g" < ${FILESDIR}/jconsole > ${WRKSRC}/jconsole
@${SED} "s:PREFIX:$(PREFIX):g" < ${FILESDIR}/jw > ${WRKSRC}/jw
do-install:
@${INSTALL_SCRIPT} ${WRKSRC}/jconsole ${PREFIX}/bin
@${INSTALL_SCRIPT} ${WRKSRC}/jw ${PREFIX}/bin
@${INSTALL_MAN} ${WRKSRC}/j502a/system/extras/help/man/${MAN1} ${PREFIX}/man/man1
@${MKDIR} ${PREFIX}/lib/j
@cd ${WRKSRC}/j502a && \
${TAR} -cf - system user profile.ijs readme.txt j.jar | \
${TAR} -xf - -C ${PREFIX}/lib/j
@${INSTALL_PROGRAM} ${WRKSRC}/j502a/jconsole ${PREFIX}/lib/j/jconsole
@brandelf -t Linux ${PREFIX}/lib/j/jconsole
post-install:
.if !defined(BATCH)
@${CAT} ${PKGMESSAGE}
.endif
.include <bsd.port.mk>