aboutsummaryrefslogtreecommitdiffstats
path: root/devel/jline
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2014-06-14 23:43:02 +0800
committervanilla <vanilla@FreeBSD.org>2014-06-14 23:43:02 +0800
commitd897e83c597ffcc0922fc0b9fc85115aed3e0e58 (patch)
treeb262f767761d24eaf86e4ab34b7b4975ef816cec /devel/jline
parentbdee6250bfe718e34b5bd0435ca765a257f9f00d (diff)
downloadfreebsd-ports-gnome-d897e83c597ffcc0922fc0b9fc85115aed3e0e58.tar.gz
freebsd-ports-gnome-d897e83c597ffcc0922fc0b9fc85115aed3e0e58.tar.zst
freebsd-ports-gnome-d897e83c597ffcc0922fc0b9fc85115aed3e0e58.zip
1: Stagiry.
2: pet portlint. Approved by: portmgr@
Diffstat (limited to 'devel/jline')
-rw-r--r--devel/jline/Makefile31
-rw-r--r--devel/jline/files/pkg-message.in (renamed from devel/jline/pkg-message)0
2 files changed, 13 insertions, 18 deletions
diff --git a/devel/jline/Makefile b/devel/jline/Makefile
index b783ff539f22..f6c2fa6f1b8c 100644
--- a/devel/jline/Makefile
+++ b/devel/jline/Makefile
@@ -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} || { \
diff --git a/devel/jline/pkg-message b/devel/jline/files/pkg-message.in
index f18bb7aa2243..f18bb7aa2243 100644
--- a/devel/jline/pkg-message
+++ b/devel/jline/files/pkg-message.in