Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Jun 2001 00:24:28 +0200 (CEST)
From:      ernst@jollem.com
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        java@freebsd.org, sobomax@freebsd.org
Subject:   ports/28377: New port: java/jlint
Message-ID:  <200106232224.f5NMOS564624@heinz.jollem.com>

next in thread | raw e-mail | index | archive | help

>Number:         28377
>Category:       ports
>Synopsis:       New port: java/jlint
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 23 15:30:02 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Ernst de Haan
>Release:        FreeBSD 4.3-RELEASE i386
>Organization:
Jollem Information Technology
>Environment:
System: FreeBSD heinz.jollem.com 4.3-RELEASE FreeBSD 4.3-RELEASE #5: Mon May 14 16:08:56 CEST 2001 root@heinz.jollem.com:/usr/src/sys/compile/HEINZ i386
>Description:
New port for Jlint, a Java program analyzer and checker.
>How-To-Repeat:
N/A
>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	java
#	java/jlint
#	java/jlint/pkg-comment
#	java/jlint/pkg-descr
#	java/jlint/pkg-plist
#	java/jlint/Makefile
#	java/jlint/distinfo
#	java/jlint/files
#	java/jlint/files/patch-aa
#
echo c - java
mkdir -p java > /dev/null 2>&1
echo c - java/jlint
mkdir -p java/jlint > /dev/null 2>&1
echo x - java/jlint/pkg-comment
sed 's/^X//' >java/jlint/pkg-comment << 'END-of-java/jlint/pkg-comment'
XJava program analyzer and checker
END-of-java/jlint/pkg-comment
echo x - java/jlint/pkg-descr
sed 's/^X//' >java/jlint/pkg-descr << 'END-of-java/jlint/pkg-descr'
XJlint will check your Java code and find bugs, inconsistencies
Xand synchronization problems by doing data flow analysis and
Xbuilding the lock graph.
X
XWWW: http://artho.com/jlint/
END-of-java/jlint/pkg-descr
echo x - java/jlint/pkg-plist
sed 's/^X//' >java/jlint/pkg-plist << 'END-of-java/jlint/pkg-plist'
X%%T%%/jlint
X%%T%%/antic
END-of-java/jlint/pkg-plist
echo x - java/jlint/Makefile
sed 's/^X//' >java/jlint/Makefile << 'END-of-java/jlint/Makefile'
X# New ports collection makefile for:	jlint
X# Date created:		June 2, 2001
X# Whom:			Ernst de Haan <ernst@jollem.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	jlint
XPORTVERSION=	2.0
XCATEGORIES=	java
XMASTER_SITES=	http://artho.com/jlint/ \
X		http://jollem.com/~ernst/
XDISTNAME=	${PORTNAME}
X
XMAINTAINER=	ernst@jollem.com
X
XPLIST_SUB+=	T=${TARGET_DIR:S/^${PREFIX}\///}
XTARGET_DIR?=	${PREFIX}/bin
X
XWRKSRC=		${WRKDIR}/${PORTNAME}
X
X.include <bsd.port.pre.mk>
X
Xdo-install:
X	${MKDIR} ${TARGET_DIR}
X	${CP} ${WRKSRC}/jlint ${TARGET_DIR}
X	${CP} ${WRKSRC}/antic ${TARGET_DIR}
X	${CHMOD} 755 ${TARGET_DIR}/jlint ${TARGET_DIR}/antic
X
X.include <bsd.port.post.mk>
END-of-java/jlint/Makefile
echo x - java/jlint/distinfo
sed 's/^X//' >java/jlint/distinfo << 'END-of-java/jlint/distinfo'
XMD5 (jlint.tar.gz) = 19e2244b1391a60b58b11a300d67bcf3
END-of-java/jlint/distinfo
echo c - java/jlint/files
mkdir -p java/jlint/files > /dev/null 2>&1
echo x - java/jlint/files/patch-aa
sed 's/^X//' >java/jlint/files/patch-aa << 'END-of-java/jlint/files/patch-aa'
X--- functions.hh        2001/03/16 22:11:49     1.3
X+++ functions.hh        2001/05/17 19:36:43
X@@ -5,13 +5,19 @@
X 
X #include "stdio.h"
X #include "types.hh"
X+#include <stdarg.h>
X class utf_string;
X 
X-// cygwin fix:
X #ifndef __VALIST
X #ifdef va_list
X+#define __VALIST va_list
X+#endif
X+// FreeBSD uses typedef in stdarg.h
X+#ifdef __FreeBSD__
X #define __VALIST va_list
X-#else
X+#endif
X+// cygwin fix:
X+#ifndef __VALIST
X #define __VALIST void*
X #endif
X #endif
END-of-java/jlint/files/patch-aa
exit

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200106232224.f5NMOS564624>