1: Stagiry.

2: pet portlint.

Approved by:	portmgr@
This commit is contained in:
Vanilla I. Shu 2014-06-14 15:43:02 +00:00
parent 802a06ea12
commit fbe2c333d2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=357790
2 changed files with 13 additions and 18 deletions

View file

@ -1,13 +1,13 @@
# Created by: Martin Kammerhofer <mkamm@gmx.net>
# $FreeBSD$
PORTNAME= jline
PORTVERSION= 0.9.94
CATEGORIES= devel java
MASTER_SITES= SF
PORTNAME= jline
PORTVERSION= 0.9.94
CATEGORIES= devel java
MASTER_SITES= SF
MAINTAINER= mkamm@gmx.net
COMMENT= JLine is a Java library for handling console input
COMMENT= Java library for handling console input
LICENSE= BSD
@ -17,8 +17,8 @@ USE_JAVA= yes
OPTIONS_DEFINE= JLINEPATCH
JLINEPATCH_DESC= Allow ConsoleRunner customized completion
JLINEJAR= ${WRKSRC}/jline-${PORTVERSION}.jar
SUB_FILES= pkg-message
NO_STAGE= yes
.include <bsd.port.options.mk>
# Update jar archive with patched jline.ConsoleRunner class.
@ -31,21 +31,16 @@ do-build:
.endif
do-install:
${INSTALL_DATA} ${JLINEJAR} ${JAVAJARDIR}
${LN} -nfs ${JAVAJARDIR}/jline-${PORTVERSION}.jar \
${JAVAJARDIR}/jline.jar
${INSTALL_DATA} ${JLINEJAR} ${STAGEDIR}${JAVAJARDIR}
${LN} -nfs jline-${PORTVERSION}.jar \
${STAGEDIR}${JAVAJARDIR}/jline.jar
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${CP} -R ${WRKSRC}/apidocs ${WRKSRC}/examples ${DOCSDIR}
${INSTALL_DATA} ${FILESDIR}/JLineCompleter.py ${DOCSDIR}/examples
${INSTALL_DATA} ${FILESDIR}/jython.sh ${DOCSDIR}/examples
${MKDIR} ${STAGEDIR}${DOCSDIR}
${CP} -R ${WRKSRC}/apidocs ${WRKSRC}/examples ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${FILESDIR}/JLineCompleter.py ${STAGEDIR}${DOCSDIR}/examples
${INSTALL_DATA} ${FILESDIR}/jython.sh ${STAGEDIR}${DOCSDIR}/examples
.endif
post-install:
@${SED} -e 's|%%JAVAJARDIR%%|${JAVAJARDIR}|g' -- \
${.CURDIR}/pkg-message >${PKGMESSAGE}
@${CAT} ${PKGMESSAGE}
# Next rule is for maintainer use only: Automatically (re)create the pkg-plist.
plist:
@test -e ${CONFIGURE_COOKIE} || { \