svn commit: r357790 - in head/devel/jline: . files
Vanilla I. Shu
vanilla at FreeBSD.org
Sat Jun 14 15:43:03 UTC 2014
Author: vanilla
Date: Sat Jun 14 15:43:02 2014
New Revision: 357790
URL: http://svnweb.freebsd.org/changeset/ports/357790
QAT: https://qat.redports.org/buildarchive/r357790/
Log:
1: Stagiry.
2: pet portlint.
Approved by: portmgr@
Added:
head/devel/jline/files/pkg-message.in (contents, props changed)
Deleted:
head/devel/jline/pkg-message
Modified:
head/devel/jline/Makefile
Modified: head/devel/jline/Makefile
==============================================================================
--- head/devel/jline/Makefile Sat Jun 14 15:26:17 2014 (r357789)
+++ head/devel/jline/Makefile Sat Jun 14 15:43:02 2014 (r357790)
@@ -1,13 +1,13 @@
# Created by: Martin Kammerhofer <mkamm at 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 at 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} || { \
Added: head/devel/jline/files/pkg-message.in
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/jline/files/pkg-message.in Sat Jun 14 15:43:02 2014 (r357790)
@@ -0,0 +1,5 @@
+---------------------------------------
+To use JLine add the file
+%%JAVAJARDIR%%/jline.jar
+to your classpath!
+---------------------------------------
More information about the svn-ports-all
mailing list