2001-06-25 04:00:58 +00:00
|
|
|
# New ports collection makefile for: jlint
|
|
|
|
# Date created: June 2, 2001
|
2001-11-27 12:22:20 +00:00
|
|
|
# Whom: Ernst de Haan <znerd@FreeBSD.org>
|
2001-06-25 04:00:58 +00:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= jlint
|
2004-11-03 12:39:23 +00:00
|
|
|
PORTVERSION= 3.0
|
2001-06-25 04:00:58 +00:00
|
|
|
CATEGORIES= java
|
2004-11-03 12:39:23 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2001-06-25 04:00:58 +00:00
|
|
|
|
2004-12-03 01:01:33 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-07 06:14:21 +00:00
|
|
|
COMMENT= Java program analyzer and checker
|
2001-06-25 04:00:58 +00:00
|
|
|
|
2004-11-03 12:39:23 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
PORTDOCS= manual.pdf
|
2004-09-18 18:47:46 +00:00
|
|
|
.endif
|
|
|
|
|
2004-11-03 12:39:23 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2003-03-03 21:36:44 +00:00
|
|
|
post-patch:
|
2004-11-03 12:39:23 +00:00
|
|
|
@${REINPLACE_CMD} -e '1s,/bin/bash,/bin/sh,' ${WRKSRC}/jlint.sh
|
2003-03-03 21:36:44 +00:00
|
|
|
|
2001-06-25 04:00:58 +00:00
|
|
|
do-install:
|
2003-03-03 21:36:44 +00:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/jlint ${PREFIX}/bin
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/antic ${PREFIX}/bin
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/jlint.sh ${PREFIX}/bin
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${DOCSDIR}
|
2004-11-03 12:39:23 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/manual.pdf ${DOCSDIR}
|
2003-03-03 21:36:44 +00:00
|
|
|
.endif
|
2001-06-25 04:00:58 +00:00
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|